mirror of https://github.com/CGAL/cgal
Merge pull request #7178 from sloriot/doc_7101_follow_up
Force html output (needed with lxml greater than 4.6.5)
This commit is contained in:
commit
af3842bab0
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
sudo apt-get update && sudo apt-get install -y graphviz ssh bibtex2html
|
sudo apt-get update && sudo apt-get install -y graphviz ssh bibtex2html
|
||||||
sudo pip install lxml==4.6.3
|
sudo pip install lxml
|
||||||
sudo pip install pyquery
|
sudo pip install pyquery
|
||||||
wget --no-verbose -O doxygen_exe https://cgal.geometryfactory.com/~cgaltest/doxygen_1_8_13_patched/doxygen
|
wget --no-verbose -O doxygen_exe https://cgal.geometryfactory.com/~cgaltest/doxygen_1_8_13_patched/doxygen
|
||||||
sudo mv doxygen_exe /usr/bin/doxygen
|
sudo mv doxygen_exe /usr/bin/doxygen
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ def write_out_html(d, fn):
|
||||||
f.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')
|
f.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')
|
||||||
f.write('<html xmlns=\"https://www.w3.org/1999/xhtml\">')
|
f.write('<html xmlns=\"https://www.w3.org/1999/xhtml\">')
|
||||||
if d.html() is not None:
|
if d.html() is not None:
|
||||||
f.write(d.html())
|
f.write(d.html(method='html'))
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
f.write('</html>\n')
|
f.write('</html>\n')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue