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

Integrating Metanorma pages into Jekyll #7

Open
ronaldtse opened this issue Aug 2, 2018 · 2 comments
Open

Integrating Metanorma pages into Jekyll #7

ronaldtse opened this issue Aug 2, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

We have a number of specs written in Metanorma format, such as in MetanormaISO, in their own git repos.

We wish to submodule them in metanorma.com (and other Open Sites) and display them on the static site.

This task is to build a Jekyll plugin that automatically invokes the Metanorma toolchain to build those files into HTML output, and incorporate that HTML output (and styled correctly) into the static site.

cc: @opoudjis could you chime in your thoughts? Thanks!

@ronaldtse ronaldtse added the enhancement New feature or request label Aug 2, 2018
@strogonoff
Copy link
Contributor

strogonoff commented Aug 2, 2018

To expand on the two aspects of this feature:

  1. We want to integrate specification sources from their repos into project sites, similar to what Open Project framework does with software docs. The requisite functionality exists, but has to be properly exposed and documented where it concerns specs (this is in the works).

  2. We want to build the specs from their sources during project site build. The new thing this issue raises is that we should support building specs from Metanorma-structured sources. (With software docs Open Project framework expects its own simple structure[0].) Ideally I’m also seeing this happening through a specialized plugin, similar to the one that adds support for AsciiDoc files to Jekyll.

In meantime specs are included in their rendered form, which is not pretty (spec example from RNP).

Not going in detail about the use of submodules here, as I believe we’re covering that under riboseinc/jekyll-theme-open-project-helpers#1. (Speaking of that issue, I can commit to going with submodules, but I’d like to understand the purpose that would that serve and whether Git submodules offer the requisite functionality.)

This issue relates to #5.

[0] riboseinc/jekyll-theme-open-project#24

@ronaldtse
Copy link
Contributor Author

Regarding submodules -- we can also clone them for the latest version to save ourselves the need of "updating" the main repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants