graphite-project / graphite-web

A highly scalable real-time graphing system
http://graphite.readthedocs.org/
Apache License 2.0
5.89k stars 1.26k forks source link

[BUG] Version switcher does not work in online Graphite Documentation v1.1.3 or older #2666

Closed daniel-dara closed 3 years ago

daniel-dara commented 3 years ago

Describe the bug A clear and concise description of what the bug is. When viewing the online Graphite Documentation, the version switcher appears to be broken when viewing the docs in v1.1.3 or older.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the online Graphite Documentation (https://graphite.readthedocs.io/en/stable/).
  2. Switch to any version older than 1.1.4 (for example, 1.1.3) by clicking the version drop down in the lower left corner.
  3. Attempt to switch versions again. Clicking the version dropdown in the lower left corner does nothing.

Expected behavior It is expected that clicking the version drop down in 1.1.3 or older behaves the same 1.1.4 and newer. That is, a list of versions appears that lets you click a different version.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context The following error shows in the browser console when loading the docs home page with v1.1.3 or lower selected. It does not appear on v1.1.4 or newer, where the version selector works.

(index):381 Uncaught ReferenceError: SphinxRtdTheme is not defined
    at HTMLDocument.<anonymous> ((index):381)
    at f (jquery-2.0.3.min.js:23)
    at Object.fireWith [as resolveWith] (jquery-2.0.3.min.js:23)
    at Function.ready (jquery-2.0.3.min.js:22)
    at HTMLDocument.dt (jquery-2.0.3.min.js:22)
daniel-dara commented 3 years ago

Duplicate of https://github.com/graphite-project/graphite-web/issues/2665. GitHub 404'd on submit but apparently did submit the report.