OpenDataServices / sphinxcontrib-opendataservices

Sphinx directives maintained by Open Data Services
MIT License
0 stars 0 forks source link

File paths should be relative to the file in which they occur, like in sphinxcontrib-jsonschema #9

Closed jpmckinney closed 6 years ago

jpmckinney commented 6 years ago

We shouldn't have some paths relative to the directory from which the build command is run, and others relative to the files in which the reference is made.

Since the build command could ostensibly be run from many paths, it makes most sense to use paths relative to the file in which the references occur (which is what sphinxcontrib-jsonschema does).

I mostly copied code from sphinxcontrib-jsonschema.