add last revision date (#1380)
This commit is contained in:
parent
b106121a84
commit
16a94d65d2
|
@ -18,7 +18,7 @@ This site serves as extended documentation for bottom alongside the [`README.md`
|
||||||
|
|
||||||
!!! Tip
|
!!! Tip
|
||||||
|
|
||||||
It is a good idea to first check out the [Support](support/official.md) page to see if your system is officially supported!
|
It's as good idea to first check out the [Support](support/official.md) page to see if your system is officially supported!
|
||||||
|
|
||||||
!!! Tip
|
!!! Tip
|
||||||
|
|
||||||
|
|
|
@ -9,32 +9,42 @@ docs_dir: "content/"
|
||||||
repo_name: ClementTsang/bottom
|
repo_name: ClementTsang/bottom
|
||||||
repo_url: https://github.com/ClementTsang/bottom
|
repo_url: https://github.com/ClementTsang/bottom
|
||||||
edit_uri: "edit/main/docs/content/"
|
edit_uri: "edit/main/docs/content/"
|
||||||
|
copyright: Copyright © 2019 - 2024 Clement Tsang
|
||||||
|
|
||||||
# Theming
|
# Theming
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
features:
|
features:
|
||||||
|
- content.action.edit
|
||||||
- navigation.tabs
|
- navigation.tabs
|
||||||
- navigation.top
|
- navigation.top
|
||||||
- navigation.expand
|
- navigation.expand
|
||||||
- navigation.instant
|
- navigation.instant
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
|
- navigation.footer
|
||||||
- toc.integrate
|
- toc.integrate
|
||||||
- search.suggest
|
- search.suggest
|
||||||
- search.highlight
|
- search.highlight
|
||||||
|
icon:
|
||||||
|
edit: material/pencil
|
||||||
palette:
|
palette:
|
||||||
# Light mode
|
# Palette toggle for automatic mode
|
||||||
- media: "(prefers-color-scheme: light)"
|
- media: "(prefers-color-scheme)"
|
||||||
scheme: default
|
scheme: default
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/weather-night
|
icon: material/brightness-auto
|
||||||
|
name: Switch to light mode
|
||||||
|
# Light mode
|
||||||
|
- media: "(prefers-color-scheme: light)"
|
||||||
|
toggle:
|
||||||
|
icon: material/weather-sunny
|
||||||
name: Switch to dark mode
|
name: Switch to dark mode
|
||||||
# Dark mode
|
# Dark mode
|
||||||
- media: "(prefers-color-scheme: dark)"
|
- media: "(prefers-color-scheme: dark)"
|
||||||
scheme: slate
|
scheme: slate
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/weather-sunny
|
icon: material/weather-night
|
||||||
name: Switch to light mode
|
name: Switch to system preference
|
||||||
custom_dir: "content/overrides"
|
custom_dir: "content/overrides"
|
||||||
extra_css:
|
extra_css:
|
||||||
- stylesheets/extra.css
|
- stylesheets/extra.css
|
||||||
|
@ -115,6 +125,8 @@ plugins:
|
||||||
- search
|
- search
|
||||||
- mike:
|
- mike:
|
||||||
canonical_version: stable
|
canonical_version: stable
|
||||||
|
- git-revision-date-localized:
|
||||||
|
type: date
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
# Versioning
|
# Versioning
|
||||||
|
|
|
@ -2,4 +2,4 @@ mkdocs == 1.5.3
|
||||||
mkdocs-material == 9.5.3
|
mkdocs-material == 9.5.3
|
||||||
mdx_truly_sane_lists == 1.3
|
mdx_truly_sane_lists == 1.3
|
||||||
mike == 2.0.0
|
mike == 2.0.0
|
||||||
|
mkdocs-git-revision-date-localized-plugin == 1.2.2
|
||||||
|
|
|
@ -11,10 +11,12 @@ if [ ! -d $VENV_PATH ]; then
|
||||||
source ./venv/bin/activate;
|
source ./venv/bin/activate;
|
||||||
pip install --upgrade pip;
|
pip install --upgrade pip;
|
||||||
pip install -r requirements.txt;
|
pip install -r requirements.txt;
|
||||||
./venv/bin/mike serve;
|
./venv/bin/mkdocs serve;
|
||||||
else
|
else
|
||||||
echo "venv already found.";
|
echo "venv already found.";
|
||||||
source ./venv/bin/activate;
|
source ./venv/bin/activate;
|
||||||
./venv/bin/mike serve;
|
pip install --upgrade pip;
|
||||||
|
pip install -r requirements.txt;
|
||||||
|
./venv/bin/mkdocs serve;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue