mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
now generate list of playbook ojbect directives
TODO: needs links/info and conditionals added
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/make
|
||||
SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||
FORMATTER=../hacking/module_formatter.py
|
||||
DUMPER=../hacking/dump_playbook_attributes.py
|
||||
|
||||
all: clean docs
|
||||
|
||||
docs: clean modules staticmin
|
||||
docs: clean directives modules staticmin
|
||||
./build-site.py
|
||||
-(cp *.ico htmlout/)
|
||||
-(cp *.jpg htmlout/)
|
||||
@@ -41,6 +42,9 @@ clean:
|
||||
|
||||
.PHONEY: docs clean
|
||||
|
||||
directives: $(FORMATTER) ../hacking/templates/rst.j2
|
||||
PYTHONPATH=../lib $(DUMPER) --template-dir=../hacking/templates --output-dir=rst/
|
||||
|
||||
modules: $(FORMATTER) ../hacking/templates/rst.j2
|
||||
PYTHONPATH=../lib $(FORMATTER) -t rst --template-dir=../hacking/templates --module-dir=../lib/ansible/modules -o rst/
|
||||
|
||||
|
||||
@@ -20,3 +20,4 @@ and adopt these only if they seem relevant or useful to your environment.
|
||||
playbooks_tags
|
||||
playbooks_vault
|
||||
playbooks_startnstep
|
||||
playbooks_directives
|
||||
|
||||
Reference in New Issue
Block a user