From 94d09a418601f27a0f194eb1b3e52723c9f5a909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ch=C3=A1varri?= Date: Fri, 9 Feb 2024 11:19:31 +0100 Subject: [PATCH] small fixes --- README.md | 3 +++ docs/.vitepress/config.mts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1932cbb1b..218352812 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index c3a0de268..e14351958 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -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],