+
+
+
+
+
+
+ Loading...
+
+
+
+
+
+
Errors
+
+
anyerror means the error set is known only at runtime.
+
+
+
+
+
+
This function is not tested or referenced.
+
+
+
+
No Results Found
+
Press escape to exit search and then '?' to see more options.
+
+
+
+
+
+
+
+
+
+
+
-
-
Zig Version
-
-
Target
-
-
-
-
-
- Loading...
-
-
-
-
-
-
Errors
-
-
anyerror means the error set is known only at runtime.
-
-
-
-
-
-
This function is not tested or referenced.
-
-
-
-
No Results Found
-
Press escape to exit search and then '?' to see more options.
-
-
-
-
-
-
-
-
-
-
Keyboard Shortcuts
-
- ?
- Show this help dialog
-
- Esc
- Clear focus; close this dialog
-
- s
- Focus the search field
-
- ↑
- Move up in search results
-
- ↓
- Move down in search results
-
- ⏎
- Go to active search result
+
+
+
Keyboard Shortcuts
+
- ?
- Show this help dialog
+
- Esc
- Clear focus; close this dialog
+
- s
- Focus the search field
+
- ↑
- Move up in search results
+
- ↓
- Move down in search results
+
- ⏎
- Go to active search result
+
+
--
2.54.0
From a34b697c0c6655407d08aee1b7f56ce5ca5205a2 Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Thu, 10 Oct 2019 18:55:14 +0300
Subject: [PATCH 2/8] Add transtition to search field
---
lib/std/special/docs/index.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index f0d68ffdab70448461b1a01f87ae5deff64a9d71..c26468be177f2942233a6aa9f9b0e6f00147e96d 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -428,10 +428,13 @@
border-bottom-style: solid;
border-bottom-color: #000;
outline: none;
+ transition: border-bottom-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.search:focus {
border-bottom-color: #ffbb4d;
+ background: white;
+ box-shadow: 0 0.3em 1em 0.125em rgba(0, 0, 0, 0.18);
}
.search::placeholder {
--
2.54.0
From 238ea85b7efcef797d7cb88c97dc677ecacd4938 Mon Sep 17 00:00:00 2001
From: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date: Fri, 11 Oct 2019 00:39:08 +0300
Subject: [PATCH 3/8] Fix dark mode
Additionally introduces css variables
---
lib/std/special/docs/index.html | 681 +++++++++++++++-----------------
1 file changed, 317 insertions(+), 364 deletions(-)
diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html
index c26468be177f2942233a6aa9f9b0e6f00147e96d..81668fd11ecfab240e1cd68d3a08bee14c8db272 100644
--- a/lib/std/special/docs/index.html
+++ b/lib/std/special/docs/index.html
@@ -5,158 +5,243 @@
Documentation - Zig
-
-
+
+
-
-
-
-
-
+
+
+
-
-
+
+
Keyboard Shortcuts
- ?
- Show this help dialog
- Esc
- Clear focus; close this dialog
--
2.54.0
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 81668fd11ecfab240e1cd68d3a08bee14c8db272..c594a30f7a3cbb6f9db0d8daaeda3a32e36c80ed 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;
}
--
2.54.0
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 c594a30f7a3cbb6f9db0d8daaeda3a32e36c80ed..63f9fdc0374dea120ad5c53c52bf4a5e1d2625a8 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
--
2.54.0
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 63f9fdc0374dea120ad5c53c52bf4a5e1d2625a8..0cccf1dabf4ae404e9e72358301a0a39338ed72a 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 @@
+
--
2.54.0
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 8bb6ad414d136c91dbea45dc7dd2645256458247..8ce1033235a4ea4362fb0bbff789988753278d5c 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;
}
--
2.54.0