Conversation
|
@tomschr This change already breaks the docbook results. Please rebuild and check yourself via from the kiwi git checkout Thanks |
tomschr
left a comment
There was a problem hiding this comment.
Thanks! 👍 I have only one minor comment, see below.
Just for references, when you apply the metadata, Sphinx creates this structure:
<field_list>
<field>
<field_name>meta</field_name>
<field_body>
<field_list>
<field>
<field_name>description</field_name>
<field_body>
<paragraph>Your flexible operating system image and appliance builder</paragraph>
</field_body>
</field>
<!-- ... expect more fields, but pruned ... -->
</field_list>
<field_body>
<field>
</field_list>In rstxml2docbook, we need to create a template rule that matches the tags from above. This template rule includes the necessary DocBook 5 <meta> tags.
7568bc1 to
0e6a02a
Compare
To support further features on the SUSE documentation an additional metadata block needs to be added to the XML representation of the sphinx documentation build use by the make docs_suse target.
0e6a02a to
9e3e937
Compare
|
@tomschr you approved this but I keep it as draft and will not merge because it breaks the build. See here As you can see the produced So I believe adaptions to |
|
Uhh, thanks. Yes, that certainly needs adaptions in the stylesheet of rstxml2docbook. Let's see when I find some time... |
|
@schaefi I've had a quick look and found something interesting. We basically are faced with two issues:
I'm not actually sure why this happened. This makes my script unusable as it relies on this element. Seems Sphinx changed something. I used Sphinx 9.1.0. Before this change, there was a whole list inside Not sure how to proceed here... |
Thanks much for digging into this. I made a commit that should solve the toctree problem |
This creates an element <document role="main"> for the master document but not for other sub-documents. This is necessary that the XSLT stylesheet rstxml2db.xsl from the rstxml2docbook project finds the start.
To support further features on the SUSE documentation an additional metadata block needs to be added to the XML representation of the sphinx documentation build use by the make docs_suse target.