Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 0a30a52

Browse files
committed
fix broken links to PDF documentation in the Sage documentation
1 parent 8ea92d5 commit 0a30a52

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#! /usr/bin/env bash
22
cd $SAGE_ROOT/src/doc
33
$MAKE doc-html
4+
if [ ! -e $SAGE_LOCAL/share/doc/sage/html/en/web_pdf ] ; then
5+
ln -sr $SAGE_LOCAL/share/doc/sage/html/en/../.. $SAGE_LOCAL/share/doc/sage/html/en/web_pdf
6+
fi

src/doc/en/website/templates/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2>
4141
<a class="biglink" href="tutorial/index.html">
4242
Tutorial
4343
</a>
44-
<a title="Download PDF" class="pdf" href="../../pdf/en/tutorial/SageTutorial.pdf">
44+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/tutorial/SageTutorial.pdf">
4545
<img class="icon" src="_static/pdf.png"></img>
4646
</a>
4747
<br>
@@ -57,7 +57,7 @@ <h2>
5757
<a class="biglink" href="faq/index.html">
5858
FAQs
5959
</a>
60-
<a title="Download PDF" class="pdf" href="../../pdf/en/faq/faq.pdf">
60+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/faq/faq.pdf">
6161
<img class="icon" src="_static/pdf.png"></img>
6262
</a>
6363
<br>
@@ -81,7 +81,7 @@ <h2>
8181
Thematic Tutorials
8282
</a>
8383
<a title="Download PDF" class="pdf"
84-
href="../../pdf/en/thematic_tutorials/thematic_tutorials.pdf">
84+
href="web_pdf/pdf/en/thematic_tutorials/thematic_tutorials.pdf">
8585
<img class="icon" src="_static/pdf.png"></img>
8686
</a>
8787
<br>
@@ -102,7 +102,7 @@ <h2>
102102
<a class="biglink" href="prep/index.html">
103103
PREP Tutorials
104104
</a>
105-
<a title="Download PDF" class="pdf" href="../../pdf/en/prep/prep_tutorials.pdf">
105+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/prep/prep_tutorials.pdf">
106106
<img class="icon" src="_static/pdf.png"></img>
107107
</a>
108108
<br>
@@ -137,7 +137,7 @@ <h2>
137137
<a class="biglink" href="reference/index.html">
138138
Reference Manual
139139
</a>
140-
<a title="Link to PDF" class="pdf" href="../../pdf/en/reference/index.html">
140+
<a title="Link to PDF" class="pdf" href="web_pdf/pdf/en/reference/index.html">
141141
<img class="icon" src="_static/pdf.png"></img>
142142
</a>
143143
<br>
@@ -178,7 +178,7 @@ <h2>
178178
<a class="biglink" href="installation/index.html">
179179
Installation Guide
180180
</a>
181-
<a title="Download PDF" class="pdf" href="../../pdf/en/installation/installation.pdf">
181+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/installation/installation.pdf">
182182
<img class="icon" src="_static/pdf.png"></img>
183183
</a>
184184
<br>
@@ -196,7 +196,7 @@ <h2>
196196
<a class="biglink" href="developer/index.html">
197197
Developer's Guide
198198
</a>
199-
<a title="Download PDF" class="pdf" href="../../pdf/en/developer/developer.pdf">
199+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/developer/developer.pdf">
200200
<img class="icon" src="_static/pdf.png"></img>
201201
</a>
202202
<br>
@@ -231,7 +231,7 @@ <h2>
231231
<a class="biglink" href="a_tour_of_sage/index.html">
232232
A Tour of Sage
233233
</a>
234-
<a title="Download PDF" class="pdf" href="../../pdf/en/a_tour_of_sage/a_tour_of_sage.pdf">
234+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/a_tour_of_sage/a_tour_of_sage.pdf">
235235
<img class="icon" src="_static/pdf.png"></img>
236236
</a>
237237
<br>
@@ -248,7 +248,7 @@ <h2>
248248
<a class="biglink" href="constructions/index.html">
249249
Constructions
250250
</a>
251-
<a title="Download PDF" class="pdf" href="../../pdf/en/constructions/constructions.pdf">
251+
<a title="Download PDF" class="pdf" href="web_pdf/pdf/en/constructions/constructions.pdf">
252252
<img class="icon" src="_static/pdf.png"></img>
253253
</a>
254254
<br>

0 commit comments

Comments
 (0)