Skip to content

Commit 1bdf448

Browse files
authored
Merge pull request #103 from stewartfrancis/1.0.3_docs
Run ansible doc extractor when making html for docs
2 parents 77972a3 + 5f9aa32 commit 1bdf448

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@ clean:
2727

2828
rm -rf source/modules
2929
echo "Deleted directory source/modules"
30-
echo "Completed HTML text generation, run 'make ibm_zos_cics'"
3130

32-
ibm_zos_cics:
31+
html:
3332
mkdir build
3433
mkdir -p source/modules
35-
# mv ../plugins/modules/__init__.py ../plugins/modules/__init__.py.skip
34+
echo "Extract docs from modules"
3635
python ansible-doc-extractor-collections.py
37-
echo "Completed restructured text generation, run 'make html'"
38-
# mv ../plugins/modules/__init__.py.skip ../plugins/modules/__init__.py
36+
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
37+
3938
view:
4039
open build/html/index.html

docs/source/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
modules

0 commit comments

Comments
 (0)