docs: Add mkdocs material theme for documentation (#51)

* docs: Add mkdocs material theme for documentation

* chore: Add custom folder for rendering
This commit is contained in:
Yakhyokhuja Valikhujaev
2025-12-30 19:29:39 +09:00
committed by GitHub
parent cbcd89b167
commit 376e7bc488
35 changed files with 6467 additions and 0 deletions

34
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Deploy docs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material pymdown-extensions
- name: Build docs
run: mkdocs build --strict
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
destination_dir: docs