mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-03-29 11:29:51 +00:00
- Added new pages to the documentation navigation, including Docker, Upgrade, and Guides sections. - Updated mkdocs.yml to include the mkdocs-exclude plugin for better content management. - Modified pyproject.toml to include mkdocs-exclude as a dependency. - Adjusted GitHub Actions workflow to install the new dependency. - Removed outdated link from the index.md documentation page.
29 lines
565 B
YAML
29 lines
565 B
YAML
# Build and deploy Material for MkDocs to GitHub Pages
|
|
name: Deploy docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install MkDocs and 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
|