openstackdocstheme doesn't activate scripts

Bug #1798002 reported by Tony Breeds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstackdocstheme
Fix Released
Undecided
Tony Breeds

Bug Description

When trying to convert the election repo, which uses javascript, to openstackdocstheme we noticed that the javascript sources are added to _static but they're never referenced in a <script></script> element.

Changed in openstack-doc-tools:
assignee: nobody → Tony Breeds (o-tony)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstackdocstheme (master)

Reviewed: https://review.openstack.org/609567
Committed: https://git.openstack.org/cgit/openstack/openstackdocstheme/commit/?id=3c5947dd995c66efe063fda351b6458e07fe6653
Submitter: Zuul
Branch: master

commit 3c5947dd995c66efe063fda351b6458e07fe6653
Author: Tony Breeds <email address hidden>
Date: Thu Oct 11 11:34:42 2018 +1100

    Add scripts to the head section

    For consumers that also call the add_javascript() function scripts are
    added to the _static folder but not loaded in the HTML resulting in them
    not working.

    This change iterates over the script_files lists and adds the needed
    <script></script> element.

    Closes-Bug: 1798002
    Needed-By: https://review.openstack.org/#/c/607538/
    Change-Id: Ie39e138314fed91f59cd9cb5d78d676c04fb78e6

Changed in openstack-doc-tools:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstackdocstheme 1.26.0

This issue was fixed in the openstack/openstackdocstheme 1.26.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.