docs: use information from the previous release to create pages ()

This commit is contained in:
Ludovic Fernandez 2024-03-11 20:24:12 +01:00 committed by GitHub
parent 5cb16561d5
commit 85e1dee09a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 5496 additions and 747 deletions
docs/src/docs/contributing

View file

@ -30,8 +30,8 @@ allowing to use `React` components.
## Templating
We use templates like `{.SomeField}` inside our `mdx` files.
There templates are expanded by running `make expand_website_templates` in the root of the repository.
It runs script `scripts/expand_website_templates/main.go` that rewrites `mdx` files with replaced templates.
There templates are expanded by running `make website_expand_templates` in the root of the repository.
It runs script `scripts/website/expand_templates/` that rewrites `mdx` files with replaced templates.
## Hosting
@ -59,5 +59,5 @@ Also, there is no need to refresh a webpage: hot reload updates changed content
To do it run:
```sh
go run ./scripts/expand_website_templates/main.go
go run ./scripts/website/expand_templates/
```