Revision: 7455
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7455&view=rev
Author: jdh2358
Date: 2009-08-11 10:54:07 +0000 (Tue, 11 Aug 2009)
Log Message:
-----------
update fancy screenshot
Modified Paths:
--------------
trunk/py4science/examples/sphinx_qs/_static/fancy_screenshot.png
trunk/py4science/examples/sphinx_qs/custom_look.rst
trunk/py4science/examples/sphinx_qs/getting_started.rst
trunk/py4science/examples/sphinx_qs/index.rst
Modified: trunk/py4science/examples/sphinx_qs/_static/fancy_screenshot.png
===================================================================
(Binary files differ)
Modified: trunk/py4science/examples/sphinx_qs/custom_look.rst
===================================================================
--- trunk/py4science/examples/sphinx_qs/custom_look.rst 2009-08-11 10:45:16 UTC
(rev 7454)
+++ trunk/py4science/examples/sphinx_qs/custom_look.rst 2009-08-11 10:54:07 UTC
(rev 7455)
@@ -5,13 +5,14 @@
Customizing the site
*********************
-the `<http://sphinx.pocoo.org/>`_ site itself looks better than the
-sites created with the default css, so here we'll invoke Tufte's
+The `sphinx <http://sphinx.pocoo.org/>`_ site itself looks better than
+the sites created with the default css, so here we'll invoke Tufte's
phrase "Intelligence imitates but genious steals and grab their css
and part of their layout. As before, you can either get the required
-files :file:`_static/default.css`, :file:`_templates:layout.html` and
:file:`_static\logo.png`
-from the website or svn (see :ref:`fetching-the-data`). Since I did a
-svn checkout before, I will just copy the stuff I need from there::
+files :file:`_static/default.css`, :file:`_templates:layout.html` and
+:file:`_static\logo.png` from the website or svn (see
+:ref:`fetching-the-data`). Since I did a svn checkout before, I will
+just copy the stuff I need from there::
home:~/tmp/py4sci> cp ../sphinx_qs/_static/default.css _static/
home:~/tmp/py4sci> cp ../sphinx_qs/_templates/layout.html _templates/
@@ -23,9 +24,15 @@
_templates/:
layout.html
-Sphinx will automatically pick up the css and layout html files since we put
them in the
-default places with the default names, but we have to manually include the
logo in our :file:`layout.html`. Let's take a look at the
-layout file: the first part puts a horizontal navigation bar at the top of our
page, like you see on the `sphinx <http://sphinx.pocoo.org>`_ and `matplotlib
<http://matplotlib.sourceforge.net/>`_ sites, the second part includes a logo
that when we click on it will take us `home` and the last part moves the
vertical navigation panels to the right side of the page.
+Sphinx will automatically pick up the css and layout html files since
+we put them in the default places with the default names, but we have
+to manually include the logo in our :file:`layout.html`. Let's take a
+look at the layout file: the first part puts a horizontal navigation
+bar at the top of our page, like you see on the `sphinx
+<http://sphinx.pocoo.org>`_ and `matplotlib
+<http://matplotlib.sourceforge.net/>`_ sites, the second part includes
+a logo that when we click on it will take us `home` and the last part
+moves the vertical navigation panels to the right side of the page::
{% extends "!layout.html" %}
@@ -49,3 +56,7 @@
{# put the sidebar before the body #}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}
+
+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
+
+.. image:: _static/fancy_screenshot.png
Modified: trunk/py4science/examples/sphinx_qs/getting_started.rst
===================================================================
--- trunk/py4science/examples/sphinx_qs/getting_started.rst 2009-08-11
10:45:16 UTC (rev 7454)
+++ trunk/py4science/examples/sphinx_qs/getting_started.rst 2009-08-11
10:54:07 UTC (rev 7455)
@@ -1,9 +1,9 @@
-.. _sphinx_helpers:
+.. _getting_started:
-******************
-Sphinx Cheat Sheet
-******************
+***************
+Getting started
+***************
Cheat sheet on how to make this site and install these extensions and
other goodies. You can see a literal version of this file below in
@@ -103,4 +103,7 @@
Next we'll customize the look and feel of our site to give it a logo,
some custom css, and update the navigation panels to look more like
-the `<http://sphinx.pocoo.org/>`_ site itself -- see :ref:`custom_look`.
+the `sphinx <http://sphinx.pocoo.org/>`_ site itself -- see
+:ref:`custom_look`.
+
+
Modified: trunk/py4science/examples/sphinx_qs/index.rst
===================================================================
--- trunk/py4science/examples/sphinx_qs/index.rst 2009-08-11 10:45:16 UTC
(rev 7454)
+++ trunk/py4science/examples/sphinx_qs/index.rst 2009-08-11 10:54:07 UTC
(rev 7455)
@@ -12,6 +12,7 @@
:maxdepth: 2
getting_started.rst
+ custom_look.rst
Indices and tables
==================
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins