Skip to content

Commit 297a88e

Browse files
committed
Fix issue with fact and operation pages not being generated after uv migration
1 parent b4e02c5 commit 297a88e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/generate_facts_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def build_facts_docs():
1717
this_dir = path.dirname(path.realpath(__file__))
1818
docs_dir = path.abspath(path.join(this_dir, "..", "docs"))
19-
facts_dir = path.join(this_dir, "..", "pyinfra", "facts", "*.py")
19+
facts_dir = path.join(this_dir, "..", "src", "pyinfra", "facts", "*.py")
2020

2121
makedirs(path.join(docs_dir, "facts"), exist_ok=True)
2222

scripts/generate_operations_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def build_operations_docs():
1919
this_dir = path.dirname(path.realpath(__file__))
2020
docs_dir = path.abspath(path.join(this_dir, "..", "docs"))
21-
operations_dir = path.join(this_dir, "..", "pyinfra", "operations", "*.py")
21+
operations_dir = path.join(this_dir, "..", "src", "pyinfra", "operations", "*.py")
2222

2323
makedirs(path.join(docs_dir, "operations"), exist_ok=True)
2424

0 commit comments

Comments
 (0)