mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
added tox.ini, autobuild target for docs makefile
This commit is contained in:
parent
7c7bb58184
commit
f8825dd92c
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ build/
|
||||
__pycache__/
|
||||
*egg-info/
|
||||
dist/
|
||||
.tox
|
||||
|
||||
# Cosim
|
||||
*.o
|
||||
|
6
Makefile
6
Makefile
@ -4,6 +4,12 @@ install:
|
||||
localinstall:
|
||||
python setup.py install --home=$(HOME)
|
||||
|
||||
docs:
|
||||
tox -e docs html
|
||||
|
||||
livedocs:
|
||||
tox -e docs livehtml
|
||||
|
||||
release:
|
||||
- rm MANIFEST
|
||||
- rm CHANGELOG.txt
|
||||
|
@ -19,6 +19,7 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||
help:
|
||||
@echo "Please use \`make <target>' where <target> is one of"
|
||||
@echo " html to make standalone HTML files"
|
||||
@echo " livehtml to make continuously updating standalone HTML files"
|
||||
@echo " web to make files usable by Sphinx.web"
|
||||
@echo " htmlhelp to make HTML files and a HTML help project"
|
||||
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
||||
@ -41,6 +42,10 @@ html:
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in build/html."
|
||||
|
||||
livehtml:
|
||||
mkdir -p build/html build/doctrees
|
||||
sphinx-autobuild -b html $(ALLSPHINXOPTS) build/html
|
||||
|
||||
web:
|
||||
mkdir -p build/web build/doctrees
|
||||
$(SPHINXBUILD) -b web $(ALLSPHINXOPTS) build/web
|
||||
|
Loading…
x
Reference in New Issue
Block a user