diff --git a/docs/source/conf.py b/docs/source/conf.py index 8cb4f2da0..44839f0d7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -444,7 +444,9 @@ def doc_redirect_include(file_path): "https://ogc-ems.crim.ca/.*", "https://ogc-ades.crim.ca/.*", "https://ogc.crim.ca/.*", - "https://github.com/*.rst#*", + "https://github.com/.*\\.rst#.*", + # GitHub anchors causing problems + "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#xml-object", ] linkcheck_timeout = 30 diff --git a/docs/source/package.rst b/docs/source/package.rst index 7462ad771..3597e8ae4 100644 --- a/docs/source/package.rst +++ b/docs/source/package.rst @@ -579,10 +579,9 @@ In the :term:`WPS` context, three data types exist, namely ``Literal``, ``Boundi As of the current version of `Weaver`, :term:`WPS` data type ``BoundingBox`` is not completely supported. The schema definition exists in :term:`WPS` and :term:`OAS` contexts but is not handled by any :term:`CWL` type conversion yet. This feature is reflected by issue `#51 `_. - It is possible to use a ``Literal`` data of type ``string`` corresponding to :term:`WKT` [#]_, [#]_ in the meantime. + It is possible to use a ``Literal`` data of type ``string`` corresponding to :term:`WKT` [#]_ in the meantime. .. [#] |wkt-example|_ -.. [#] |wkt-format|_ As presented in previous examples, :term:`I/O` in the :term:`WPS` context does not require an explicit indication of which data type from one of ``Literal``, ``BoundingBox`` and ``Complex`` to apply. Instead, :term:`WPS` type can be diff --git a/docs/source/references.rst b/docs/source/references.rst index 1b85a9c82..dc31fef95 100644 --- a/docs/source/references.rst +++ b/docs/source/references.rst @@ -102,8 +102,6 @@ .. _pywps-multi-output: https://pywps.readthedocs.io/en/master/process.html#returning-multiple-files .. |wkt-example| replace:: WKT Examples .. _wkt-example: https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry -.. |wkt-format| replace:: WKT Formats -.. _wkt-format: https://docs.geotools.org/stable/javadocs/org/opengis/referencing/doc-files/WKT.html .. |weaver-issues| replace:: Weaver issues .. _weaver-issues: https://github.com/crim-ca/weaver/issues .. |submit-issue| replace:: submit a new issue diff --git a/weaver/wps_restapi/colander_extras.py b/weaver/wps_restapi/colander_extras.py index 8c3964aff..548577802 100644 --- a/weaver/wps_restapi/colander_extras.py +++ b/weaver/wps_restapi/colander_extras.py @@ -578,7 +578,7 @@ class XMLObject(object): The value of ``title`` provided as option or .. seealso:: - - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#user-content-xml-object + - https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#xml-object - https://swagger.io/docs/specification/data-models/representing-xml/ """ attribute = None # define the corresponding node object as attribute instead of field