Hi, To make a extension you want, you have to do following things:
* collect sections in the documents * register the each section to index Before develop extension, you should learn how to make a Sphinx extension: http://www.sphinx-doc.org/en/stable/extdev/index.html And you should also read the source code of Sphinx, especially around index manager. Thanks, Takeshi KOMIYA 2016年10月11日火曜日 18時40分37秒 UTC+9 Minkai Li: > > if I want to do it ，what is the extension could I do？ > > 在 2016年8月27日星期六 UTC+8下午10:28:48，Komiya Takeshi写道： >> >> Hi, >> >> To my knowlege, Sphinx does not have such a feature. >> And I don't know such an extension too. >> >> To do that, you might need to make new extension. >> >> Thanks, >> Takeshi KOMIYA >> >> 2016年8月27日土曜日 1時24分06秒 UTC+9 Jason S: >>> >>> I'm relatively new to Sphinx and I am not using it for Python. I went to >>> the genindex page and it is empty, because I don't have anything yet that >>> generates index entries. >>> >>> Is there any way to automatically add section titles to the genindex? >>> This is 90% of what I need. >>> >> -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.