Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy MKDocs to GitHub Page

on:
push:
branches:
- master

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material

- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
54 changes: 27 additions & 27 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# name: Lint & Format
name: Lint & Format

# on:
# push:
# branches: [master]
# pull_request:
# branches: [master]
on:
push:
branches: [master]
pull_request:
branches: [master]

# jobs:
# lint-format:
# name: Lint, Format, and Type Check
# runs-on: ubuntu-latest
jobs:
lint-format:
name: Lint, Format, and Type Check
runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v3
steps:
- name: Checkout code
uses: actions/checkout@v3

# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.13'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'

# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install black isort mypy
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort mypy

# - name: Run black
# run: black .
- name: Run black
run: black .

# - name: Run isort
# run: isort .
- name: Run isort
run: isort .

# - name: Run mypy
# run: mypy .
- name: Run mypy
run: mypy .
22 changes: 11 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,17 @@ markdown_extensions:

plugins:
- search
- i18n:
default_language: en
languages:
- locale: en
name: English
default: true
build: true
- locale: fr
name: Français
default: false
build: true
# - i18n:
# default_language: en
# languages:
# - locale: en
# name: English
# default: true
# build: true
# - locale: fr
# name: Français
# default: false
# build: true

# - macros:
# on_error_fail: true
Expand Down
Loading
Loading