+
+
Keyboard Shortcuts
- ?
- Show this help dialog
- Esc
- Clear focus; close this dialog
From 429d5f287982cf82ee4229acd44509d782304141 Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Fri, 11 Oct 2019 00:48:54 +0300
Subject: [PATCH 4/8] Changes from master
---
lib/std/special/docs/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index 81668fd11e..c594a30f7a 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -245,7 +245,7 @@
vertical-align: top;
margin: 0;
padding: 0.5em;
- max-width: 20em;
+ max-width: 27em;
text-overflow: ellipsis;
overflow-x: hidden;
}
From 2bb2a2fcea5d4c22e7dfed529b318b9ba88e2ac9 Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Fri, 11 Oct 2019 03:54:03 +0300
Subject: [PATCH 5/8] Changes from master
---
lib/std/special/docs/index.html | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index c594a30f7a..63f9fdc037 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -448,6 +448,17 @@
+
+
+
This function is not tested or referenced.
+
+
+
+ This declaration is not tested or referenced, and it has therefore not been included in
+ semantic analysis, which means the only documentation available is whatever is in the
+ doc comments.
+
+
Errors
@@ -456,10 +467,6 @@
-
-
-
This function is not tested or referenced.
-
Search Results
From b175468159c8c08b1185e21ed595205a6fe3d72d Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Sat, 12 Oct 2019 19:17:35 +0300
Subject: [PATCH 6/8] Consistent margins
---
lib/std/special/docs/index.html | 34 ++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index 63f9fdc037..0cccf1dabf 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -96,11 +96,12 @@
}
.sidebar .logo {
- padding: 0.35rem 0.35rem;
+ padding: 1rem 0.35rem 0.35rem 0.35rem;
}
- .sidebar .logo > img {
- width: 100%;
+ .sidebar .logo > svg {
+ display: block;
+ overflow: visible;
}
.sidebar h2 {
@@ -144,7 +145,7 @@
/* docs section */
.docs {
- padding: 0.7rem 0.7rem 2.4rem 1.4rem;
+ padding: 1rem 0.7rem 2.4rem 1.4rem;
font-size: 1rem;
background-color: var(--bg-color);
overflow-wrap: break-word;
@@ -152,6 +153,7 @@
.docs .search {
width: 100%;
+ margin-bottom: 0.8rem;
padding: 0.5rem;
font-size: 1rem;
font-family: var(--ui);
@@ -184,6 +186,10 @@
color: var(--link-color);
}
+ .docs p {
+ margin: 0.8rem 0;
+ }
+
.docs pre {
font-family: var(--mono);
font-size:1em;
@@ -194,22 +200,25 @@
.docs code {
font-family: var(--mono);
- font-size:1em;
+ font-size: 1em;
}
.docs h1 {
- border-bottom: 1px dashed;
+ font-size: 1.4em;
+ margin: 0.8em 0;
+ padding: 0;
+ border-bottom: 0.0625rem dashed;
}
.docs h2 {
font-size: 1.3em;
margin: 0.5em 0;
padding: 0;
- border-bottom: 1px solid;
+ border-bottom: 0.0625rem solid;
}
#listNav {
list-style-type: none;
- margin: 0.5em 0 0 0;
+ margin: 0;
padding: 0;
overflow: hidden;
background-color: #f1f1f1;
@@ -424,7 +433,14 @@
+
From c95a9e978582ca96bf5462c6bfdd40b934e9ba92 Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Thu, 17 Oct 2019 01:54:39 +0300
Subject: [PATCH 8/8] Cleanup
---
lib/std/special/docs/index.html | 41 +++++++++++++++++----------------
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index 8bb6ad414d..8ce1033235 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -13,6 +13,13 @@
--bg-color: #ffffff;
--link-color: #2A6286;
--sidebar-sh-color: rgba(0, 0, 0, 0.09);
+ --sidebar-pkg-bg-color: #f1f1f1;
+ --sidebar-pkglnk-tx-color: #141414;
+ --sidebar-pkglnk-tx-color-hover: #fff;
+ --sidebar-pkglnk-tx-color-active: #000;
+ --sidebar-pkglnk-bg-color: transparent;
+ --sidebar-pkglnk-bg-color-hover: #555;
+ --sidebar-pkglnk-bg-color-active: #FFBB4D;
--search-bg-color: #f3f3f3;
--search-bg-color-focus: #ffffff;
--search-sh-color: rgba(0, 0, 0, 0.18);
@@ -118,24 +125,25 @@
list-style-type: none;
margin: 0;
padding: 0;
- background-color: #f1f1f1;
+ background-color: var(--sidebar-pkg-bg-color);
}
.sidebar .packages > li > a {
display: block;
padding: 0.5rem 1rem;
- color: var(--tx-color);
+ color: var(--sidebar-pkglnk-tx-color);
+ background-color: var(--sidebar-pkglnk-bg-color);
text-decoration: none;
}
.sidebar .packages > li > a:hover {
- color: #fff;
- background-color: #555;
+ color: var(--sidebar-pkglnk-tx-color-hover);
+ background-color: var(--sidebar-pkglnk-bg-color-hover);
}
.sidebar .packages > li > a.active {
- color: #000;
- background-color: #FFBB4D;
+ color: var(--sidebar-pkglnk-tx-color-active);
+ background-color: var(--sidebar-pkglnk-bg-color-active);
}
.sidebar p.str {
@@ -367,6 +375,13 @@
--bg-color: #111;
--link-color: #88f;
--sidebar-sh-color: rgba(128, 128, 128, 0.09);
+ --sidebar-pkg-bg-color: #333;
+ --sidebar-pkglnk-tx-color: #fff;
+ --sidebar-pkglnk-tx-color-hover: #fff;
+ --sidebar-pkglnk-tx-color-active: #000;
+ --sidebar-pkglnk-bg-color: transparent;
+ --sidebar-pkglnk-bg-color-hover: #555;
+ --sidebar-pkglnk-bg-color-active: #FFBB4D;
--search-bg-color: #3c3c3c;
--search-bg-color-focus: #000;
--search-sh-color: rgba(255, 255, 255, 0.28);
@@ -390,20 +405,6 @@
background-color: #FFBB4D;
color: #000;
}
- #listPkgs {
- background-color: #333;
- }
- #listPkgs li a {
- color: #fff;
- }
- #listPkgs li a:hover {
- background-color: #555;
- color: #fff;
- }
- #listPkgs li a.active {
- background-color: #FFBB4D;
- color: #000;
- }
#listSearchResults li.selected {
background-color: #000;
}