agiorguk / gemini

Resources relating to the UK Gemini metadata profile
5 stars 3 forks source link

Incorrect use of preprocessor tags to differentiate between datasets and services #137

Open archaeogeek opened 7 months ago

archaeogeek commented 7 months ago

As per https://github.com/agiorguk/gemini/pull/134

I've realised that the preprocessor approach isn't the right one for differentiating between the datasets and services. The fix is actually a more efficient way of doing things. We can use the tagged regions approach: https://docs.asciidoctor.org/asciidoc/latest/directives/include-tagged-regions/. This requires the following changes:

archaeogeek commented 7 months ago

@PeterParslow could you do a sanity check of https://archaeogeek.github.io/gemini-dev/1062-gemini-datasets-and-data-series.html and https://archaeogeek.github.io/gemini-dev/1063-gemini-services.html (you could focus on keywords as being a good example of where the dataset and services guidance is different). If it looks OK I'll move it over to the agi repository

PeterParslow commented 7 months ago

I've compared the two HTML files in your repository for a handful of elements - it looks good. Well done for spotting this "better way" which also fixes some of the other "sub issues" I'd been having trying to fix issues.

I think it's good to go to DEV. May be good to go to LIVE - but you'd need to carefully manage which version of which ADOC file to set live.....

Well done, Jo. Again!

archaeogeek commented 5 months ago

Moved to "to implement"