Hi Matt,

Check out the info on html_sidebars in the Sphinx docs for the 
configuration file (conf.py). You can also change the theme using 
"html_theme" in the same file. Additional information about built in themes 
are found 
here http://www.sphinx-doc.org/en/stable/theming.html#builtin-themes

The matplotlib project has a tutorial that you may find helpful too 
(http://matplotlib.org/sampledoc/index.html).

Good luck!

Carol


On Monday, February 8, 2016 at 5:39:08 PM UTC-8, Matthew Gilbert wrote:
>
> Hi,
>
> This seems like a fairly simple question but I've searched SO and the 
> sphinx documentation and can't seem to find out how to do this. I was 
> wondering how to include a table of contents on every page (on the left 
> hand side), and have this include only the names of the top level page.  
> Let's say my project looks like
>
> index.rst
> test.rst
>
> where index.rst is as follows
>
> .. test documentation master file, created by
>    sphinx-quickstart on Mon Feb  8 18:05:39 2016.
>    You can adapt this file completely to your liking, but it should at 
> least
>    contain the root `toctree` directive.
>
> Welcome to test's documentation!
> ================================
>
> Contents:
>
> .. toctree::
>    :titlesonly:
>
>    test
>
> More stuff
> ==========
>
> and test.rst
>
> Hello
> =====
>
> This is a test
>
> I would like the Table of Contents on the left hand side to look like
>
> Welcome to test’s documentation!
> Hello
>
> and this to be present on every page, however I can't seem to find any way 
> to do this. An example of a site that does this is 
> https://wiki.fysik.dtu.dk/ase/
>
> Any help or linking to relevant documentation would be much appreciated.
>
> Regards,
> -Matt
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to