pradyunsg / furo

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

Simplify retrieval of ``pygments_dark_style`` value #699

Closed AA-Turner closed 1 year ago

AA-Turner commented 1 year ago

I'm fairly sure that this was fixed by https://github.com/sphinx-doc/sphinx/pull/10079, included in Sphinx 4.4 -- this theme now requires Sphinx 6.

pradyunsg commented 1 year ago
====================================================================================================
sorted(vars(config))=['_raw_config', 'epub_css_files', 'extensions', 'html_css_files', 'html_js_files', 'html_theme', 'numfig_format', 'overrides', 'sample_theme_configuration_value', 'setup', 'source_suffix', 'values']
config.sample_theme_configuration_value='from conf.py'
config._raw_config['sample_theme_configuration_value']='from conf.py'
====================================================================================================
sorted(vars(config))=['_raw_config', 'epub_css_files', 'extensions', 'html_css_files', 'html_js_files', 'html_theme', 'numfig_format', 'overrides', 'sample_theme_configuration_value', 'setup', 'source_suffix', 'values']
config.sample_theme_configuration_value='from conf.py'
config._raw_config['sample_theme_configuration_value']='from conf.py'
====================================================================================================

Confirmed that things work well starting Sphinx v4.5.0.