-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use Python 3 to generate documentation (#242)
* 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
1 parent
10e02af
commit d09bc91
Showing
3 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
REP2HTML=rep2html.py | ||
|
||
PYTHON=python | ||
PYTHON=python3 | ||
|
||
.SUFFIXES: .rst .html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |