Skip to content

Commit e9c9197

Browse files
authoredFeb 5, 2025
ci(release): fix docs build script (#2201)
1 parent 7de09da commit e9c9197

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎distribution/build_docs.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
BIN_PATH = PROJ_ROOT_PATH / "bin"
3030
EXAMPLES_REPO_PATH = PROJ_ROOT_PATH.parent / "modflow6-examples"
3131
DISTRIBUTION_PATH = PROJ_ROOT_PATH / "distribution"
32-
BENCHMARKS_PATH = PROJ_ROOT_PATH / "distribution" / ".benchmarks"
3332
DOCS_PATH = PROJ_ROOT_PATH / "doc"
3433
MF6IO_PATH = DOCS_PATH / "mf6io"
3534
MF6IVAR_PATH = MF6IO_PATH / "mf6ivar"
@@ -78,10 +77,8 @@ def build_benchmark_tex(
7877
):
7978
"""Build LaTeX files for MF6 performance benchmarks to go into the release notes."""
8079

81-
BENCHMARKS_PATH.mkdir(parents=True, exist_ok=True)
82-
benchmarks_path = BENCHMARKS_PATH / "run-time-comparison.md"
83-
8480
# run benchmarks again if no benchmarks found on GitHub or overwrite requested
81+
benchmarks_path = output_path / "run-time-comparison.md"
8582
if force or not benchmarks_path.is_file():
8683
run_benchmarks(
8784
build_path=PROJ_ROOT_PATH / "builddir",

0 commit comments

Comments
 (0)