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

Fix script insertion in lsst-sphinx-bootstrap-theme for Sphinx 2.0

    XMLWordPrintable

    Details

      Description

      When building docs with Sphinx 2.2, I see this error:

      /lsst_sphinx_bootstrap_theme/layout.html:19: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
      

      This should be a straightforward update to https://github.com/lsst-sqre/lsst-sphinx-bootstrap-theme that I'd expect to be fully backwards compatible.

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            Change log for 0.2.2 release:

            • Insert the sidebar.js via an explicit <script> tag in layout.html, rather than appending to {{script_files}.
              This change is required for Sphinx 3.0 compatibility but is backwards compatible with earlier versions of Sphinx.
            • node-sass is now pinned to 4.13.0 to work around an npm installation issue.
            Show
            jsick Jonathan Sick added a comment - Change log for 0.2.2 release: Insert the sidebar.js via an explicit <script> tag in layout.html , rather than appending to {{script_files}. This change is required for Sphinx 3.0 compatibility but is backwards compatible with earlier versions of Sphinx. node-sass is now pinned to 4.13.0 to work around an npm installation issue.

              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.