Pregunta

http://docs.python.org/3/

I would like to mimic python documentations fronpage for my own project. Trouble is every other page has show source link in the sidebar except for the front page.

How can I archive the same effect on new sphinx project?

¿Fue útil?

Solución

The documentation front page at http://docs.python.org/3/ is based on Jinja templates.

The theme is called pydoctheme (html_theme = 'pydoctheme' in conf.py).

More information about templates and themes in Sphinx:

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top