Change root_path to static_root_path
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
parent
d44c6ed351
commit
a245642cab
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ crate fn render<T: Print, S: Print>(
|
|||
{after_content}\
|
||||
<div id=\"rustdoc-vars\" data-root-path=\"{root_path}\" data-current-crate=\"{krate}\" \
|
||||
data-search-index-js=\"{root_path}search-index{suffix}.js\" \
|
||||
data-search-js=\"{root_path}search{suffix}.js\"></div>
|
||||
data-search-js=\"{static_root_path}search{suffix}.js\"></div>
|
||||
<script src=\"{static_root_path}main{suffix}.js\"></script>\
|
||||
{extra_scripts}\
|
||||
</body>\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue