Skip to content

Commit

Permalink
docs: customized mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
standard3 committed Apr 23, 2024
1 parent 9fa08e0 commit 29afec9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install mkdocs mkdocs-material mkdocstrings[python]
- run: pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
- run: mkdocs gh-deploy --force --clean --verbose
21 changes: 21 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,32 @@ site_description: Documentation for MMUShell
repo_name: Memoscopy/mmushell
repo_url: https://github.com/Memoscopy/mmushell

edit_uri: edit/main/docs/

theme:
name: material
features:
- search.suggest
- search.highlight
- search.share
- content.action.edit
- navigation.instant
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.path
- navigation.top
icon:
repo: fontawesome/brands/github

plugins:
- mkdocstrings
- search
- git-revision-date-localized:
enable_creation_date: true
- git-committers:
repository: Memoscopy/mmushell
branch: main

markdown_extensions:
- admonition
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ pyelftools
# documentation
mkdocs
mkdocs-material
mkdocs-git-revision-date-localized-plugin
mkdocs-git-committers-plugin-2
mkdocstrings[python]

0 comments on commit 29afec9

Please sign in to comment.