Skip to content

Commit

Permalink
Fix #522 add --module-first to sphinx.prepare (#523)
Browse files Browse the repository at this point in the history
git ignore _build_html/
  • Loading branch information
robnagler authored Sep 13, 2024
1 parent 6d23eb9 commit c997fc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ coverage.xml

# Sphinx documentation
docs/_build/
_build_html/

# PyBuilder
target/
1 change: 1 addition & 0 deletions pykern/package_data/projex/dot-gitignore.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ coverage.xml

# Sphinx documentation
docs/_build/
_build_html/

# PyBuilder
target/
2 changes: 1 addition & 1 deletion pykern/pkcli/sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _year(rv):
v = _parse_metadata()
pykern.pkio.write_text(d.join("conf.py"), _conf(v))
pykern.pksubprocess.check_call_with_signals(
("sphinx-apidoc", "--force", "-o", d.basename, v.name),
("sphinx-apidoc", "--force", "--module-first", "-o", d.basename, v.name),
)


Expand Down

0 comments on commit c997fc4

Please sign in to comment.