Klaus's suggestion is an improvement on my suggestion - we avoid a bit of confusion there. Would you mind changing it?
On Thu, Jun 26, 2014 at 1:21 PM, 'Klaus Aehlig' via ganeti-devel < [email protected]> wrote: > > Hi Dimara, > > > [...] > > To bypass a sphinx warning (i.e. Inline literal start-string without > > end-string), substitute "" with "EmptyString" in the generated html. > > I'm a bit conused about that work around. Why not avoid bad generated > html by using a different wording? I.e., replace > > > if has_default: > > + if default == "": > > + default = "EmptyString" > > buf.write("defaults to ``%s``" % (default,)) > > by > > if has_default: > if default == "": > buf.write("defaults to the empty string") > else: > buf.write("defaults to ``%s``" % (default,)) > > ? > > Thanks, Klaus > > -- > Klaus Aehlig > Google Germany GmbH, Dienerstr. 12, 80331 Muenchen > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg > Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores >
