Skip to content

Conversation

tinazunner
Copy link

Adds a generated docs/index.html with anchors for every Class and ObjectProperty in the merged CCO file.

Each term has:

  • fragment ID anchor (e.g., #ont00012345)
  • label-based anchor (e.g., #sensor)

Enables IRI dereferencing via GitHub Pages.

@tinazunner
Copy link
Author

This PR adds a generated docs/index.html and a small Python script. The goal is to provide a simple one-page HTML with anchors for all Classes and ObjectProperties in the merged CCO file.
The page is static, searchable, and lives under /docs so it can be served via GitHub Pages.
Anchors match IRI fragments (e.g., #ont00012345) and also include label slugs (e.g., #sensor).
This enables immediate dereferencing of CCO IRIs, which is currently blocking downstream use.
Once merged, please enable GitHub Pages (Settings → Pages → Branch: main (or develop), Folder: /docs). After that, IRIs will resolve directly.

@johnbeve
Copy link
Contributor

johnbeve commented Oct 5, 2025

@tinazunner Love this obviously, but could we migrate these changes over to the cco-webpage repository instead? That way we keep all the webpage content separate from CCO ontology development.

@johnbeve
Copy link
Contributor

johnbeve commented Oct 9, 2025

For those evaluating the content of this PR, please see the here

@neilotte @mark-jensen

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.

3 participants