diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 421e7dd..b5a6459 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: python-version: "3.x" - name: Install MkDocs and Material - run: pip install mkdocs-material + run: pip install "mkdocs-material>=9.0.0,<10" "mkdocs-exclude>=1.0.0" - name: Deploy to GitHub Pages run: mkdocs gh-deploy --force diff --git a/docs/index.md b/docs/index.md index ec94a8f..f1f6a2f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,7 +26,6 @@ Documentation for the MeshCore bot: setup, configuration, commands, and services | [Repeater Commands](REPEATER_COMMANDS.md) | Repeater management DM commands | | [Feed Management](FEEDS.md) | RSS/REST feeds and posting to channels | | [Web Viewer](WEB_VIEWER.md) | Web-based data viewer and API | -| [Documentation site setup](DOCS_SITE.md) | How to build and deploy this site | ## Service Plugins diff --git a/mkdocs.yml b/mkdocs.yml index d571c76..bedcce9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -33,6 +33,9 @@ theme: plugins: - search + - exclude: + glob: + - local/** markdown_extensions: - pymdownx.superfences @@ -49,10 +52,14 @@ nav: - Getting Started: getting-started.md - FAQ: faq.md - Command Reference: COMMANDS.md + - Docker: DOCKER.md - Configuration: - Overview: configuration.md - Path Command: PATH_COMMAND_CONFIG.md + - Upgrade: UPGRADE.md - Web Viewer: WEB_VIEWER.md + - Guides: + - Repeater Commands: REPEATER_COMMANDS.md - Service Plugins: - Overview: service-plugins.md - Discord Bridge: DISCORD_BRIDGE.md diff --git a/pyproject.toml b/pyproject.toml index 81a7521..75af6b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = [ ] [project.optional-dependencies] -docs = ["mkdocs-material>=9.0.0"] +docs = ["mkdocs-material>=9.0.0", "mkdocs-exclude>=1.0.0"] test = ["pytest>=7.0", "pytest-asyncio>=0.21"] [project.scripts]