Skip to content

Commit

Permalink
build: fix docs-build nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
dvp2015 committed Sep 8, 2022
1 parent d7b1c77 commit ace2f81
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

# -- Project information -----------------------------------------------------

project = "mckit-nuclides"
copyright = "2022, dvp"
author = "dvp"
project = "xpypact"
copyright = "2022, dvp2015"
author = "dvp2015"

# The full version, including alpha/beta/rc tags
release = "0.1.0"
Expand Down
9 changes: 6 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.. mckit-nuclides documentation master file, created by
.. xpypact documentation master file, created by
sphinx-quickstart on Sun Feb 13 00:58:06 2022.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to mckit-nuclides's documentation!
==========================================
Welcome to xpypact documentation!
====================================

.. note::
This is under development.

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def xdoctest(s: Session) -> None:
s.run("python", "-m", "xdoctest", package, *args)


@session(name="docs-build", python="3.9")
@session(name="docs-build", python="3.10")
def docs_build(s: Session) -> None:
"""Build the documentation."""
args = s.posargs or ["docs/source", "docs/_build"]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ tomli = ">=2.0.1"
optional = true

[tool.poetry.group.profile.dependencies]
# TODO dvp: apply yappi: https://coderzcolumn.com/tutorials/python/yappi-yet-another-python-profiler
yappi = ">=1.3.2"

[tool.poetry.group.safety.dependencies]
Expand Down

0 comments on commit ace2f81

Please sign in to comment.