mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +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
|
// Insert asset urls & sidebar links
|
||||||
let template_html = assets
|
let template_html = assets
|
||||||
.raw_template_html
|
.raw_template_html
|
||||||
.replace("<!-- search.js -->", "search.js")
|
|
||||||
.replace("<!-- styles.css -->", "styles.css")
|
|
||||||
.replace("<!-- favicon.svg -->", "/favicon.svg")
|
|
||||||
.replace(
|
.replace(
|
||||||
"<!-- Prefetch links -->",
|
"<!-- Prefetch links -->",
|
||||||
loaded_module
|
loaded_module
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
<!-- <meta name="description" content="TODO populate this based on the module's description"> -->
|
<!-- <meta name="description" content="TODO populate this based on the module's description"> -->
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<base href="<!-- base -->">
|
<base href="<!-- base -->">
|
||||||
<script type="text/javascript" src="<!-- search.js -->" defer></script>
|
<script type="text/javascript" src="search.js" defer></script>
|
||||||
<link rel="stylesheet" href="<!-- styles.css -->">
|
<link rel="stylesheet" href="styles.css">
|
||||||
<link rel="icon" href="/favicon.svg">
|
<link rel="icon" href="/favicon.svg">
|
||||||
<link rel="mask-icon" href="/favicon.svg" color="#7d59dd">
|
<link rel="mask-icon" href="/favicon.svg" color="#7d59dd">
|
||||||
<!-- Prefetch links -->
|
<!-- Prefetch links -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue