openSUSE / docserv

A server for building and publishing documentation with DAPS
https://opensuse.github.io/docserv/
GNU General Public License v3.0
4 stars 3 forks source link

First draft of homepage data to JSON #291

Open tomschr opened 8 months ago

tomschr commented 8 months ago

Situation

We need the Docserv config data in a different structure than we currently have.

Suggested solution

The stylesheet transform a stitched file (located on Docserv as /tmp/docserv-stitch-*.xml). This is already provided in this branch. Try it with:

$ xsltproc homepage-data2json.xsl productconfig_simplified_test.xml

Parameters

Reference

https://github.com/GGaayeeG/JinjaTemplatingProj/blob/main/data/homePageData.json