diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-06 08:48:27 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-18 06:59:35 -0800 |
commit | 217e1de9e8df84541900145e2f312beabe8c67d4 (patch) | |
tree | 29a5e1020679e82f083dfc6df86cec6c5b00666f /documentation/conf.py | |
parent | 1371c1106beff6e33cfb46d5c509d42e566eb50c (diff) | |
download | poky-217e1de9e8df84541900145e2f312beabe8c67d4.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: d8f4e179dd80e2f2618adfe12dbddad4bd29d488)
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