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 .buildinfo
objects.inv objects.inv
.doctrees .doctrees
rst/modules/*.rst

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

Loading…
Cancel
Save