Fix building of docsite

* Fix paths in docsite/Makefile having an additional '..'.
* Ignore generated docsite/rst/modules/*.rst
pull/4519/head
Maykel Moya 11 years ago
parent e131de4de0
commit cd051c4a0d

@ -11,3 +11,4 @@ ansible*.xml
.buildinfo
objects.inv
.doctrees
rst/modules/*.rst

@ -1,6 +1,6 @@
#!/usr/bin/make
SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
FORMATTER=../../hacking/module_formatter.py
FORMATTER=../hacking/module_formatter.py
all: clean docs
@ -26,7 +26,7 @@ clean:
.PHONEY: docs clean
modules: $(FORMATTER) ../../hacking/templates/rst.j2
PYTHONPATH=../../lib $(FORMATTER) -t rst --template-dir=../../hacking/templates --module-dir=../../library -o rst/modules/ --includes-file=rst/modules/_list.rst
modules: $(FORMATTER) ../hacking/templates/rst.j2
PYTHONPATH=../lib $(FORMATTER) -t rst --template-dir=../hacking/templates --module-dir=../library -o rst/modules/ --includes-file=rst/modules/_list.rst

Loading…
Cancel
Save