Skip to content

Conversation

@sujaypatil96
Copy link
Contributor

@sujaypatil96 sujaypatil96 commented Nov 14, 2023

Resolves #332

This PR added in the relevant/necessary base jinja templates (as is) from the linkml library: https://github.com/linkml/linkml/tree/main/linkml/generators/docgen in a folder called src/doc-templates. Now the jinja templates can be edited here, in order to customize the class/slot/index, etc. documentation pages to look like how we want them to look. The downstream makefile target which uses linkml gen-doc is make gendoc and that has been updated too.

  • docs/ have been added/updated if necessary
  • make test has been run locally
  • tests have been added/updated (if applicable)
  • CHANGELOG.md has been updated.

@sujaypatil96 sujaypatil96 changed the title Issue 332 Add ability to customize documentation pages using jinja templates Nov 14, 2023
@matentzn matentzn merged commit e5c723a into master Nov 14, 2023
@matentzn matentzn deleted the issue-332 branch November 14, 2023 09:55
matentzn added a commit that referenced this pull request Nov 14, 2023
Related to #332 #333 

- [ ] `docs/` have been added/updated if necessary
- [ ] `make test` has been run locally
- [ ] tests have been added/updated (if applicable)
- [ ]
[CHANGELOG.md](https://github.com/mapping-commons/sssom/blob/master/CHANGELOG.md)
has been updated.

This PR ensures that the changes provided by @sujaypatil96 in #333 are
also taken into account by the automatic SSSOM docs deploy system.
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.

Add custom jinja templates for the rendering of the SSSOM docs (slots, classes, index)

3 participants