diff --git a/Doc/source/designspaceLib/xml.rst b/Doc/source/designspaceLib/xml.rst index ee4edef1c..20952c6f8 100644 --- a/Doc/source/designspaceLib/xml.rst +++ b/Doc/source/designspaceLib/xml.rst @@ -20,10 +20,15 @@ Overview .. code:: xml - + + + + + + @@ -255,6 +260,64 @@ Example of all axis elements together +```` element +====================== + +- Define axis mappings. +- Child element of ``axes`` + + + .. versionadded:: 5.1 + + +```` element +--------------------- + +- Defines an axis mapping. +- Child element of ```` + + + .. versionadded:: 5.1 + + +```` element +................... + +- Defines the input location of an axis mapping. +- Child element of ```` +- Contains one or more ```` elements with designspace locations. + + .. versionadded:: 5.1 + + +```` element +................... + +- Defines the output location of an axis mapping. +- Child element of ```` +- Contains one or more ```` elements with designspace locations. + + .. versionadded:: 5.1 + + +Example of all mappings elements together +========================================= + +.. code:: xml + + + + + + + + + + + + + + ================================ ```` element (top-level) ================================ @@ -304,7 +367,7 @@ See: `OTSpec STAT Axis value table, format 4 `` element ....................... -- Child element of ```` +- Child element of ````, ``input``, or ``output`` elements .. rubric:: Attributes diff --git a/Lib/fontTools/designspaceLib/__init__.py b/Lib/fontTools/designspaceLib/__init__.py index 02b06c8cc..06dd5f67a 100644 --- a/Lib/fontTools/designspaceLib/__init__.py +++ b/Lib/fontTools/designspaceLib/__init__.py @@ -484,14 +484,14 @@ class AxisMappingDescriptor(SimpleDescriptor): Varlib. - .. versionadded:: REPLACEME + .. versionadded:: 5.1 """ self.outputLocation: SimpleLocationDict = outputLocation or {} """dict. Axis values for the output of the mapping, in design space coordinates. Varlib. - .. versionadded:: REPLACEME + .. versionadded:: 5.1 """