Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d6c4cd

Browse files
authored
Merge pull request matplotlib#21 from biophyser/issue-16
Updating Getting Started and Customizing the look and feel.
2 parents ec6b964 + 215d24f commit 7d6c4cd

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

_static/basic_screenshot.png

6.38 KB
Loading

_static/fancy_screenshot.png

46.6 KB
Loading

custom_look.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ moves the vertical navigation panels to the right side of the page::
5353
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
5454
{% block sidebar2 %}{% endblock %}
5555

56+
Lastly, we need to modify the html theme in :file:`sampledoc/conf.py`::
57+
58+
html_theme = 'sphinxdoc'
59+
5660
Once you rebuild the site with a ``make html`` and reload the page in your browser, you should see a fancier site that looks like this
5761

5862
.. image:: _static/fancy_screenshot.png

getting_started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ When you reload the page by refreshing your browser pointing to
9393
"Getting Started" docs, and in there this page with the screenshot.
9494
`Voila!`
9595

96-
Note we used the image directive to include to the screenshot above
96+
We can also use the image directive in :file:`index.rst` to include to the screenshot above
9797
with::
9898

99-
.. image:: _static/basic_screenshot.png
99+
.. image::
100+
_static/basic_screenshot.png
100101

101102

102103
Next we'll customize the look and feel of our site to give it a logo,
103104
some custom css, and update the navigation panels to look more like
104105
the `sphinx <http://sphinx.pocoo.org/>`_ site itself -- see
105106
:ref:`custom_look`.
106-

0 commit comments

Comments
 (0)