Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-and-preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: /
Expand Down
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docs.meshery.io
drawnew.xyz
6 changes: 3 additions & 3 deletions docs/assets/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -409,4 +409,4 @@
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
}
}
}
4 changes: 2 additions & 2 deletions docs/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Documentation"
relativeURLs = true
canonifyurls = false

# Language settings
# Language setting
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<script>
$(function() {
const $rootSidebarItem = $("#td-section-nav > ul > li").filter(function() {
return $(this).find('> a.tree-root[href="{{ .Site.Home.RelPermalink }}"], > label > a.tree-root[href="{{ .Site.Home.RelPermalink }}"]').length > 0;
return $(this).find('> a.tree-root, > label > a.tree-root').length > 0;
}).first();
const $sidebarSearchForm = $("#td-sidebar-menu form.td-sidebar__search");
const $sidebarSearchInput = $sidebarSearchForm.find('input[name="q"]').first();
Expand Down
Loading