From 68e0210746054ac279e9380b0ec2d0bfe14e1ddb Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Wed, 21 Nov 2018 20:15:47 +0900 Subject: [PATCH] doc: Add deprecation info to script_files (template variable) --- doc/templating.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/templating.rst b/doc/templating.rst index e8e4cc415..b3a26c4b1 100644 --- a/doc/templating.rst +++ b/doc/templating.rst @@ -200,6 +200,10 @@ Overriding works like this:: {% set script_files = script_files + ["_static/myscript.js"] %} + .. deprecated:: 1.8.0 + + Please use ``.Sphinx.add_js_file()`` instead. + Helper Functions ~~~~~~~~~~~~~~~~