mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10345 from Thecarisma/fix-theming-add-static-file-documentation
Refractor the example in 'Add your own static files to the build assets' documentation section
This commit is contained in:
@@ -265,7 +265,7 @@ Here is some sample code to accomplish this:
|
||||
copy_asset_file('path/to/myextension/_static/myjsfile.js', staticdir)
|
||||
|
||||
def setup(app):
|
||||
app.connect('builder-inited', copy_custom_files)
|
||||
app.connect('build-finished', copy_custom_files)
|
||||
|
||||
|
||||
Inject JavaScript based on user configuration
|
||||
|
||||
Reference in New Issue
Block a user