Skip to content

Commit

Permalink
docs building
Browse files Browse the repository at this point in the history
  • Loading branch information
gatoniel committed Oct 21, 2024
1 parent aa3f14a commit 512502c
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 310 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


project = "Merge StarDist Masks"
author = "Niklas Netter"
author = "Niklas Breitenbach-Netter"
copyright = f"{datetime.now().year}, {author}"
extensions = [
"sphinx.ext.autodoc",
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def xdoctest(session: Session) -> None:
session.run("python", "-m", "xdoctest", *args)


@session(name="docs-build", python="3.9")
@session(name="docs-build", python="3.12")
def docs_build(session: Session) -> None:
"""Build the documentation."""
args = session.posargs or ["docs", "docs/_build"]
Expand All @@ -253,7 +253,7 @@ def docs_build(session: Session) -> None:
session.run("sphinx-build", *args)


@session(python="3.9")
@session(python="3.12")
def docs(session: Session) -> None:
"""Build and serve the documentation with live reloading on file changes."""
args = session.posargs or ["--open-browser", "docs", "docs/_build"]
Expand Down
Loading

0 comments on commit 512502c

Please sign in to comment.