Skip to content

Configure Prefix For gendocs #135

@tobiasschweizer

Description

@tobiasschweizer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions