Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Update extension for Sphinx 4.0#1

Open
nshaud wants to merge 1 commit intonaeka:masterfrom
nshaud:sphinx-4.x
Open

Update extension for Sphinx 4.0#1
nshaud wants to merge 1 commit intonaeka:masterfrom
nshaud:sphinx-4.x

Conversation

@nshaud
Copy link
Copy Markdown

@nshaud nshaud commented Feb 17, 2022

The extension currently breaks with recent versions of Sphinx due to changes in how extensions are imported.

This PR performs two changes:

  • add_stylesheet and add_javascript are now add_css_file and add_js_file
  • make setup a top-level function so that Sphinx can find it

- `add_stylesheet` and `add_javascript` are now `add_css_file` and `add_js_file`
- make setup a top-level function so that Sphinx can find it
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant