Skip to content

Commit

Permalink
Support revision viewing
Browse files Browse the repository at this point in the history
  • Loading branch information
CloneWith committed May 27, 2024
1 parent 8c6eced commit 7326708
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pagebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material pillow cairosvg Pygments
- run: pip install mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin
- run: mkdocs gh-deploy --force
18 changes: 16 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ theme:
custom_dir: overrides
icon:
logo: material/shield-check
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
tag:
default: material/tag-text
credit: material/trophy-award
Expand All @@ -27,6 +30,8 @@ theme:
- search.suggest
- search.highlight
- search.share
- content.action.edit
- content.action.view
- content.code.copy
- content.code.annotate
palette:
Expand All @@ -39,15 +44,21 @@ theme:
name: Switch to dark mode
# Palette toggle for dark mode
- scheme:
primary: teal
accent: teal
toggle:
icon: material/brightness-4
name: Switch to light mode

plugins:
- tags
- search
- git-revision-date-localized:
enable_creation_date: true
enabled: !ENV [CI, false]
- git-committers:
repository: CloneWith/tldr-privacy
enabled: !ENV [CI, false]
branch: main
- git-authors

markdown_extensions:
- footnotes
Expand Down Expand Up @@ -95,5 +106,8 @@ extra:
- icon: simple/bilibili
link: https://space.bilibili.com/2046252132

repo_url: https://github.com/CloneWith/tldr-privacy
edit_uri: edit/main/docs/

extra_css:
- stylesheets/extra.css

0 comments on commit 7326708

Please sign in to comment.