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

Add ability to customize documentation pages using jinja templates #333

Merged
merged 2 commits into from
Nov 14, 2023

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
3 checks passed
@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)
2 participants