From d09bc91ebd4ff963b09bf026573ae2ea9fd0987f Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Fri, 20 Mar 2020 16:04:30 -0700 Subject: [PATCH] use Python 3 to generate documentation (#242) * use Python 3 to generate documentation Signed-off-by: Dirk Thomas * no css files to copy anymore Signed-off-by: Dirk Thomas * Make sure to copy in css files Signed-off-by: Tully Foote * remove Python 2 from Travis CI Signed-off-by: Dirk Thomas Co-authored-by: Tully Foote --- .travis.yml | 1 - Makefile | 2 +- doc/Makefile | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 094f0d9b3..99e104cd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: python python: - - "2.7" - "3.6" # command to install dependencies install: diff --git a/Makefile b/Makefile index 0973592cb..974d7048b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ REP2HTML=rep2html.py -PYTHON=python +PYTHON=python3 .SUFFIXES: .rst .html diff --git a/doc/Makefile b/doc/Makefile index 6b15b4e5f..0ab0e06c1 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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