Skip to content

Commit

Permalink
mkdocs: update nav at 2024-07-03
Browse files Browse the repository at this point in the history
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
  • Loading branch information
zchee committed Nov 19, 2024
1 parent 0803678 commit 8adbc6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions config/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ google_analytics:
- UA-89201129-1
- https://zchee.github.io/golang-wiki

use_directory_urls: true
repo_name: zchee/golang-wiki
site_url: https://zchee.github.io/golang-wiki
repo_url: https://github.com/zchee/golang-wiki
Expand Down Expand Up @@ -76,7 +77,7 @@ markdown_extensions:
format: !!python/name:pymdownx.superfences.fence_code_format
- name: math
class: arithmatex
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_fenced_format {kwds: {mode: generic, tag: pre}}
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_fenced_format { kwds: { mode: generic, tag: pre } }
- pymdownx.highlight:
extend_pygments_lang:
- name: php-inline
Expand All @@ -92,7 +93,7 @@ markdown_extensions:
custom_inline:
- name: math
class: arithmatex
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_inline_format {kwds: {mode: generic}}
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_inline_format { kwds: { mode: generic } }
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
Expand All @@ -115,7 +116,7 @@ markdown_extensions:
- pymdownx.progressbar:
- pymdownx.arithmatex:
generic: true
block_tag: 'pre'
block_tag: "pre"
- pymdownx.mark:
- pymdownx.striphtml:
- pymdownx.keys:
Expand All @@ -126,10 +127,11 @@ markdown_extensions:
- pymdownx.saneheaders:

# yamllint disable-line
## $ echo ' - "Home": Home.md' | tee nav.md; find . -maxdepth 2 -type f \( -name '*.md' -or -name '*.asciidoc' \) -and -not -wholename '*docs*' -and -not \( -name 'Home.md' -or -name 'nav.md' -or -name '_Footer.md' -or -name '_Sidebar.md' \) | awk -F'/' '{print $2}' | awk -F'.md' '{print ""$1": "$0}' | awk -F':' '{gsub( "-", " ", $1 ) gsub( ".asciidoc", "", $1 )} {print " - \""$1"\":"$2}' | sed 's|.asciidoc|.md|' | sort --ignore-case | tee -a nav.md && cat nav.md | pbcopy && rm -f nav.md
## $ echo ' - "Home": Home.md' | tee nav.md; find . -maxdepth 2 -type f \( -name '*.md' -or -name '*.asciidoc' \) -and -not -wholename '*docs*' -and -not \( -name 'All.md' -or -name 'index.md' -or -name 'Home.md' -or -name 'nav.md' -or -name '_Footer.md' -or -name '_Sidebar.md' \) | awk -F'/' '{print $2}' | awk -F'.md' '{print ""$1": "$0}' | awk -F':' '{gsub( "-", " ", $1 ) gsub( ".asciidoc", "", $1 )} {print " - \""$1"\":"$2}' | sed 's|.asciidoc|.md|' | sort --ignore-case | tee -a nav.md && cat nav.md | pbcopy && rm -f nav.md

nav:
- "Home": Home.md
- "AI": AI.md
- "Articles": Articles.md
- "AssemblyPolicy": AssemblyPolicy.md
- "AVX512": AVX512.md
Expand All @@ -150,6 +152,7 @@ nav:
- "Conferences": Conferences.md
- "Configuring GoLand for WebAssembly": Configuring-GoLand-for-WebAssembly.md
- "Contributing to gopls": Contributing-to-gopls.md
- "Contributing": Contributing.md
- "CoreDumpDebugging": CoreDumpDebugging.md
- "Courses": Courses.md
- "CreatingSubRepository": CreatingSubRepository.md
Expand All @@ -175,12 +178,13 @@ nav:
- "GcToolchainTricks": GcToolchainTricks.md
- "GerritAccess": GerritAccess.md
- "GerritBot": GerritBot.md
- "GithubAccess": GithubAccess.md
- "GitHubAccess": GitHubAccess.md
- "Go 1.10 Release Party": Go-1.10-Release-Party.md
- "Go 1.6 release party": Go-1.6-release-party.md
- "Go 1.8 Release Party": Go-1.8-Release-Party.md
- "Go Community Slides": Go-Community-Slides.md
- "Go Release Cycle": Go-Release-Cycle.md
- "Go123Timer": Go123Timer.md
- "Go2": Go2.md
- "Go2ErrorHandlingFeedback": Go2ErrorHandlingFeedback.md
- "Go2ErrorValuesFeedback": Go2ErrorValuesFeedback.md
Expand Down Expand Up @@ -241,8 +245,8 @@ nav:
- "OpenBSD": OpenBSD.md
- "PackagePublishing": PackagePublishing.md
- "PanicAndRecover": PanicAndRecover.md
- "PerfDashboard": PerfDashboard.md
- "Performance": Performance.md
- "PerformanceMonitoring": PerformanceMonitoring.md
- "PGO Tools": PGO-Tools.md
- "Plan9": Plan9.md
- "Podcasts": Podcasts.md
Expand Down
2 changes: 1 addition & 1 deletion config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git+https://github.com/mkdocs/mkdocs.git
git+https://github.com/squidfunk/mkdocs-material.git
git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.5.28-insiders-4.53.11
git+https://github.com/facelessuser/pymdown-extensions.git
git+https://github.com/pygments/pygments.git
git+https://github.com/byrnereese/mkdocs-minify-plugin.git

0 comments on commit 8adbc6a

Please sign in to comment.