Skip to content

Commit 96b2db9

Browse files
authored
Merge pull request #44 from sgbaird/layout
include --private packages in autodocs
2 parents c9ad874 + 8da9569 commit 96b2db9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
try:
4646
import sphinx
4747

48-
cmd_line = f"sphinx-apidoc --implicit-namespaces -f -o {output_dir} {module_dir}"
48+
# https://stackoverflow.com/questions/71343831/sphinx-ignores-py-file-starting-with-a-in-filename
49+
cmd_line = (
50+
f"sphinx-apidoc --implicit-namespaces --private -f -o {output_dir} {module_dir}"
51+
)
4952

5053
args = cmd_line.split(" ")
5154
if tuple(sphinx.__version__.split(".")) >= ("1", "7"):

0 commit comments

Comments
 (0)