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
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
test:
Expand All @@ -18,7 +18,7 @@ jobs:
environment: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0

Expand All @@ -33,7 +33,7 @@ jobs:
run: python3 -m build --sdist --wheel --outdir dist/

- name: upload package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: package
path: dist/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read
Expand All @@ -21,9 +21,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11
- name: Install dependencies
Expand All @@ -34,9 +34,9 @@ jobs:
run: mkdocs build
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: "./site"
deploy:
Expand All @@ -48,4 +48,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
29 changes: 14 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,19 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: actions/setup-python@v5
with:
python-version: 3.11

- name: install requirements
run: python -m pip install nox pre-commit
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: |
3.10
3.14

- name: run pre-commit
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pre-commit run --all --show-diff-on-failure
- name: install requirements
run: python -m pip install nox pre-commit

- name: run tests
run: nox
- name: run pre-commit
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pre-commit run --all --show-diff-on-failure

- name: run tests
run: nox
40 changes: 36 additions & 4 deletions docs/_custom/css/extra.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,44 @@
:root {
--md-primary-fg-color: #6495ED;
[data-md-color-scheme="default"] {
--md-primary-fg-color: #4378dc;
--md-primary-fg-color--light: #4378dc;
--md-primary-fg-color--dark: #4378dc;

/* Code colors – light background */
--md-code-hl-number-color: hsl(11, 80%, 40%);
--md-code-hl-special-color: hsl(340, 75%, 45%);
--md-code-hl-function-color: hsl(271, 55%, 45%);
--md-code-hl-constant-color: hsl(220, 70%, 45%);
--md-code-hl-keyword-color: var(--md-primary-fg-color);
--md-code-hl-string-color: hsl(160, 50%, 30%);
--md-code-hl-name-color: hsl(43, 90%, 32%);
--md-code-hl-operator-color: hsl(0, 0%, 30%);
--md-code-hl-punctuation-color: hsl(271, 45%, 45%);
--md-code-hl-comment-color: hsl(210, 15%, 50%);
--md-code-hl-generic-color: hsl(210, 15%, 45%);
--md-code-hl-variable-color: hsl(24, 70%, 38%);
}

[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-tabs {
[data-md-color-scheme="slate"] {
--md-typeset-a-color: #4378dc;
--md-primary-fg-color: #253758;
--md-primary-fg-color--dark: #253758;

/* Code colors – dark background */
--md-code-hl-number-color: hsl(11, 85%, 68%);
--md-code-hl-special-color: hsl(340, 82%, 72%);
--md-code-hl-function-color: hsl(271, 70%, 78%);
--md-code-hl-constant-color: hsl(220, 80%, 75%);
--md-code-hl-keyword-color: #6fa3f7;
--md-code-hl-string-color: hsl(160, 55%, 60%);
--md-code-hl-name-color: hsl(43, 100%, 65%);
--md-code-hl-operator-color: hsl(0, 0%, 72%);
--md-code-hl-punctuation-color: hsl(271, 60%, 78%);
--md-code-hl-comment-color: hsl(210, 15%, 55%);
--md-code-hl-generic-color: hsl(210, 15%, 62%);
--md-code-hl-variable-color: hsl(24, 80%, 68%);
}


.md-grid {
max-width: 1350px;
}
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
EDITABLE_TESTS = True
PYTHON_VERSIONS = None
if "GITHUB_ACTIONS" in os.environ:
PYTHON_VERSIONS = ["3.9", "3.11"]
PYTHON_VERSIONS = ["3.10", "3.14"]
EDITABLE_TESTS = False


Expand Down
Loading