diff --git a/.github/workflows/build-and-preview-docs.yml b/.github/workflows/build-and-preview-docs.yml index c6a8d834cf64e..a809779f2aaa9 100644 --- a/.github/workflows/build-and-preview-docs.yml +++ b/.github/workflows/build-and-preview-docs.yml @@ -77,6 +77,7 @@ jobs: HUGO_PREVIEW: "true" run: | make docs-build-production BASE_URL="/" + find docs/public -maxdepth 1 -type d -name 'v0.*' -exec rm -rf {} + cat > docs/public/robots.txt <<'EOF' User-agent: * Disallow: / diff --git a/CNAME b/CNAME index 8c9500b345c6d..80b28b398ecf3 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -docs.meshery.io +drawnew.xyz diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss index 1beecc827a01b..12c15b1793962 100644 --- a/docs/assets/scss/_sidebar.scss +++ b/docs/assets/scss/_sidebar.scss @@ -353,8 +353,8 @@ padding-top: 0; } - & #td-section-nav>ul>li:has(>a.tree-root[href="/"]), - & #td-section-nav>ul>li:has(>label>a.tree-root[href="/"]) { + & #td-section-nav>ul>li:has(>a.tree-root), + & #td-section-nav>ul>li:has(>label>a.tree-root) { border: 0; padding: 0; @@ -409,4 +409,4 @@ -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); } -} \ No newline at end of file +} diff --git a/docs/hugo.toml b/docs/hugo.toml index 0cb69539d05c0..9878c29b71bdb 100644 --- a/docs/hugo.toml +++ b/docs/hugo.toml @@ -3,7 +3,7 @@ title = "Documentation" relativeURLs = true canonifyurls = false -# Language settings +# Language setting contentDir = "content/en" defaultContentLanguage = "en" defaultContentLanguageInSubdir = false @@ -21,7 +21,7 @@ ignoreFiles = ["^meetings/.*", "^notes/.*", "^integrations/.*" ] # Will give values to .Lastmod etc. enableGitInfo = true -# Comment out to enable taxonomies in Docsy + # disableKinds = ["taxonomy", "term"] # You can add your own taxonomies diff --git a/docs/layouts/partials/sidebar.html b/docs/layouts/partials/sidebar.html index 74ff88ddff841..ef16ff05fbcc8 100644 --- a/docs/layouts/partials/sidebar.html +++ b/docs/layouts/partials/sidebar.html @@ -95,7 +95,7 @@