-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 22.10.2010 03:13, schrieb TP: >> Aha, thanks! You also need to add the following to your conf.py file: >> >> master_doc = 'contents' >> >> html_index = 'index.html' >> >> # Custom sidebar templates, maps document names to template names. >> html_sidebars = { >> 'index' : >> ['indexsidebar.html', >> 'searchbox.html'], >> (Other custom sidebars here) >> } >> >> # Additional templates that should be rendered to pages, maps page names >> to >> # template names. >> html_additional_pages = {'index': 'index.html'} >> >> (and then change the name of your default main .rst page from >> index.rst to contents.rst) >> >> The html_index conf.py option doesn't seem to be documented at >> http://sphinx.pocoo.org/config.html#options-for-html-output and >> perhaps it should be? >> >> Also copy (and then edit) >> http://bitbucket.org/birkenfeld/sphinx/src/tip/doc/_templates/index.html >> & indexsidebar.html to either the _templates directory or to your >> custom theme directory. >> >> Doing "make html" will now automatically create your new index.html Home >> page. >> > > It turns out you don't need to add html_index to conf.py. It must be > something that Sphinx needs specifically for itself?
If it isn't docmented, it doesn't do anything. :) The html_index was a config value in old Sphinx versions and has been removed subsequently. I just forgot to remove it from the conf.py as well. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkzBHRMACgkQN9GcIYhpnLD/BgCbBK7RLwHFr0ixq4O61orufkLT QyYAoJwyliqbar3qbvrKRIgWkXRDKueX =ckQd -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.