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

Fix ontodoc for bigmap #543

Merged
merged 7 commits into from
Feb 6, 2023
Merged

Fix ontodoc for bigmap #543

merged 7 commits into from
Feb 6, 2023

Conversation

jesper-friis
Copy link
Collaborator

@jesper-friis jesper-friis commented Feb 6, 2023

Description:

Fixed the following two issues with html generation in ontodoc:

  • http://emmo.info in IRIs became http://emmo:info in the generated html
  • html anchors for IRIs was preflabels. They are now changed to the 'name' part of the IRI (i.e. everything that follows the hash)

The solution with anchors relies on a markdown extension that is specific to Pandoc. Maybe not ideal, but much better than implementing yet a postprocessing step that I stated with...

Type of change:

  • Bug fix.
  • New feature.
  • Documentation update.

Checklist:

This checklist can be used as a help for the reviewer.

  • Is the code easy to read and understand?
  • Are comments for humans to read, not computers to disregard?
  • Does a new feature has an accompanying new test (in the CI or unit testing schemes)?
  • Has the documentation been updated as necessary?
  • Does this close the issue?
  • Is the change limited to the issue?
  • Are errors handled for all outcomes?
  • Does the new feature provide new restrictions on dependencies, and if so is this documented?

Comments:

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.

1 participant