1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix building of docsite

* Fix paths in docsite/Makefile having an additional '..'.
* Ignore generated docsite/rst/modules/*.rst
This commit is contained in:
Maykel Moya 2013-10-15 16:21:19 +02:00
parent e131de4de0
commit cd051c4a0d
2 changed files with 4 additions and 3 deletions

1
docsite/.gitignore vendored
View file

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

View file

@ -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