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

Only show legend entries if relevant #472

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

pmcb55
Copy link
Contributor

@pmcb55 pmcb55 commented Sep 20, 2021

The legend shown in the HTML might be a little confusing for people looking at very simple vocabularies, i.e., vocabs that have any NamedIndividual, or DatatypeProperties. So this PR changes the legend-generation code to only display legend entries if the vocabulary does in fact contain at least one term of that legend-entry type.

@dgarijo
Copy link
Owner

dgarijo commented Sep 21, 2021

Thanks @pmcb55,
this makes a lot of sense.

@dgarijo dgarijo merged commit 1c10620 into dgarijo:develop Sep 21, 2021
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.

2 participants