# HG changeset patch
# User Mitesh Patel <qed777@gmail.com>
# Date 1239869910 25200
# Node ID eaf526881ba8e1b098cf7abb7a00b1fc8fcdb8ab
# Parent f4ddc699fb0fb4a0e685d95c2f4cadd8139a29d6
jsMath, favicon, logo for live, static, offline docs. Different approach.
diff --git a/doc/common/conf.py b/doc/common/conf.py
|
a
|
b
|
|
| 17 | 17 | extensions.append('sphinx.ext.jsmath') |
| 18 | 18 | else: |
| 19 | 19 | extensions.append('sphinx.ext.pngmath') |
| 20 | | jsmath_path = '/javascript_local/jsMath/easy/load.js' |
| | 20 | jsmath_path = '/javascript_local/jsmath/easy/load.js' |
| 21 | 21 | |
| 22 | 22 | # Add any paths that contain templates here, relative to this directory. |
| 23 | 23 | templates_path = [SAGE_DOC + '/common/templates', 'templates'] |
diff --git a/doc/common/static/jsmath b/doc/common/static/jsmath
new file mode 120000
|
a
|
b
|
|
| | 1 | ../../../../../local/notebook/javascript/jsmath/ |
| | 2 | No newline at end of file |
diff --git a/doc/common/static/sageicon.png b/doc/common/static/sageicon.png
new file mode 120000
|
a
|
b
|
|
| | 1 | ../../../../../data/extcode/notebook/images/sageicon.png |
| | 2 | No newline at end of file |
diff --git a/doc/common/static/sagelogo.png b/doc/common/static/sagelogo.png
new file mode 120000
|
a
|
b
|
|
| | 1 | ../../../../../data/extcode/notebook/images/sagelogo.png |
| | 2 | No newline at end of file |
diff --git a/doc/common/templates/layout.html b/doc/common/templates/layout.html
|
a
|
b
|
|
| 1 | 1 | {% extends "!layout.html" %} |
| 2 | 2 | |
| 3 | 3 | {% block rootrellink %} |
| 4 | | <img src="_static/sage_logo.png" title="Sage Logo"> |
| | 4 | <img src="_static/sagelogo.png" style="vertical-align: middle" title="Sage Logo"> |
| 5 | 5 | {{ super() }} |
| 6 | 6 | {% endblock %} |
| | 7 | |
| | 8 | {% block extrahead %} |
| | 9 | <script type="text/javascript" src="_static/jsmath/easy/load.js"></script> |
| | 10 | {% endblock %} |