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

Pull out metapreprocessor #542

Merged
merged 15 commits into from
Aug 10, 2023

Conversation

MEJ2235
Copy link
Contributor

@MEJ2235 MEJ2235 commented Aug 3, 2023

No description provided.

MEJ2235 and others added 13 commits July 21, 2023 15:49
Added test_meta_preprocessor
* master: (32 commits)
  Use tomli_w to dump toml in tests
  Use compatibility layer for tomli/tomllib
  Flip conditional in `convert_to_bool`
  Rename `get_proj_data` -> `load_settings`, add docstring, type hints
  Return markdown object after parsing settings file
  Only run initial markdown parsing of project file if not using toml
  Ensure toml settings are lists when required
  Pull out separate function for reading toml settings
  Fix example project tests for new `parse_arguments`
  Return (possibly processed) proj_docs from `get_proj_data`
  Pass settings dict directly in most initialisation tests
  Apply black
  Added ability to use settings from a toml file
  Don't fall over if variables in namelist are still strings
  Apply black
  Add couple of tests for namelists in built example
  Reduce duplication in namelist HTML templates
  Enable linking to namelists and namelist items
  Add HTML pages for namelists
  Simplify and expand namelist test
  ...
@ZedThree
Copy link
Member

ZedThree commented Aug 9, 2023

Standalone meta-preprocessor means we have more control over the syntax and have a pathway to deprecation/updating it, as well as giving us some freedom to reorder the markdown processing and correlation steps

@ZedThree ZedThree merged commit a4d5832 into Fortran-FOSS-Programmers:master Aug 10, 2023
@ZedThree ZedThree added this to the v7.0.0 milestone Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants