Skip to content

Commit

Permalink
Splunk App: Generate dynamic doc content
Browse files Browse the repository at this point in the history
- Build 'dyn' docs directly during app build now that these are no longer
  stored in the repo.  Previously these were maintained via pre-commit hook,
  but this led to annoying corner cases.
  • Loading branch information
lowell80 committed Oct 5, 2023
1 parent 5ca9bd3 commit fe7723d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions splunk_app/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def make_wheel(step):

def make_docs(step):
log = step.get_logger()

log("Build dynamic doc content")
step.run(sys.executable, "make_dyn_docs.py", cwd=GIT_ROOT)
log("Making html docs via Sphinx")
docs_dir = GIT_ROOT / "docs"
static_docs = APP_FOLDER / "appserver/static/docs"
Expand Down

0 comments on commit fe7723d

Please sign in to comment.