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

FEAT: Structure file parsing #36

Merged
merged 19 commits into from
May 7, 2024
Merged

FEAT: Structure file parsing #36

merged 19 commits into from
May 7, 2024

Conversation

carlwilson
Copy link
Collaborator

  • 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.
@carlwilson carlwilson self-assigned this May 7, 2024
@carlwilson carlwilson added the enhancement New feature or request label May 7, 2024
@carlwilson carlwilson merged commit 5468db0 into main May 7, 2024
2 checks passed
@carlwilson carlwilson deleted the feat/test-parsing branch May 7, 2024 06:06
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
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant