|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
|
3 | 3 |
|
4 | 4 | <meta charset="utf-8">
|
5 |
| -<meta name="generator" content="quarto-1.4.550"> |
| 5 | +<meta name="generator" content="quarto-1.5.53"> |
6 | 6 |
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
8 | 8 |
|
9 | 9 |
|
10 |
| -<title>Stan Docs - Page Not Found</title> |
| 10 | +<title>Page Not Found</title> |
11 | 11 | <style>
|
12 | 12 | code{white-space: pre-wrap;}
|
13 | 13 | span.smallcaps{font-variant: small-caps;}
|
|
33 | 33 | }
|
34 | 34 | @media print {
|
35 | 35 | pre > code.sourceCode { white-space: pre-wrap; }
|
36 |
| -pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } |
| 36 | +pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } |
37 | 37 | }
|
38 | 38 | pre.numberSource code
|
39 | 39 | { counter-reset: source-line 0; }
|
|
119 | 119 | </a>
|
120 | 120 | </div>
|
121 | 121 | <div id="quarto-search" class="" title="Search"></div>
|
122 |
| - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
| 122 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
123 | 123 | <span class="navbar-toggler-icon"></span>
|
124 | 124 | </button>
|
125 | 125 | <div class="collapse navbar-collapse" id="navbarCollapse">
|
|
141 | 141 | <span class="menu-text">Functions Reference</span></a>
|
142 | 142 | </li>
|
143 | 143 | <li class="nav-item dropdown ">
|
144 |
| - <a class="nav-link dropdown-toggle" href="#" id="nav-menu-interfaces" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
| 144 | + <a class="nav-link dropdown-toggle" href="#" id="nav-menu-interfaces" role="link" data-bs-toggle="dropdown" aria-expanded="false"> |
145 | 145 | <span class="menu-text">Interfaces</span>
|
146 | 146 | </a>
|
147 | 147 | <ul class="dropdown-menu" aria-labelledby="nav-menu-interfaces">
|
|
172 | 172 | </ul>
|
173 | 173 | </li>
|
174 | 174 | <li class="nav-item dropdown ">
|
175 |
| - <a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-packages" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
| 175 | + <a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-packages" role="link" data-bs-toggle="dropdown" aria-expanded="false"> |
176 | 176 | <span class="menu-text">Other Packages</span>
|
177 | 177 | </a>
|
178 | 178 | <ul class="dropdown-menu" aria-labelledby="nav-menu-other-packages">
|
|
216 | 216 | </li>
|
217 | 217 | </ul>
|
218 | 218 | </div> <!-- /navcollapse -->
|
219 |
| - <div class="quarto-navbar-tools tools-wide"> |
| 219 | + <div class="quarto-navbar-tools tools-wide"> |
220 | 220 | <a href="https://github.com/stan-dev" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a>
|
221 | 221 | <a href="https://discourse.mc-stan.org" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-chat-text-fill"></i></a>
|
222 | 222 | <a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
|
|
233 | 233 | <div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
|
234 | 234 | <!-- sidebar -->
|
235 | 235 | <!-- margin-sidebar -->
|
236 |
| - <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> |
| 236 | + <div id="quarto-margin-sidebar" class="sidebar margin-sidebar zindex-bottom"> |
237 | 237 |
|
238 | 238 | </div>
|
239 | 239 | <!-- main -->
|
@@ -448,18 +448,7 @@ <h1 class="title">Page Not Found</h1>
|
448 | 448 | }
|
449 | 449 | return false;
|
450 | 450 | }
|
451 |
| - const clipboard = new window.ClipboardJS('.code-copy-button', { |
452 |
| - text: function(trigger) { |
453 |
| - const codeEl = trigger.previousElementSibling.cloneNode(true); |
454 |
| - for (const childEl of codeEl.children) { |
455 |
| - if (isCodeAnnotation(childEl)) { |
456 |
| - childEl.remove(); |
457 |
| - } |
458 |
| - } |
459 |
| - return codeEl.innerText; |
460 |
| - } |
461 |
| - }); |
462 |
| - clipboard.on('success', function(e) { |
| 451 | + const onCopySuccess = function(e) { |
463 | 452 | // button target
|
464 | 453 | const button = e.trigger;
|
465 | 454 | // don't keep focus
|
@@ -491,7 +480,47 @@ <h1 class="title">Page Not Found</h1>
|
491 | 480 | }, 1000);
|
492 | 481 | // clear code selection
|
493 | 482 | e.clearSelection();
|
| 483 | + } |
| 484 | + const getTextToCopy = function(trigger) { |
| 485 | + const codeEl = trigger.previousElementSibling.cloneNode(true); |
| 486 | + for (const childEl of codeEl.children) { |
| 487 | + if (isCodeAnnotation(childEl)) { |
| 488 | + childEl.remove(); |
| 489 | + } |
| 490 | + } |
| 491 | + return codeEl.innerText; |
| 492 | + } |
| 493 | + const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', { |
| 494 | + text: getTextToCopy |
494 | 495 | });
|
| 496 | + clipboard.on('success', onCopySuccess); |
| 497 | + if (window.document.getElementById('quarto-embedded-source-code-modal')) { |
| 498 | + // For code content inside modals, clipBoardJS needs to be initialized with a container option |
| 499 | + // TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860) |
| 500 | + const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', { |
| 501 | + text: getTextToCopy, |
| 502 | + container: window.document.getElementById('quarto-embedded-source-code-modal') |
| 503 | + }); |
| 504 | + clipboardModal.on('success', onCopySuccess); |
| 505 | + } |
| 506 | + var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//); |
| 507 | + var mailtoRegex = new RegExp(/^mailto:/); |
| 508 | + var filterRegex = new RegExp('/' + window.location.host + '/'); |
| 509 | + var isInternal = (href) => { |
| 510 | + return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href); |
| 511 | + } |
| 512 | + // Inspect non-navigation links and adorn them if external |
| 513 | + var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)'); |
| 514 | + for (var i=0; i<links.length; i++) { |
| 515 | + const link = links[i]; |
| 516 | + if (!isInternal(link.href)) { |
| 517 | + // undo the damage that might have been done by quarto-nav.js in the case of |
| 518 | + // links that we want to consider external |
| 519 | + if (link.dataset.originalHref !== undefined) { |
| 520 | + link.href = link.dataset.originalHref; |
| 521 | + } |
| 522 | + } |
| 523 | + } |
495 | 524 | function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
|
496 | 525 | const config = {
|
497 | 526 | allowHTML: true,
|
@@ -526,7 +555,11 @@ <h1 class="title">Page Not Found</h1>
|
526 | 555 | try { href = new URL(href).hash; } catch {}
|
527 | 556 | const id = href.replace(/^#\/?/, "");
|
528 | 557 | const note = window.document.getElementById(id);
|
529 |
| - return note.innerHTML; |
| 558 | + if (note) { |
| 559 | + return note.innerHTML; |
| 560 | + } else { |
| 561 | + return ""; |
| 562 | + } |
530 | 563 | });
|
531 | 564 | }
|
532 | 565 | const xrefs = window.document.querySelectorAll('a.quarto-xref');
|
|
0 commit comments