From 2b532080d8e53c7ad39b035e36f9d319bf73a27c Mon Sep 17 00:00:00 2001 From: Araozu Date: Sat, 23 Nov 2024 18:35:32 -0500 Subject: [PATCH] feat: begin to version docs --- public/css/global.css | 2 ++ src/components/Navbar.astro | 4 ++-- src/layouts/NewDocsLayout.astro | 4 +--- src/pages/{ => en/latest}/api/std/Array.mdx | 0 src/pages/{ => en/latest}/api/std/Array/concat.mdx | 0 src/pages/{ => en/latest}/api/std/Array/fold.mdx | 0 src/pages/{ => en/latest}/api/std/Array/map.mdx | 0 src/pages/{ => en/latest}/api/std/index.mdx | 0 src/pages/{ => en/latest}/api/std/print.mdx | 0 src/pages/{ => en/latest}/spec/_wrapper.astro | 4 +++- src/pages/{ => en/latest}/spec/ast/ast.md | 0 src/pages/{ => en/latest}/spec/ast/expression.md | 0 src/pages/{ => en/latest}/spec/index.mdx | 0 src/pages/{ => en/latest}/spec/tokens/comments.mdx | 0 src/pages/{ => en/latest}/spec/tokens/grouping.md | 0 src/pages/{ => en/latest}/spec/tokens/identifier.mdx | 0 src/pages/{ => en/latest}/spec/tokens/newline.md | 0 src/pages/{ => en/latest}/spec/tokens/numbers.mdx | 0 src/pages/{ => en/latest}/spec/tokens/operator.mdx | 0 src/pages/{ => en/latest}/spec/tokens/string.mdx | 0 src/pages/{ => en/latest}/spec/tokens/tokens.md | 0 21 files changed, 8 insertions(+), 6 deletions(-) rename src/pages/{ => en/latest}/api/std/Array.mdx (100%) rename src/pages/{ => en/latest}/api/std/Array/concat.mdx (100%) rename src/pages/{ => en/latest}/api/std/Array/fold.mdx (100%) rename src/pages/{ => en/latest}/api/std/Array/map.mdx (100%) rename src/pages/{ => en/latest}/api/std/index.mdx (100%) rename src/pages/{ => en/latest}/api/std/print.mdx (100%) rename src/pages/{ => en/latest}/spec/_wrapper.astro (83%) rename src/pages/{ => en/latest}/spec/ast/ast.md (100%) rename src/pages/{ => en/latest}/spec/ast/expression.md (100%) rename src/pages/{ => en/latest}/spec/index.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/comments.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/grouping.md (100%) rename src/pages/{ => en/latest}/spec/tokens/identifier.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/newline.md (100%) rename src/pages/{ => en/latest}/spec/tokens/numbers.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/operator.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/string.mdx (100%) rename src/pages/{ => en/latest}/spec/tokens/tokens.md (100%) diff --git a/public/css/global.css b/public/css/global.css index 4f051a3..1c76242 100644 --- a/public/css/global.css +++ b/public/css/global.css @@ -25,6 +25,8 @@ --font-code: "Iosevka Fixed Web", "Iosevka Nerd Font", Iosevka, monospace; } +[x-cloak] { display: none !important; } + :root { --c-bg: #121212; --c-text: rgb(200, 200, 200); diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 4198161..9ff51ea 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -24,13 +24,13 @@ const { showSidebarButton = true, version = "latest" } = Astro.props; Learn