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

Configure Prefix For gendocs #135

Open
tobiasschweizer opened this issue Nov 15, 2023 · 0 comments
Open

Configure Prefix For gendocs #135

tobiasschweizer opened this issue Nov 15, 2023 · 0 comments

Comments

@tobiasschweizer
Copy link

Hi there,

RDFLib changed the default prefixes for schema.org so that schema refers to https://schema.org while the non-TLS version is now prefixed with schema1. This is all fine in the formal sense, however this looks weird in the docs.

Could there be a config option for gendocs so that the prefixes could be set explicitly?
These could be passed to RDFLib as follows:

graph.namespace_manager.bind("schema", "http://schema.org/", override=True, replace=True)

RDFLib/pySHACL#118 (comment)

Thanks for your feedback!

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

No branches or pull requests

1 participant