Skip to content

First draft of homepage data to JSON#291

Draft
tomschr wants to merge 1 commit intomainfrom
homepagedata
Draft

First draft of homepage data to JSON#291
tomschr wants to merge 1 commit intomainfrom
homepagedata

Conversation

@tomschr
Copy link
Copy Markdown
Contributor

@tomschr tomschr commented Mar 22, 2024

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

  • baseurl: The base URL of the production server (defaults to https://documentation.suse.com)

Reference

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

@tomschr tomschr requested a review from GGayathri3 March 22, 2024 11:59
@tomschr tomschr self-assigned this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant