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
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
python: "3.11"
jobs:
post_create_environment:
- pip install poetry==1.8.2
- pip install poetry==2.1.4
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only main,docs

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ All notable changes to this project will be documented in this file.
* The `nidaqmx` distribution package now specifies only a lower bound for `click`.
* Clarify PyPy support and enable unit testing with PyPy.
* Adopt ni-python-styleguide for hand-written code.
* Upgrade to Poetry 2.x and migrate `pyproject.toml` format.

* ### Known Issues
* ...
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
pyproj_file = root_path / "pyproject.toml"
proj_config = toml.loads(pyproj_file.read_text())

project = proj_config["tool"]["poetry"]["name"]
project = proj_config["project"]["name"]
company = "National Instruments"
author = company
copyright = f"2017-%Y, {company}"

# Release is the full version, version is only the major component
release = proj_config["tool"]["poetry"]["version"]
release = proj_config["project"]["version"]
version = ".".join(release.split(".")[:2])
description = proj_config["tool"]["poetry"]["description"]
description = proj_config["project"]["description"]

language = "en"

Expand Down
Loading