Skip to content

Commit

Permalink
mkdocs: update nav at 2024-05-11
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 May 11, 2024
1 parent 4ddb27d commit eb892b4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,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 'index.md' '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
- "All": All.md
- "Articles": Articles.md
- "AssemblyPolicy": AssemblyPolicy.md
- "AVX512": AVX512.md
Expand All @@ -150,6 +151,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 Down Expand Up @@ -181,6 +183,7 @@ nav:
- "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 +244,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

0 comments on commit eb892b4

Please sign in to comment.