| ... | ... | @@ -294,6 +294,7 @@ |
| 294 | 294 | padding: 1px 1em; |
| 295 | 295 | } |
| 296 | 296 | |
| 297 | /* help modal */ |
| 297 | 298 | .help-modal { |
| 298 | 299 | display: flex; |
| 299 | 300 | width: 100%; |
| ... | ... | @@ -351,12 +352,12 @@ |
| 351 | 352 | cursor: default; |
| 352 | 353 | } |
| 353 | 354 | |
| 354 | | 	 #listFns dt { |
| 355 | | 		 font-family: var(--mono); |
| 356 | | 	 } |
| 357 | | 	 .argBreaker { |
| 358 | | 		 display: none; |
| 359 | | 	 } |
| 355 | #listFns dt { |
| 356 | font-family: var(--mono); |
| 357 | } |
| 358 | .argBreaker { |
| 359 | display: none; |
| 360 | } |
| 360 | 361 | |
| 361 | 362 | /* tokens */ |
| 362 | 363 | .tok-kw { |
| ... | ... | @@ -390,7 +391,6 @@ |
| 390 | 391 | |
| 391 | 392 | /* dark mode */ |
| 392 | 393 | @media (prefers-color-scheme: dark) { |
| 393 | | |
| 394 | 394 | :root { |
| 395 | 395 | --tx-color: #bbb; |
| 396 | 396 | --bg-color: #111; |
| ... | ... | @@ -456,7 +456,6 @@ |
| 456 | 456 | .tok-type { |
| 457 | 457 | color: #68f; |
| 458 | 458 | } |
| 459 | | |
| 460 | 459 | } |
| 461 | 460 | |
| 462 | 461 | @media only screen and (max-width: 750px) { |
| ... | ... | @@ -543,7 +542,7 @@ |
| 543 | 542 | <body class="canvas"> |
| 544 | 543 | <div class="banner"> |
| 545 | 544 | This is a beta autodoc build; expect bugs and missing information. |
| 546 | | <a href="https://github.com/ziglang/zig/wiki/How-to-contribute-to-Autodoc">Report an Issue</a>, |
| 545 | <a href="https://github.com/ziglang/zig/wiki/How-to-contribute-to-Autodoc">Report an Issue</a>, |
| 547 | 546 | <a href="https://github.com/ziglang/zig/wiki/How-to-contribute-to-Autodoc">Contribute</a>, |
| 548 | 547 | <a href="https://github.com/ziglang/zig/wiki/How-to-read-the-standard-library-source-code">Learn more about stdlib source code</a>. |
| 549 | 548 | </div> |
| ... | ... | @@ -554,43 +553,43 @@ |
| 554 | 553 | <div class="logo"> |
| 555 | 554 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 140"> |
| 556 | 555 | <g fill="#F7A41D"> |
| 557 | | 	<g> |
| 558 | | 		<polygon points="46,22 28,44 19,30"/> |
| 559 | | 		<polygon points="46,22 33,33 28,44 22,44 22,95 31,95 20,100 12,117 0,117 0,22" shape-rendering="crispEdges"/> |
| 560 | | 		<polygon points="31,95 12,117 4,106"/> |
| 561 | | 	</g> |
| 562 | | 	<g> |
| 563 | | 		<polygon points="56,22 62,36 37,44"/> |
| 564 | | 		<polygon points="56,22 111,22 111,44 37,44 56,32" shape-rendering="crispEdges"/> |
| 565 | | 		<polygon points="116,95 97,117 90,104"/> |
| 566 | | 		<polygon points="116,95 100,104 97,117 42,117 42,95" shape-rendering="crispEdges"/> |
| 567 | | 		<polygon points="150,0 52,117 3,140 101,22"/> |
| 568 | | 	</g> |
| 569 | | 	<g> |
| 570 | | 		<polygon points="141,22 140,40 122,45"/> |
| 571 | | 		<polygon points="153,22 153,117 106,117 120,105 125,95 131,95 131,45 122,45 132,36 141,22" shape-rendering="crispEdges"/> |
| 572 | | 		<polygon points="125,95 130,110 106,117"/> |
| 573 | | 	</g> |
| 556 | <g> |
| 557 | <polygon points="46,22 28,44 19,30"/> |
| 558 | <polygon points="46,22 33,33 28,44 22,44 22,95 31,95 20,100 12,117 0,117 0,22" shape-rendering="crispEdges"/> |
| 559 | <polygon points="31,95 12,117 4,106"/> |
| 560 | </g> |
| 561 | <g> |
| 562 | <polygon points="56,22 62,36 37,44"/> |
| 563 | <polygon points="56,22 111,22 111,44 37,44 56,32" shape-rendering="crispEdges"/> |
| 564 | <polygon points="116,95 97,117 90,104"/> |
| 565 | <polygon points="116,95 100,104 97,117 42,117 42,95" shape-rendering="crispEdges"/> |
| 566 | <polygon points="150,0 52,117 3,140 101,22"/> |
| 567 | </g> |
| 568 | <g> |
| 569 | <polygon points="141,22 140,40 122,45"/> |
| 570 | <polygon points="153,22 153,117 106,117 120,105 125,95 131,95 131,45 122,45 132,36 141,22" shape-rendering="crispEdges"/> |
| 571 | <polygon points="125,95 130,110 106,117"/> |
| 572 | </g> |
| 574 | 573 | </g> |
| 575 | 574 | <style> |
| 576 | 575 | #text { fill: #121212 } |
| 577 | 576 | @media (prefers-color-scheme: dark) { #text { fill: #f2f2f2 } } |
| 578 | 577 | </style> |
| 579 | 578 | <g id="text"> |
| 580 | | 	<g> |
| 581 | | 		<polygon points="260,22 260,37 229,40 177,40 177,22" shape-rendering="crispEdges"/> |
| 582 | | 		<polygon points="260,37 207,99 207,103 176,103 229,40 229,37"/> |
| 583 | | 		<polygon points="261,99 261,117 176,117 176,103 206,99" shape-rendering="crispEdges"/> |
| 584 | | 	</g> |
| 585 | | 	<rect x="272" y="22" shape-rendering="crispEdges" width="22" height="95"/> |
| 586 | | 	<g> |
| 587 | | 		<polygon points="394,67 394,106 376,106 376,81 360,70 346,67" shape-rendering="crispEdges"/> |
| 588 | | 		<polygon points="360,68 376,81 346,67"/> |
| 589 | | 		<path d="M394,106c-10.2,7.3-24,12-37.7,12c-29,0-51.1-20.8-51.1-48.3c0-27.3,22.5-48.1,52-48.1 c14.3,0,29.2,5.5,38.9,14l-13,15c-7.1-6.3-16.8-10-25.9-10c-17,0-30.2,12.9-30.2,29.5c0,16.8,13.3,29.6,30.3,29.6 c5.7,0,12.8-2.3,19-5.5L394,106z"/> |
| 590 | | 	</g> |
| 579 | <g> |
| 580 | <polygon points="260,22 260,37 229,40 177,40 177,22" shape-rendering="crispEdges"/> |
| 581 | <polygon points="260,37 207,99 207,103 176,103 229,40 229,37"/> |
| 582 | <polygon points="261,99 261,117 176,117 176,103 206,99" shape-rendering="crispEdges"/> |
| 583 | </g> |
| 584 | <rect x="272" y="22" shape-rendering="crispEdges" width="22" height="95"/> |
| 585 | <g> |
| 586 | <polygon points="394,67 394,106 376,106 376,81 360,70 346,67" shape-rendering="crispEdges"/> |
| 587 | <polygon points="360,68 376,81 346,67"/> |
| 588 | <path d="M394,106c-10.2,7.3-24,12-37.7,12c-29,0-51.1-20.8-51.1-48.3c0-27.3,22.5-48.1,52-48.1 c14.3,0,29.2,5.5,38.9,14l-13,15c-7.1-6.3-16.8-10-25.9-10c-17,0-30.2,12.9-30.2,29.5c0,16.8,13.3,29.6,30.3,29.6 c5.7,0,12.8-2.3,19-5.5L394,106z"/> |
| 589 | </g> |
| 591 | 590 | </g> |
| 592 | 591 | </svg> |
| 593 | | </div> |
| 592 | </div> |
| 594 | 593 | <div id="sectMainPkg" class="hidden"> |
| 595 | 594 | <h2><span>Main Package</span></h2> |
| 596 | 595 | <ul class="packages"> |
| ... | ... | @@ -605,10 +604,10 @@ |
| 605 | 604 | <h2><span>Zig Version</span></h2> |
| 606 | 605 | <p class="str" id="tdZigVer"></p> |
| 607 | 606 | </div> |
| 608 | | 		 <div> |
| 609 | | 			 <input id="privDeclsBox" type="checkbox"/> |
| 610 | | <label for="privDeclsBox">Internal Doc Mode</label> |
| 611 | | 		 </div> |
| 607 | <div> |
| 608 | <input id="privDeclsBox" type="checkbox"/> |
| 609 | <label for="privDeclsBox">Internal Doc Mode</label> |
| 610 | </div> |
| 612 | 611 | </nav> |
| 613 | 612 | </div> |
| 614 | 613 | <div class="flex-right"> |
| ... | ... | @@ -704,7 +703,7 @@ |
| 704 | 703 | </table> |
| 705 | 704 | </div> |
| 706 | 705 | </div> |
| 707 | | 		 </section> |
| 706 | </section> |
| 708 | 707 | </div> |
| 709 | 708 | <div class="flex-filler"></div> |
| 710 | 709 | </div> |