Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Feb 9, 2024
1 parent 98a4ce4 commit 94d09a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ move-vx.x.x-tag: ## Moves the vx.x.x tag to the latest commit, useful to publish
```
- Call the newly created command to create a new version selectable from the
website: `make move-vx.x.x-tag`
- Update the navigation bar in `docs/.vitepress/config.mts`, under
`themeConfig.nav` setting, so that the first item is the one of the new
version, and `unstable` is shown last
- Once the new version is published, we need to make sure other versions remain
SEO friendly:
- In `master`: update `add_canonical` to point to the new `vx.x.x`, so that
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
"The official documentation site for Melange, a compiler from OCaml to JavaScript. Explore the features and resources for functional programming with Melange, including the standard libraries APIs, the playground, and extensive documentation about bindings, build system, and the opam package manager.",
base: `/${base}/`,
sitemap: {
hostname: "https://melange.re/unstable/",
hostname: `https://melange.re/${base}/`,
},
markdown: {
languages: [reasonGrammar],
Expand Down

0 comments on commit 94d09a4

Please sign in to comment.