Skip to content

Commit

Permalink
use Python 3 to generate documentation (#242)
Browse files Browse the repository at this point in the history
* use Python 3 to generate documentation

Signed-off-by: Dirk Thomas <[email protected]>

* no css files to copy anymore

Signed-off-by: Dirk Thomas <[email protected]>

* Make sure to copy in css files

Signed-off-by: Tully Foote <[email protected]>

* remove Python 2 from Travis CI

Signed-off-by: Dirk Thomas <[email protected]>

Co-authored-by: Tully Foote <[email protected]>
  • Loading branch information
dirk-thomas and tfoote authored Mar 20, 2020
1 parent 10e02af commit d09bc91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

REP2HTML=rep2html.py

PYTHON=python
PYTHON=python3

.SUFFIXES: .rst .html

Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# redirect to make it compatible with other packages generating documentation

SUBDIRS=$(wildcard ../rep-????)
SUBDIRS=$(wildcard ../rep-????) ../css

html:
mkdir -p _build/html
cd .. && make all
cp -R ../README.txt ../*.html ../*.css ../*.js ../rep-0000.rst $(SUBDIRS) _build/html
cp -R ../README.txt ../*.html ../*.js ../rep-0000.rst $(SUBDIRS) _build/html

upload:
cd .. && make upload

0 comments on commit d09bc91

Please sign in to comment.