try a different approach for including custom robots.txt

pull/6529/head
Matt Westcott 2020-12-02 11:13:23 +00:00
rodzic a18a36d820
commit 7f4c914e68
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -163,7 +163,7 @@ html_static_path = ['_static']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
html_extra_path = ['robots.txt']
html_extra_path = ['_html_extra']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.