-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
enhancementNew feature or requestNew feature or request
Description
Situation
We want to build deliverables from DocBook or ADoc sources to be published on d.s.c.
Use Case
As a user, when I request a build of a specific project or the whole set, it performs several steps to create the output formats with the index pages in the target directory.
Possible Implementation
The script perform several steps:
- Read the XML Docserv config and stitch them together. Maybe store the result in a cache directory.
- Determine the set of deliverables.
- Iterate over it in a concurrent way.
- Determine the repository of the deliverable. If there is no repo inside the
permanent-fulldirectory, clone it. - Clone a temporary repo from the
permanent-fulldirectory. - Create a temporary directory as the result directory, but use the temporary repo as a source.
- If the build was successful, create the metadata. This could also be done prior to building the target formats.
- Collect the metadata from the deliverable and other resources.
- Create an intermediate JSON structure and pass it to Gayathri's Jinja templates.
- Store the result in the temporary directory.
- If everything was successful, sync it to the target directory ready for the final publishing step.
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request