Hello,

On Mon 27 Nov 2023 at 11:36pm +01, Stéphane Blondon wrote:

> Hello,
>
> the attached file (debian.css) sets up the custom style.
>
> In order to work:
>  - add the 'python3-sphinx-rtd-theme' package to the dependencies
>  - in `conf.py.in`, replace:
>    html_theme = 'nature'
>    by
>    html_theme = 'sphinx_rtd_theme'
>
> The generated conf.py file must contain:
> # Overwrite theme to fit Debian colors
> html_css_files = ['debian.css']
>
>
> Please tell me if it does not work because I made several workarounds
> in order to get it work without everything properly
> installed/configured.

This doesn't seem to be enough to ensure that debian.css gets installed
to the .deb.  I think we might also need to set html_static_path ?

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to