Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Rename "add_javascript" --> "add_js_file" and "add_stylesheet" --> "add_css_file" #32

Merged
merged 1 commit into from
May 26, 2021

Conversation

sxjscience
Copy link
Contributor

Recently, Sphinx deprecated the usage of "add_javascript" and "add_stylesheet".

add_js_file and add_css_file are the new name for these two functions.

See also:

The renaming happened in Sphinx 1.8 and d2lbook supports sphinx>=2.2.1 so the change should be a backward compatible change of downstream users of d2lbook.

@mli mli merged commit c437e0b into d2l-ai:master May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants