diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-06 08:48:27 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-26 05:37:10 -0800 |
commit | dfb27c0b976ae53f9de5fa0288a7bf8a72aaeb06 (patch) | |
tree | 0e0919963db4d08f03c5b43faa85b0923e009028 /documentation/conf.py | |
parent | 4a66fa862b73d34c476562ce407bf6da84d1cecd (diff) | |
download | poky-dfb27c0b976ae53f9de5fa0288a7bf8a72aaeb06.tar.gz |
sphinx-static/switchers.js.in: do not refer to URL_ROOT anymore
This variable was removed from the Sphinx-generated
documentation_options.js, thus breaking the current implementation of
our switchers.js. Like searchtools.js, which is also generated by
Sphinx, use document.documentElement.dataset.content_root as a
replacement.
To be backwards-compatible to get one or the other.
(From yocto-docs rev: 1771d1b174b42ae9de5b46898a805bee7e10c076)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2849690abf94872e259e712128e90413f3b9a2f2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/conf.py')
0 files changed, 0 insertions, 0 deletions