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:
parent
e131de4de0
commit
cd051c4a0d
2 changed files with 4 additions and 3 deletions
1
docsite/.gitignore
vendored
1
docsite/.gitignore
vendored
|
@ -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…
Reference in a new issue