sphinxbootstrap4theme icon indicating copy to clipboard operation
sphinxbootstrap4theme copied to clipboard

Warning when building

Open wbnns opened this issue 6 years ago • 6 comments

Hello, when running make html the following warning appears during the build:

search/usr/local/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a

wbnns avatar Jun 07 '19 19:06 wbnns

Getting same thing here

The HTML pages are in ../public.
/usr/local/lib/python3.6/dist-packages/themes/sphinxbootstrap4theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
  {% trans %}From here you can search these documents. Enter your search
/usr/local/lib/python3.6/dist-packages/themes/sphinxbootstrap4theme/layout.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.

pedromorgan avatar Aug 02 '19 15:08 pedromorgan

Same here...

preparing documents... done
/usr/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/layout.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
  
writing output... [100%] index                                                                                                                 
generating indices... genindex
writing additional pages... search/usr/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/search.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
  {% trans %}From here you can search these documents. Enter your search
/usr/lib/python3.7/site-packages/themes/sphinxbootstrap4theme/layout.html:20: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.

plutext avatar Aug 13 '19 23:08 plutext

I've got a fix for this in the below pull request https://github.com/myyasuda/sphinxbootstrap4theme/pull/11/commits/2dcf81ff441404a5143891b4ce35aaf8f7b93298

Hecatron avatar Oct 04 '19 13:10 Hecatron

@grbd Thank you.

wbnns avatar Oct 05 '19 08:10 wbnns

Is this in master yet ?

pedromorgan avatar Oct 05 '19 11:10 pedromorgan

no but you could just install the modified one from

pip install git+https://github.com/Hecatron-Forks/sphinxbootstrap4theme

Hecatron avatar Oct 05 '19 13:10 Hecatron