-
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
FEAT: Structure file parsing #36
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
carlwilson
commented
May 7, 2024
- publication now driven by structure files;
- mustache templates to convert tables and appendices.
- introduced new structure file for specification; - added classes to parse structure and custom tables from the structure file; - plenty of tests for the above; - piccolo for the CLI functionality; - updated `README.md` with better instructions; - refactored some constants out; and - tidied some minor style warnings up.
- cleaned up compiler warnings; and - added basic tests.
- `MetsProfile` class handles the profile types, e.g. requirements, examples, appendices; - new class to handle Appendices; - Mustache templates now handle all output types rather than bespske classes; - new CLI options for multiple profiles and YAML structure file; - refactored some string constants; and - mustache compiler added to `pom.xml`.
- handles the publication of a template based on the `template` field in the publication; - now uses sections; - params for new generator; and - removed the old navbar.
- correct page title and subtitle in template; - correct title attribute for DILCIS menu link; and - get XPath formatting write in PDF and site.
- requirment lists from sections; - null protection for requirment details; - get sections from new profile parser; - tests for above; and - equals test on section made from section itself to avoid null pointer issues.
- generation of appendices from METS values: - `Appendix` examples from METS profiles; - `external_schema` from METS profiles; - `controlled_vocabularies` from METS profiles; - `requirements` from METS profiles; - classes and templates for the above; - examples generated for requirement sections; and - removed old baggage classes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.