mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
WIP on refactoring the module formatter code that we use to build the doc site with.
This commit is contained in:
parent
31d0060de8
commit
fe2d00d9d3
6 changed files with 170 additions and 458 deletions
10
Makefile
10
Makefile
|
@ -64,9 +64,6 @@ all: clean python
|
|||
tests:
|
||||
PYTHONPATH=./lib ANSIBLE_LIBRARY=./library $(NOSETESTS) -d -v
|
||||
|
||||
# To force a rebuild of the docs run 'touch VERSION && make docs'
|
||||
docs: $(MANPAGES) modulepages
|
||||
|
||||
authors:
|
||||
sh hacking/authors.sh
|
||||
|
||||
|
@ -172,11 +169,6 @@ deb: debian
|
|||
|
||||
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
||||
|
||||
modulepages:
|
||||
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates # --verbose
|
||||
|
||||
# because this requires Sphinx it is not run as part of every build, those building the RPM and so on can ignore this
|
||||
|
||||
webdocs:
|
||||
webdocs: $(MANPAGES)
|
||||
(cd docsite/; make docs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue