Skip to content

Commit

Permalink
Merge branch 'main' into escape
Browse files Browse the repository at this point in the history
  • Loading branch information
eddycharly authored Oct 10, 2023
2 parents e6372d8 + e517099 commit 6fa97a6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ codegen-docs: codegen-api-docs-md codegen-cli-docs codegen-jp-docs ## Generate d
.PHONY: codegen-mkdocs
codegen-mkdocs: codegen-docs ## Generate mkdocs website
@echo Generate mkdocs website... >&2
@pip3 install mkdocs
@pip3 install --upgrade pip
@pip3 install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
@pip install mkdocs
@pip install --upgrade pip
@pip install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
@rm -rf ./website/docs/apis && mkdir -p ./website/docs/apis && cp docs/user/apis/md/* ./website/docs/apis
@rm -rf ./website/docs/commands && mkdir -p ./website/docs/commands && cp docs/user/commands/* ./website/docs/commands
@rm -rf ./website/docs/jp && mkdir -p ./website/docs/jp && cp docs/user/jp/* ./website/docs/jp
Expand Down
25 changes: 13 additions & 12 deletions website/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ theme:
favicon: static/favicon.ico
include_search_page: false
search_index_only: true
features:
- announce.dismiss
- search.suggest
- search.highlight
- search.share
- content.code.copy
- content.action.edit
- navigation.footer
- navigation.instant
- navigation.tracking
- navigation.tabs
palette:
- media: "(prefers-color-scheme: light)" # Light mode
scheme: default
Expand All @@ -37,17 +48,6 @@ theme:
toggle:
icon: material/lightbulb
name: Switch to dark mode
features:
- announce.dismiss
- search.suggest
- search.highlight
- search.share
- content.code.copy
- content.action.edit
- navigation.footer
- navigation.instant
- navigation.tracking
- navigation.tabs

plugins:
- search
Expand All @@ -67,7 +67,8 @@ plugins:
- minify:
minify_html: true
- include-markdown
- tags
- tags:
enabled: true
- blog:
post_url_format: "{slug}"

Expand Down

0 comments on commit 6fa97a6

Please sign in to comment.