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 python-version: 3.x
- run: pip install mkdocs-material - run: pip install mkdocs-material
- run: pip install mkdocs-minify-plugin - 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 - 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 [1]: quickstart.md
[2]: tutorials/software/update.md [2]: tutorials/software/update.md
[3]: developers/hardware_ref/design.md [3]: developers/hardware_ref/
[4]: developers/software_ref/disk_mapping/recovery.md [4]: developers/software_ref/disk_mapping/recovery.md
[5]: miscellaneous/glossary.md [5]: miscellaneous/glossary.md
[6]: miscellaneous/faq.md [6]: miscellaneous/faq.md

View File

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