docs: Refine MkDocs configuration and GitHub Actions deployment

- Update site name, description, and documentation structure
- Enhance MkDocs theme features and navigation
- Modify documentation navigation to use nested structure
- Improve GitHub Actions workflow with more robust deployment steps
- Add site directory configuration for GitHub Pages
This commit is contained in:
jango-blockchained
2025-02-05 23:35:20 +01:00
parent 4306a6866f
commit 33defac76c
2 changed files with 28 additions and 18 deletions

View File

@@ -14,13 +14,21 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- run: pip install -r docs/requirements.txt
- name: Deploy Documentation
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
mkdocs gh-deploy --force
- name: Build and Deploy
run: |
mkdocs build --strict
mkdocs gh-deploy --force --clean