Re: [sphinx-users] How to use type annotation as return type for property on a class with Napolean

2018-08-21 Thread Komiya Takeshi
Hi, AFAIK, napoleon extension does not support type annotations. I agree it is much useful! Thanks, Takeshi KOMIYA 2018年8月19日(日) 7:06 Clint Valentine : > I have the following property: > > ``` > def Something(object): > > @property > def experimental_design(self) -> Any: >

Re: [sphinx-users] 2 questions

2018-08-21 Thread Komiya Takeshi
> 1. I was told that the built-in search indexes the source files, which means > search results often include RST markup. Is this still true? Yes. At present, we are using source files to show search result. Note: we have plan to fix it. It might be implemented in 2.0:

Re: [sphinx-users] Headings don't translate properly with recommonmark and Sphinx >=1.5.2

2018-08-21 Thread Komiya Takeshi
As I commented to the commit, this should be fixed on recommonmark side. As a workaround, I made a simple code. Please check it. Thanks, Takeshi KOMIYA 2018年8月21日(火) 23:21 lei hu : > > An example using recommonmark's own docs: > > git clone 'g...@github.com:rtfd/recommonmark.git' > python

Re: [sphinx-users] Sphinx-1.8.0b1 released.

2018-08-21 Thread Komiya Takeshi
Hi Jan, It seems debian does not provide the xidny package for stretch. But it is provided for wheezy, buster and sid. https://packages.debian.org/buster/xindy I don't know why it was dropped temporarily. Note: You can disable it with latex_use_xindy = False. It is only used to create index for

[sphinx-users] Headings don't translate properly with recommonmark and Sphinx >=1.5.2

2018-08-21 Thread lei hu
An example using recommonmark's own docs: git clone 'g...@github.com:rtfd/recommonmark.git' python setup.py develop cd docs pip install Sphinx==1.5.1 make gettext cat _build/locale/index.pot | grep 'Getting Started' # output is `msgid "Getting Started"`, as expected rm -r _build pip install

Re: [sphinx-users] Sphinx-1.8.0b1 released.

2018-08-21 Thread Jan Ulrich Hasecke
Hi all, while 1.8.0b1 runs some of my projects without problems I cannot build a pdf because xindy is missing on debian stretch. Does anyone know how to install xindy on debian stretch? juh -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To

Re: [sphinx-users] Sphinx-1.8.0b1 released.

2018-08-21 Thread Luc Saffre
Maybe not intended, but it is correct behaviour. My code was "wrong" because it started a parser without giving a source. Yes, the code of the graphviz extension could check wether current_source is given before accessing it, that would make it more fool-proof. Luc On 21/08/18 15:57, Komiya

Re: [sphinx-users] Sphinx-1.8.0b1 released.

2018-08-21 Thread Komiya Takeshi
Hi Luc, Thank you for very detailed report! About state.document.current_source is not intended change. So I'll check it later. Thanks, 2018年8月21日(火) 17:23 Luc Saffre : > > I ran the new version on all my projects without problems (except some > changes in my own code, details in my blog). >

[sphinx-users] Re: Sphinx-1.8.0b1 released.

2018-08-21 Thread jfbu
Le 21/08/2018 à 10:23, Luc Saffre a écrit : I ran the new version on all my projects without problems (except some changes in my own code, details in my blog ). Thanks for your  work on maintaining Sphinx! Luc Thanks Luc, correcting the

Re: [sphinx-users] Sphinx-1.8.0b1 released.

2018-08-21 Thread Luc Saffre
I ran the new version on all my projects without problems (except some changes in my own code, details in my blog ). Thanks for your  work on maintaining Sphinx! Luc On 20/08/18 19:36, Komiya Takeshi wrote: > Hi all, > > We just released 1.8.0b1.