mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-27 02:52:22 +03:00
Adds note about Algolia Crawler (#1912)
This commit is contained in:
parent
b0e1c6ce99
commit
96b3bd5dbf
@ -427,6 +427,8 @@ Do the non-bold steps when necessary (decide for each step depending on the chan
|
|||||||
- 👉 Publish the draft release when ready.
|
- 👉 Publish the draft release when ready.
|
||||||
- 👉 Merge `release` back into `main` (`git merge release` while on the `main` branch), if needed.
|
- 👉 Merge `release` back into `main` (`git merge release` while on the `main` branch), if needed.
|
||||||
- If there are changes to the docs, [publish the new version](/web#deployment) from the `release` branch.
|
- If there are changes to the docs, [publish the new version](/web#deployment) from the `release` branch.
|
||||||
|
- If you published new docs, rerun the Algolia Crawler to update the search index. If you published a new version of the docs, the search won't work until you do this.
|
||||||
|
- To do this, go to https://crawler.algolia.com/admin and click "Restart crawling" under the "wasp-lang" crawler.
|
||||||
- If there are changes to Mage, [publish the new version](/mage#deployment) from the `release` branch.
|
- If there are changes to Mage, [publish the new version](/mage#deployment) from the `release` branch.
|
||||||
- If there are changes to the [Wasp VSCode extension](https://github.com/wasp-lang/vscode-wasp), publish the new version.
|
- If there are changes to the [Wasp VSCode extension](https://github.com/wasp-lang/vscode-wasp), publish the new version.
|
||||||
- Announce new release in Discord if it makes sense.
|
- Announce new release in Discord if it makes sense.
|
||||||
@ -512,12 +514,12 @@ function foo(param) {
|
|||||||
// bad
|
// bad
|
||||||
const foo = (param) => {
|
const foo = (param) => {
|
||||||
// ...
|
// ...
|
||||||
}
|
};
|
||||||
|
|
||||||
// bad
|
// bad
|
||||||
const foo = function (param) {
|
const foo = function (param) {
|
||||||
// ...
|
// ...
|
||||||
}
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Inline function expression
|
##### Inline function expression
|
||||||
@ -526,10 +528,10 @@ When defining inline function expressions, we prefer the arrow syntax:
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// good
|
// good
|
||||||
const squares = arr.map((x) => x * x)
|
const squares = arr.map((x) => x * x);
|
||||||
|
|
||||||
// bad
|
// bad
|
||||||
const squares = arr.map(function (x) {
|
const squares = arr.map(function (x) {
|
||||||
return x * x
|
return x * x;
|
||||||
})
|
});
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user