Skip to content

Commit

Permalink
config: move extra section to bottom of theme section
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 Apr 6, 2022
1 parent a9b8dd9 commit 2d50918
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ site_name: Go Programming Language Wiki
site_description: Personal fork of Go Programming Language Wiki

theme:
language: en
name: material
include_search_page: true
search_index_only: true
Expand Down Expand Up @@ -30,6 +31,11 @@ repo_url: https://github.com/zchee/golang-wiki
docs_dir: ../
site_dir: ../../docs

extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/zchee

extra_css:
- https://github.com/facelessuser/pymdown-extensions/raw/main/docs/theme/assets/pymdownx-extras/extra-2d3bedca0e.css
extra_javascript:
Expand Down Expand Up @@ -119,12 +125,6 @@ plugins:
- minify:
minify_html: true

extra:
revision: 14c2c2dbed9d
social:
- icon: fontawesome/brands/github
link: https://github.com/zchee

# 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

Expand Down

0 comments on commit 2d50918

Please sign in to comment.