Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-33988

Documenteer: Update extension configuration for sphinx-jinja 2

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Sphinx-jinja 2 (https://pypi.org/project/sphinx-jinja/) changed the name of its Sphinx extension to "sphinx_jinja" from "sphinxcontrib.jinja".

      • Update the Sphinx configuration modules in documenteer to use this new name (ideally testing for the version of sphinx-jinja available.
      • Release new version of documenteer

        Attachments

          Activity

          Hide
          jsick Jonathan Sick added a comment -

          Released as documenteer 0.6.10:

          • Added a new documenteer.packagemetadata module that gets versions of Python packages and provides a Semver class for comparing the semantic versions of a package
          • Using the above utility, adapted the sphinx configuration modules in documenteer so that they'll use a sphinx_jinja extension name if the installed sphinx-jinja package is 2.0.0 or newer, or use the old "sphinxcontrib.jinja" extension name otherwise.
          Show
          jsick Jonathan Sick added a comment - Released as documenteer 0.6.10: Added a new documenteer.packagemetadata module that gets versions of Python packages and provides a Semver class for comparing the semantic versions of a package Using the above utility, adapted the sphinx configuration modules in documenteer so that they'll use a sphinx_jinja extension name if the installed sphinx-jinja package is 2.0.0 or newer, or use the old "sphinxcontrib.jinja" extension name otherwise.

            People

            Assignee:
            jsick Jonathan Sick
            Reporter:
            jsick Jonathan Sick
            Watchers:
            Jonathan Sick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.