Re: [all][infra] READMEs of zuul roles not rendered properly - missing content

Clark Boylan cboylan at
Mon Aug 24 15:05:41 UTC 2020

On Mon, Aug 24, 2020, at 7:36 AM, Jeremy Stanley wrote:
> On 2020-08-24 16:12:17 +0200 (+0200), Martin Kopec wrote:
> > I've noticed that READMEs of zuul roles within openstack projects
> > are not rendered properly on - ".. zuul:rolevar::"
> > syntax seems to be the problem. Although it's rendered well on
> >, see f.e. [1] [2].
> > 
> > I wonder if there were some changes in the supported README
> > syntax. Also the ".. zuul:rolevar::" syntax throws errors on
> > online rst formatters I was testing on, however, it's rendered
> > fine by md online formatters - maybe is more rst
> > strict in case of .rst files than github?
> > 
> > Any ideas?
> > 
> > [1]
> > [2]
> Those wrappers rely on the zuul_sphinx plugin, which needs to be
> included in docs builds thusly:
> <URL: 
> >
> That extension allows you to build job and role documentation like
> this:
> If the project doesn't plan to build such documentation, they can of
> course be omitted (openstack/tempest's doc/source/ doesn't
> use zuul_sphinx that I can see). As far as why the README rendering
> in Gitea is tripping over it, sounds likely to be a bug in whatever
> reStructuredText parser library it uses. Was this working up until
> recently? We did just upgrade Gitea again in the past week or two.

We use pandoc to render the rst files, and the choice of tool and commands to run is driven entirely by config [3]. If we want to switch to another tool we'll want to ensure the new tool is installed in our container image [4]. Its possible that simply using the right pandoc options would get us what we want here?

> To be entirely honest, I wish Gitea didn't automatically attempt to
> render RST files, that makes it harder to actually refer to the
> source code for them, and it's a source code browser not a CMS for
> publishing documentation, but apparently this is a feature many
> other users do like for some reason.

We can change this behavior by removing the external renderer (though I expect we're in the minority of preferring ability to link to the source here).


> -- 
> Jeremy Stanley

More information about the openstack-discuss mailing list