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

WIP: Add support for collection options #244

Closed
wants to merge 2 commits into from
Closed

Conversation

abunashir
Copy link
Member

@abunashir abunashir commented Jun 26, 2021

Work In Progress!

On the site generator configuration: we want to add an option/field, where a user can provide collection file as configuration.

During site generation, we want the generator to take this into consideration and based on this we also want to the site generator to invoke the collection building happening.

In the collection interface, we also want to support configuration options, instead of passing around we also want to be specified in form of data filed and use that one to pass it down to the metanorma xml

Todos

  • Add support for collection option parsing
  • Adopt the field changes for the collection
  • Define collection config in the generator
  • Invoke the parsing from the site generator
  • Adopt this interface in collection, maybe?

Related: #205

@ronaldtse
Copy link
Contributor

FYI the Collection documentation is here:
https://www.metanorma.org/author/topics/document-format/collections/

For testing, you can use the BIPM SI Brochure which is already a collection, but site generation doesn't work:
https://github.com/metanorma/bipm-si-brochure

@ronaldtse
Copy link
Contributor

@abunashir is this task ready to go? Thanks.

@ronaldtse ronaldtse added the enhancement New feature or request label Nov 25, 2021
@abunashir
Copy link
Member Author

Hi @ronaldtse: Not yet, I'm crating sub pull requests and once those are resolved then we can close this one.

@abunashir
Copy link
Member Author

Closing this one in favour of #260

@abunashir abunashir closed this Dec 28, 2021
@abunashir abunashir deleted the collection-options branch December 28, 2021 13:24
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

Successfully merging this pull request may close these issues.

2 participants