mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Simplify some templatized links
This commit is contained in:
parent
d3ae8b719b
commit
789090a514
2 changed files with 2 additions and 5 deletions
|
@ -102,9 +102,6 @@ pub fn generate_docs_html(root_file: PathBuf) {
|
|||
// Insert asset urls & sidebar links
|
||||
let template_html = assets
|
||||
.raw_template_html
|
||||
.replace("<!-- search.js -->", "search.js")
|
||||
.replace("<!-- styles.css -->", "styles.css")
|
||||
.replace("<!-- favicon.svg -->", "/favicon.svg")
|
||||
.replace(
|
||||
"<!-- Prefetch links -->",
|
||||
loaded_module
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<!-- <meta name="description" content="TODO populate this based on the module's description"> -->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<base href="<!-- base -->">
|
||||
<script type="text/javascript" src="<!-- search.js -->" defer></script>
|
||||
<link rel="stylesheet" href="<!-- styles.css -->">
|
||||
<script type="text/javascript" src="search.js" defer></script>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="icon" href="/favicon.svg">
|
||||
<link rel="mask-icon" href="/favicon.svg" color="#7d59dd">
|
||||
<!-- Prefetch links -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue