SEMICeu / GeoDCAT-AP

Repository of the geospatial extension to DCAT-AP (GeoDCAT-AP)
https://joinup.ec.europa.eu/solution/geodcat-application-profile-data-portals-europe
Creative Commons Attribution 4.0 International
17 stars 6 forks source link

Question on automation of the index.html docmentation #66

Closed JohannesLipp closed 4 months ago

JohannesLipp commented 1 year ago

Dear @andrea-perego and team,

we found the GeoDCAT-AP in this repository and enjoyed it.

As we are also developing a DCAT-AP (called napDCAT-AP) for our project NAPCORE on National Access Points, we have a technical question to you: Did you manually create the index.html file for the ReSpec documentation page or did you use any automation? In case of the latter, it would be great if you share these automation scripts with us so that we can build on these.

Thank you so much in advance! Best, Johannes

bertvannuffelen commented 1 year ago

@JohannesLipp

there are 2 approaches here: the one used here in GeoDCAT-AP and the one used by the other SEMIC specifications. The first is a setup that @andrea-perego can explain.

The second I can provide you with assistance how it works. It also can support the Respec look and feel, if your prefer that one.

kr,

Bert

andrea-perego commented 1 year ago

Thanks, @JohannesLipp . I'm happy you like it :)

To come to your question, the specification is created manually, although some sections (as the summary tables in Appendix A) are automatically generated via the scripts in folder https://github.com/SEMICeu/GeoDCAT-AP/tree/gh-pages/drafts/latest/scripts

This applies only to the editor's draft of GeoDCAT-AP. The versions under the "releases" folder, are instead created from the editor's draft by using the ReSpec export functionality (that you can activate by clicking on the "ReSpec" button on the top-right corner of the editor's draft page).

Anyway, in case your purpose is to automatically generate the documentation from the formal definition of the application profile, there are some tools for this - as the SHACL Play! API: https://shacl-play.sparna.fr/play/doc

@bertvannuffelen , any other suggestion?

jakubklimek commented 4 months ago

@JohannesLipp For the second approach mentioned by @bertvannuffelen, please also see the SEMIC toolchain manual.

Closing as this issue is unrelated to the contents of GeoDCAT-AP.