add mkdocs-section-index and mkdocs-exclude plugins

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2021-01-30 11:03:30 +01:00
parent 2ee7d24cd9
commit 5d8b166393
5 changed files with 11 additions and 3 deletions

View File

@ -13,4 +13,6 @@ jobs:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-minify-plugin
- run: pip install mkdocs-section-index
- run: pip install mkdocs-exclude
- run: mkdocs gh-deploy --force --remote-branch master

View File

@ -36,7 +36,7 @@ Last but not least, this documentation would not be complete without a
[1]: quickstart.md
[2]: tutorials/software/update.md
[3]: developers/hardware_ref/design.md
[3]: developers/hardware_ref/
[4]: developers/software_ref/disk_mapping/recovery.md
[5]: miscellaneous/glossary.md
[6]: miscellaneous/faq.md

View File

@ -38,8 +38,14 @@ theme:
# Plugins
plugins:
- search
- section-index
- minify:
minify_html: true
- exclude:
glob:
- tutorials/hardware/force_shutdown.md
- tutorials/software/restore_games.md
- tutorials/software/themes.md
# Customization
extra:
@ -144,7 +150,7 @@ nav:
# - 'Force shutdown': 'tutorials/hardware/force_shutdown.md'
- Developer's Guide:
- Hardware reference:
- 'Design' : 'developers/hardware_ref/design.md'
- 'developers/hardware_ref/index.md'
- 'Architecture': 'developers/hardware_ref/architecture.md'
- 'BOM': 'https://htmlpreview.github.io/?https://github.com/FunKey-Project/FunKey-S-Hardware/blob/master/BOM/ibom.html'
- 'CPU': 'developers/hardware_ref/cpu.md'
@ -162,7 +168,7 @@ nav:
- 'UART': 'developers/hardware_ref/uart.md'
- 'Magnetic Switch': 'developers/hardware_ref/magnetic_switch.md'
- Software reference:
- 'Software Architecture': 'developers/software_ref/architecture.md'
- 'developers/software_ref/index.md'
- Boot process:
- 'Introduction': 'developers/software_ref/boot_process/boot_process_intro.md'
- 'Bootloader': 'developers/software_ref/boot_process/bootloader.md'