Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Jul 31, 2024
1 parent 57a272e commit 1c95ef0
Show file tree
Hide file tree
Showing 64 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
python-version: "3.11"
- run: sudo apt-get install pandoc
- uses: yezz123/setup-uv@v4
- run: nox -s docs
- run: nox -s doc
- uses: actions/upload-pages-artifact@v3
with:
path: './build/html'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ coverage.xml

tests/fig/*.svg

docs/index.rst
doc/index.rst

testcase

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ def coverage(session: nox.Session) -> None:

# 3.11 needed by Cython notebook
@nox.session(python="3.11", reuse_venv=True)
def docs(session: nox.Session) -> None:
def doc(session: nox.Session) -> None:
"""Build html documentation."""
session.install("-e.[test,docs]")
session.install("-e.[test,doc]")

# link check
session.run(
"sphinx-build",
"-n", # nitpicky mode
"-T", # full tracebacks
"-b=html",
"docs",
"doc",
"build/html",
)

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test = [
"pydantic",
"annotated_types",
]
docs = [
doc = [
"sphinx-rtd-theme", # installs correct sphinx as well
"nbsphinx",
"nbconvert",
Expand Down Expand Up @@ -108,7 +108,7 @@ lint.pydocstyle.convention = "numpy"
"test_*.py" = ["B", "D"]
".ci/*.py" = ["D"]
"bench/*.py" = ["D"]
"docs/*.py" = ["D"]
"doc/*.py" = ["D"]

[tool.mypy]
ignore_missing_imports = true
Expand Down

0 comments on commit 1c95ef0

Please sign in to comment.