سؤال

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?

هل كانت مفيدة؟

المحلول

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:

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top