From 1f89bef86004fb2da49e854d67f919902742f97c Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 5 Jun 2023 21:38:24 +0200 Subject: [PATCH] Python doc: cleans up links to RDF specifications --- python/docs/migration.rst | 2 +- test_spec_links.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/docs/migration.rst b/python/docs/migration.rst index 0ebc1cba..0911835a 100644 --- a/python/docs/migration.rst +++ b/python/docs/migration.rst @@ -31,4 +31,4 @@ From 0.2 to 0.3 * :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) 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 `_ 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 `_ 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`. diff --git a/test_spec_links.py b/test_spec_links.py index bfc156e0..76fb2e88 100644 --- a/test_spec_links.py +++ b/test_spec_links.py @@ -14,7 +14,7 @@ base_path = Path(__file__).parent spec_cache = {} errors = set() -for ext in ("md", "rs"): +for ext in ("md", "rs", "rst"): for file in Path(__file__).parent.rglob(f"*.{ext}"): content = file.read_text() for link_regex in LINK_REGEXES: