Domanda

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?

È stato utile?

Soluzione

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:

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top