pradyunsg / furo

A clean customizable documentation theme for Sphinx
https://pradyunsg.me/furo/quickstart
MIT License
2.65k stars 304 forks source link

Sphinx 7.2.1 might be breaking things? #695

Closed jkanche closed 1 year ago

jkanche commented 1 year ago

What's happening?

I was trying to debug whats causing the builds to fail between these two runs - pass vs fail. it boils down to the new release of Sphinx, former using 7.1.2.

This is the error message in the console even though I don't have any html_style set in my configuration.

Extension error (furo):
Handler <function _html_page_context at 0x7faf7425e940> for event 'html-page-context' threw an exception (exception: This documentation is not using `furo.css` as the stylesheet. If you have set `html_style` in your conf.py file, remove it.)

Reproducer

failed build using sphinx 7.2.1

Expectation

successful build using 7.1.2

Code of Conduct

Eric-Arellano commented 1 year ago

See https://github.com/pradyunsg/furo/discussions/693. Pradyun requests that people use discussions rather than issues because they like to use issues only for project tracking. I recommend closing this and moving to https://github.com/pradyunsg/furo/discussions/693.

jkanche commented 1 year ago

Sorry did not see the discussion tab. Thanks for pointing me to that.

ReenigneArcher commented 11 months ago

I get the same thing with Sphinx 7.0.1 and Furo 2023.8.19.

sphinx.errors.ConfigError: This documentation is not using `furo.css` as the stylesheet. If you have set `html_style` in your conf.py file, remove it.

Configuration error:
This documentation is not using `furo.css` as the stylesheet. If you have set `html_style` in your conf.py file, remove it.
jkanche commented 11 months ago

I get the same thing with Sphinx 7.0.1 and Furo 2023.8.19.

sphinx.errors.ConfigError: This documentation is not using `furo.css` as the stylesheet. If you have set `html_style` in your conf.py file, remove it.

Configuration error:
This documentation is not using `furo.css` as the stylesheet. If you have set `html_style` in your conf.py file, remove it.

This is fixed if you switch to the most recent versions of sphinx and furo.