Added makefile changes for docs
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
e79413acc4
commit
185e730feb
4
Makefile
4
Makefile
|
@ -21,11 +21,11 @@ clean:
|
||||||
|
|
||||||
# generate documentation
|
# generate documentation
|
||||||
docs: develop
|
docs: develop
|
||||||
find doc/en -name '*.txt' -not -path 'doc/en/_build/*' | xargs .env/bin/regendoc ${REGENDOC_ARGS}
|
find doc/en -name '*.rst' -not -path 'doc/en/_build/*' | xargs .env/bin/regendoc ${REGENDOC_ARGS}
|
||||||
cd doc/en; make html
|
cd doc/en; make html
|
||||||
|
|
||||||
# upload documentation
|
# upload documentation
|
||||||
upload-docs: develop
|
upload-docs: develop
|
||||||
find doc/en -name '*.txt' -not -path 'doc/en/_build/*' | xargs .env/bin/regendoc ${REGENDOC_ARGS} --update
|
find doc/en -name '*.rst' -not -path 'doc/en/_build/*' | xargs .env/bin/regendoc ${REGENDOC_ARGS} --update
|
||||||
#cd doc/en; make install
|
#cd doc/en; make install
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ installall: clean install installpdf
|
||||||
@echo "done"
|
@echo "done"
|
||||||
|
|
||||||
regen:
|
regen:
|
||||||
PYTHONDONTWRITEBYTECODE=1 COLUMNS=76 regendoc --update *.txt */*.txt
|
PYTHONDONTWRITEBYTECODE=1 COLUMNS=76 regendoc --update *.rst */*.rst
|
||||||
|
|
||||||
html:
|
html:
|
||||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||||
|
|
Loading…
Reference in New Issue