Browse Source

Fix typo in URL. Build JSDoc and Sphinx docs together

JC Brand 6 years ago
parent
commit
601ee673fa
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Makefile
  2. 1 1
      docs/source/jsdoc_intro.md

+ 2 - 2
Makefile

@@ -230,13 +230,13 @@ check: eslint
 ## Documentation
 ## Documentation
 
 
 .PHONY: html
 .PHONY: html
-html:
+html: apidoc
 	rm -rf $(BUILDDIR)/html
 	rm -rf $(BUILDDIR)/html
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	make apidoc
 	make apidoc
 	@echo
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 
 
-ePHONY: apidoc
+PHONY: apidoc
 apidoc:
 apidoc:
 	$(JSDOC) --readme docs/source/jsdoc_intro.md -c docs/source/conf.json -d docs/html/api src/*.js
 	$(JSDOC) --readme docs/source/jsdoc_intro.md -c docs/source/conf.json -d docs/html/api src/*.js

+ 1 - 1
docs/source/jsdoc_intro.md

@@ -4,7 +4,7 @@ Welcome to the new Converse API documentation, generated with
 [JSDoc](http://usejsdoc.org/).
 [JSDoc](http://usejsdoc.org/).
 
 
 The old (increasingly out of date and incomplete) API documentation is
 The old (increasingly out of date and incomplete) API documentation is
-currently still [available here](/docs/htmls/developer_api.html).
+currently still [available here](/docs/html/developer_api.html).
 
 
 ## The public and private API
 ## The public and private API