Public bug reported:

This issue happens when trying to build xdg-desktop-portal
documentation.
When installing furo and sphinx via pip, which fetches the latest
version, the theme seems to work fine. I believe this is due to an
incompatibility between the sphinx and furo versions available in Ubuntu
Noble repositories and updating both should solve it.


Steps to reproduce:

1. Create a container/system with Ubuntu Noble
2. `git clone g...@github.com:flatpak/xdg-desktop-portal.git && cd 
xdg-desktop-portal`
3. Install the dependencies via apt from Containerfile 
https://github.com/flatpak/xdg-desktop-portal/blob/ddef51ea19f35ba532e3a8027929363e5d3ae0a7/.github/workflows/Containerfile#L11-L50
4. Install doc dependencies from Ubuntu repositores: `sudo apt install -y 
--no-install-recommends python3-sphinx-copybutton python3-sphinxext-opengraph 
furo python3-sphinx`
5. Compile the docs: `meson setup builddir -Ddocumentation=enabled && ninja -C 
builddir doc/html`
6. Run http.server and open on browser: `python3 -m http.server -d 
builddir/doc/html & xdg-open http://localhost:8000`
7. See that the theme does not switch automatically to dark mode based on 
OS/browser setting and the copybuttons and some other CSS are messed up. (See 
attached image)

** Affects: furo (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "50325626.png"
   
https://bugs.launchpad.net/bugs/2085396/+attachment/5830951/+files/50325626.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085396

Title:
  Furo dark theme does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/furo/+bug/2085396/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to