Skip to content

Commit

Permalink
docs: fix order of menu sections
Browse files Browse the repository at this point in the history
  • Loading branch information
creativeprojects committed Jul 6, 2024
1 parent febdee8 commit 9fd5375
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build
run: |
cd docs
sed -i "s/canonifyURLs = true/canonifyURLs = false/g" config.toml
sed -i "s/canonifyURLs = true/canonifyURLs = false/g" hugo.toml
export BRANCH_NAME=$(echo ${GITHUB_REF_NAME} | tr / -)
echo "BRANCH_NAME=${BRANCH_NAME}" >> "$GITHUB_ENV"
hugo --minify --baseURL https://${BRANCH_NAME}.resticprofile.pages.dev/
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-doc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: documentation

on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
- name: Build for pages.dev
run: |
cd docs
sed -i "s/canonifyURLs = true/canonifyURLs = false/g" config.toml
sed -i "s/canonifyURLs = true/canonifyURLs = false/g" hugo.toml
hugo --minify --baseURL https://resticprofile.creativeprojects.tech/
- name: Publish to pages.dev
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ generate-config-reference: build
@echo "[*] $@"

META_TITLE="Resticprofile configuration reference" \
META_WEIGHT="50" \
META_WEIGHT="6" \
LAYOUT_NO_HEADLINE="1" \
LAYOUT_HEADINGS_START="#" \
LAYOUT_NOTICE_START="{{% notice note %}}" \
Expand Down
2 changes: 1 addition & 1 deletion docs/config.toml → docs/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ publishdir = "../public/"
home = [ "HTML", "RSS", "SEARCH", "SEARCHPAGE"]

[params]
# Change default color scheme with a variant one.
themeVariant = [ "relearn-dark", "relearn-light" ]
collapsibleMenu = true
externalLinkTarget = "_blank"
ordersectionsby = "weight"

[[menu.shortcuts]]
name = "<i class='fas fa-tags'></i> Tags"
Expand Down

0 comments on commit 9fd5375

Please sign in to comment.