Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First draft of homepage data to JSON #291

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

First draft of homepage data to JSON #291

wants to merge 1 commit into from

Conversation

tomschr
Copy link
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