Hi, All directives (include `only`) will be parsed and be converted into doctree by reST parser. One of discussion is here: https://github.com/sphinx-doc/sphinx/issues/1488
Regards, -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2015年10月20日(火) 21:55 Andrea Cassioli <[email protected]>: > Hi, > I am writing quite an extensive documentation that contains several > conditional blocks. I am quite happy using the directive `only`. > > To my surprise, it seems that the content is parsed even if the condition > is false. Now the docs are not clear on that, but I would have assumed that > if the `only` condition is false, then the subsequent block would have been > discarded. Does ayone have any clue/insight? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
