Sidebar toggle

5 views
Skip to first unread message

Pat LeSmithe

unread,
Sep 8, 2009, 8:59:19 AM9/8/09
to sphin...@googlegroups.com

Hello,

There is some code for a Sphinx sidebar toggle at

http://trac.sagemath.org/sage_trac/attachment/ticket/6507/trac_6507_sidebar_toggle.patch

I think it will also work in a layout template's header.

The toggle is not as sophisticated as Google code's toggle, e.g.,

http://code.google.com/apis/v8/intro.html

but it does attempt to save a user's toggle preference in a cookie.

Please feel free to suggest improvements.

- Pat

Georg Brandl

unread,
Sep 8, 2009, 3:20:34 PM9/8/09
to sphin...@googlegroups.com
Pat LeSmithe schrieb:

Hi,

interesting, last week somebody else also implemented a togglable sidebar,
in that case for the Python docs :)

I'll have to see which one to include, but something like this will
certainly be a new template option in the next release.

Thanks,
Georg

Reply all
Reply to author
Forward
0 new messages