-
Notifications
You must be signed in to change notification settings - Fork 1
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
Build fetched specification docsets using Metanorma flow #9
Comments
Asked about the best way to build Metanorma input from Ruby in metanorma/metanorma#25. If no success, we can still call the executable according to its docs. |
Proposed implementation route: When the helpers plugin, after collecting specifications, encounters a spec with frontmatter which contains
|
Method to build in Ruby given in: |
Originally I thought we can create something like Metanorma-OPF, which can take input in any Metanorma flavour and produce consistent Open Project framework-compatible HTML output. However, specs may not be all uniformly Metanorma projects: some are just PlantUML diagrams[0], for example. Basically we want to create a routine that can be called to build anything into [OP framework-compatible] HTML.
[0] https://github.com/riboseinc/metanorma-model-iso |
@strogonoff it is indeed possible. Metanorma outputs a Metanorma XML file that can be transformed into HTML. The basic gem that does this is called isodoc. So we could either:
Then things will work great. |
@ronaldtse Sure. I think I’ve come up with a good enough way. (Roughly, each spec that’s part of project site can specify in its frontmatter, in addition to source URL, also a builder engine to be used against the source. Metanorma builders would use approach similar to metanorma/metanorma#25 (comment), PlantUML diagram builders would generate interlinked HTML files from files under |
By invoking Metanorma gem function or executable, we want to build source specs, and down the line let the Jekyll theme show spec contents on open project sites.
The text was updated successfully, but these errors were encountered: