File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2929
3030html_zip = f'esp-idf-{ language } -{ release } ' # noqa: F405
3131
32- html_js_files = ['js/chatbot_widget_en.js' ]
32+ # The chatbot is able to answer only about the latest documentation.
33+ # Enable Documentation Chatbot widget only for the master branch.
34+ if release == 'latest' : # noqa: F405
35+ html_js_files = ['js/chatbot_widget_en.js' ]
Original file line number Diff line number Diff line change 2929
3030html_zip = f'esp-idf-{ language } -{ release } ' # noqa: F405
3131
32- html_js_files = ['js/chatbot_widget_cn.js' ]
32+ # The chatbot is able to answer only about the latest documentation.
33+ # Enable Documentation Chatbot widget only for the master branch.
34+ if release == 'latest' : # noqa: F405
35+ html_js_files = ['js/chatbot_widget_cn.js' ]
You can’t perform that action at this time.
0 commit comments