Python doc: cleans up links to RDF specifications

pull/530/head
Tpt 2 years ago committed by Thomas Tanon
parent ac61adc9c2
commit 1f89bef860
  1. 2
      python/docs/migration.rst
  2. 2
      test_spec_links.py

@ -31,4 +31,4 @@ From 0.2 to 0.3
* :py:class:`.Store` operations are now transactional using the "repeatable read" isolation level: * :py:class:`.Store` operations are now transactional using the "repeatable read" isolation level:
the store only exposes changes that have been "committed" (i.e. no partial writes) the store only exposes changes that have been "committed" (i.e. no partial writes)
and the exposed state does not change for the complete duration of a read operation (e.g. a SPARQL query) or a read/write operation (e.g. a SPARQL update). and the exposed state does not change for the complete duration of a read operation (e.g. a SPARQL query) or a read/write operation (e.g. a SPARQL update).
* `RDF-star <https://w3c.github.io/rdf-star/cg-spec>`_ is now supported (including serialization formats and SPARQL-star). :py:class:`.Triple` can now be used in :py:attr:`.Triple.object`, :py:attr:`.Triple.object`, :py:attr:`.Quad.subject` and :py:attr:`.Quad.object`. * `RDF-star <https://w3c.github.io/rdf-star/cg-spec/2021-12-17.html>`_ is now supported (including serialization formats and SPARQL-star). :py:class:`.Triple` can now be used in :py:attr:`.Triple.object`, :py:attr:`.Triple.object`, :py:attr:`.Quad.subject` and :py:attr:`.Quad.object`.

@ -14,7 +14,7 @@ base_path = Path(__file__).parent
spec_cache = {} spec_cache = {}
errors = set() errors = set()
for ext in ("md", "rs"): for ext in ("md", "rs", "rst"):
for file in Path(__file__).parent.rglob(f"*.{ext}"): for file in Path(__file__).parent.rglob(f"*.{ext}"):
content = file.read_text() content = file.read_text()
for link_regex in LINK_REGEXES: for link_regex in LINK_REGEXES:

Loading…
Cancel
Save