Skip to content

Commit 8845fa9

Browse files
committed
Switch PROJECT_CONFIG.doc with PROJECT_CONFIG.documentation_path
1 parent 0ed2830 commit 8845fa9

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

exasol/toolbox/nox/_release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def prepare_release(session: Session) -> None:
127127
_ = _update_project_version(session, new_version)
128128

129129
changelogs = Changelogs(
130-
changes_path=PROJECT_CONFIG.doc / "changes",
130+
changes_path=PROJECT_CONFIG.documentation_path / "changes",
131131
root_path=PROJECT_CONFIG.root_path,
132132
version=new_version,
133133
)

noxconfig.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class Config(BaseConfig):
5252
"""Project specific configuration used by nox infrastructure"""
5353

5454
root: Path = Path(__file__).parent
55-
doc: Path = Path(__file__).parent / "doc"
5655
source: Path = Path("exasol/toolbox")
5756
importlinter: Path = Path(__file__).parent / ".import_linter_config"
5857
version_file: Path = Path(__file__).parent / "exasol" / "toolbox" / "version.py"

test/unit/documentation_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def config(index, file, tmp_path):
4242
test_doc = tmp_path / "doc"
4343
test_doc.mkdir()
4444
(test_doc / "_static").mkdir()
45-
shutil.copyfile(PROJECT_CONFIG.doc / "conf.py", test_doc / "conf.py")
45+
shutil.copyfile(PROJECT_CONFIG.documentation_path / "conf.py", test_doc / "conf.py")
4646
rst_index = test_doc / "index.rst"
4747
rst_file1 = test_doc / "file.rst"
4848
rst_index.touch()

0 commit comments

Comments
 (0)