Skip to content

Commit

Permalink
Add include_html flag to generation of plugin REST API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
David Davis committed Sep 18, 2019
1 parent 95a0583 commit a7a7f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/docs/docs/Makefile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ clean:
-rm -rf $(BUILDDIR)/*

html:
curl -o _static/api.json "http://localhost:24817/pulp/api/v3/docs/api.json?plugin={{ plugin_snake }}"
curl -o _static/api.json "http://localhost:24817/pulp/api/v3/docs/api.json?plugin={{ plugin_snake }}&include_html=1"
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Expand Down

0 comments on commit a7a7f53

Please sign in to comment.