Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b45a15

Browse files
committed
Styling
1 parent afe453e commit 0b45a15

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

‎_templates/title.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<h3><a href="https://more-sagemath-tutorials.readthedocs.io/">More SageMath Tutorials</a></h3>

‎conf.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124
# The name for this set of Sphinx documents. If None, it defaults to
125125
# "<project> v<release> documentation".
126-
#html_title = None
126+
html_title = "More SageMath Tutorials"
127127

128128
# A shorter title for the navigation bar. Default is the same as html_title.
129129
#html_short_title = None
@@ -156,7 +156,7 @@
156156
#html_use_smartypants = True
157157

158158
# Custom sidebar templates, maps document names to template names.
159-
html_sidebars = { '**': ['ipynblink.html', 'localtoc.html', 'relations.html', 'searchbox.html']}
159+
html_sidebars = { '**': ['title.html', 'ipynblink.html', 'localtoc.html', 'relations.html', 'searchbox.html']}
160160

161161
# Additional templates that should be rendered to pages, maps page names to
162162
# template names.
@@ -357,11 +357,7 @@ def setup(app):
357357
# Not yet used by sphinxcontrib-jupyter
358358
jupyter_default_lang = "sagemath"
359359

360-
# TODO: add binder link, github logo, specific file reference
361-
# Really include this prolog in the html version?
362-
rst_prolog=r"""
363-
This document is one of `More SageMath Tutorials <https://more-sagemath-tutorials.readthedocs.io/en/latest/>`_.
364-
You may `edit it on github <http://github.com/sagemath/more-sagemath-tutorials/>`_.
360+
rst_prolog = r"""
365361
`\def\NN{\mathbb{N}}`
366362
`\def\ZZ{\mathbb{Z}}`
367363
`\def\QQ{\mathbb{Q}}`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /