[sphinx-users] Re: autodoc "from mymodule import *" in __init__.py file

2018-03-02 Thread John
In case anyone is encountering similar, further searching on stackexchange provided two solutions: 1. Modify the `__all__` attribute in `__init__.py` https://stackoverflow.com/questions/15115514/how-do-i-document-classes-without-the-module-name/31594545#31594545 2. Modify the `__module__` attri

Re: [sphinx-users] Re: autodoc "from mymodule import *" in __init__.py file

2018-03-02 Thread Komiya Takeshi
Hi, I think `:imported-members:` option may help you. Thanks, Takeshi KOMIYA 2018-03-02 19:28 GMT+09:00 John : > In case anyone is encountering similar, further searching on stackexchange > provided two solutions: > > 1. Modify the `__all__` attribute in `__init__.py` > > https://stackoverflow.

Re: [sphinx-users] Why do my PDF footnotes start with number 43?

2018-03-02 Thread Komiya Takeshi
Hi, At present, latex_show_urls creates auto-numbered footnotes (ex. [#]_). So their number starts after explicitly numbered footnotes (ex. [1]_). I guess your document already has 42 explicitly numbered footnotes. Agreed. I also feel this is ugly. Please file a proposal. Thanks, Takeshi KOMIYA

Re: [sphinx-users] Adding unique header/footer for all docs in one directory

2018-03-02 Thread Komiya Takeshi
Hi, How about making HTML theme? http://www.sphinx-doc.org/en/master/theming.html#creating-themes Thanks, Takeshi KOMIYA 2018-02-28 21:18 GMT+09:00 Tzach Livyatan : > Hello all > > In addition to the main Sphinx project, I want to pull a tree of markdown > files from a different project, so it w

Re: [sphinx-users] German Output With lualatex

2018-03-02 Thread Komiya Takeshi
Hi, The "ngerman" came from docutils implementation. How about updating it from conf.py like following? ``` import docutils.writers.latex2e docutils.writers.latex2e.Babel.language_codes['de'] = 'german' ``` >And \literalblockcontinuesname is not set to a german string at all. >I think at least th

[sphinx-users] Re: German Output With lualatex

2018-03-02 Thread jfbu
Hi, with lualatex Sphinx uses LaTeX package polyglossia not LaTeX package babel (however if you override the 'babel' key of latex_elements you can force use of babel in place of polyglossia; I do this for French) Turns out polyglossia indeed does not recognize "ngerman" (which is regrettable in