Skip to content

Commit cf60387

Browse files
authored
Merge pull request #385 from k-okada/fix-rtd
Fix for readthedocs
2 parents 5a9a971 + ee49561 commit cf60387

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ after_deploy:
114114
- git checkout -b $(git name-rev --name-only $(git rev-parse $TRAVIS_BRANCH) | sed 's@remotes/upstream/@@')
115115
# send doc to current repo
116116
- git rm -f doc/{latex,jlatex,html}/*.{pdf,ps,dvi,html,png}
117-
- git add doc/{latex,jlatex}/*.{pdf,ps,dvi} doc/html/*.{html,png}
117+
- git add doc/{latex,jlatex}/*.{pdf,ps,dvi,hlp} doc/html/*.{html,png}
118118
- git status
119119
- git branch
120120
- git commit -m "Build documents from $TRAVIS_TAG@$TRAVIS_COMMIT" doc/

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [EusLisp] [![Build Status](https://travis-ci.org/euslisp/EusLisp.png?branch=master)](https://travis-ci.org/euslisp/EusLisp)
1+
## [EusLisp] [![Build Status](https://travis-ci.org/euslisp/EusLisp.png?branch=master)](https://travis-ci.org/euslisp/EusLisp) [![Documentation Status](https://readthedocs.org/projects/euslisp/badge/?version=latest)](https://euslisp.readthedocs.io/en/latest/?badge=latest)
22

33
EusLisp was originally developed by [Dr. Toshihiro Matsui at AIST](http://staff.aist.go.jp/t.matsui/ )
44

doc/html/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def sh(command):
2727

2828
# copy result to docs and _build/html
2929
sh("cd ../../; ln -sf doc/html docs")
30-
sh("cp * _build/html/; echo 'ok'")
30+
sh("mkdir -p _build/html; cp * _build/html/; echo 'ok'")
3131

3232
# custom settings conf.py
3333
master_doc = 'index'

doc/jlatex/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ distclean: clean
2525

2626
html:
2727
rm -f ../html/jmanual*.
28-
TRANSPARENT_COLOR="#ffffff" charset="UTF-8" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -init_file ../latex/.latex2html-init -iso_language JP jmanual
28+
TRANSPARENT_COLOR="#ffffff" charset="UTF-8" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -init_file ../latex/.latex2html-init -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" jmanual
2929
(cd ../html; sed -i 's@"jmanual.css"@"manual.css"@' j*.html)
30-
30+
(cd ../html; for imgfile in jmanual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done)
3131

3232

doc/latex/.latex2html-init

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#LaTeX2HTML Version 96.1 : dot.latex2html-init
22

3-
$LATEX_COLOR = "\\pagecolor[rgb]{1,1,1}";
43
$COLOR_HTML = 1;
54

65
sub top_navigation_panel {

doc/latex/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ distclean: clean
2525

2626
html:
2727
rm -f ../html/manual*.{old,html,png,pl} ../html/manual-images.*
28-
TRANSPARENT_COLOR="#ffffff" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP manual
28+
TRANSPARENT_COLOR="#ffffff" latex2html -dir ../html/ -transparent -local_icons -split +3 -auto_prefix -iso_language JP -address "This document was generated using the LaTeX2HTML translator on `date` from <a href=\"http://github.com/euslisp/EusLisp.git\">EusLisp</a> version <a href=\"http://github.com/euslisp/EusLisp/commit/`git rev-parse --verify HEAD`\">`git log -1 --oneline`</a>" -html_version="4.0,unicode" manual
29+
(cd ../html; for imgfile in manual-img*.png; do pngtopnm $$imgfile > /tmp/$$imgfile.pnm; pnmtopng -transparent white /tmp/$$imgfile.pnm > $$imgfile; done)

0 commit comments

Comments
 (0)