Skip to content

Commit f85e832

Browse files
committed
deploy: 4165fcc
1 parent b52a7d1 commit f85e832

File tree

163 files changed

+4840
-26879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+4840
-26879
lines changed
-144 Bytes
Binary file not shown.
Binary file not shown.
-60 Bytes
Binary file not shown.
-120 Bytes
Binary file not shown.
-170 Bytes
Binary file not shown.
-73 Bytes
Binary file not shown.

asap_app_imgui_master/html/.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: ac60f36c99b8141101bb9dd13b5a919b
3+
config: 8e1a5333f5dbb3526b8150bcecd25351
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

asap_app_imgui_master/html/_sources/index.rst.txt asap_app_imgui_master/html/_sources/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Parts of the documentation
5050
Acknowledgements
5151
================
5252

53-
.. figure:: https://executablebooks.org/en/latest/_static/logo-wide.png
53+
.. figure:: https://executablebooks.org/en/latest/_static/logo-wide.svg
5454
:figclass: margin
5555
:alt: Executable Books Project
5656
:name: executable_book_logo

asap_app_imgui_master/html/_static/basic.css

+26-29
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -222,7 +222,7 @@ table.modindextable td {
222222
/* -- general body styles --------------------------------------------------- */
223223

224224
div.body {
225-
min-width: 450px;
225+
min-width: 360px;
226226
max-width: 800px;
227227
}
228228

@@ -237,16 +237,6 @@ a.headerlink {
237237
visibility: hidden;
238238
}
239239

240-
a.brackets:before,
241-
span.brackets > a:before{
242-
content: "[";
243-
}
244-
245-
a.brackets:after,
246-
span.brackets > a:after {
247-
content: "]";
248-
}
249-
250240
h1:hover > a.headerlink,
251241
h2:hover > a.headerlink,
252242
h3:hover > a.headerlink,
@@ -335,12 +325,16 @@ p.sidebar-title {
335325
font-weight: bold;
336326
}
337327

328+
nav.contents,
329+
aside.topic,
338330
div.admonition, div.topic, blockquote {
339331
clear: left;
340332
}
341333

342334
/* -- topics ---------------------------------------------------------------- */
343335

336+
nav.contents,
337+
aside.topic,
344338
div.topic {
345339
border: 1px solid #ccc;
346340
padding: 7px;
@@ -379,13 +373,17 @@ div.body p.centered {
379373

380374
div.sidebar > :last-child,
381375
aside.sidebar > :last-child,
376+
nav.contents > :last-child,
377+
aside.topic > :last-child,
382378
div.topic > :last-child,
383379
div.admonition > :last-child {
384380
margin-bottom: 0;
385381
}
386382

387383
div.sidebar::after,
388384
aside.sidebar::after,
385+
nav.contents::after,
386+
aside.topic::after,
389387
div.topic::after,
390388
div.admonition::after,
391389
blockquote::after {
@@ -428,10 +426,6 @@ table.docutils td, table.docutils th {
428426
border-bottom: 1px solid #aaa;
429427
}
430428

431-
table.footnote td, table.footnote th {
432-
border: 0 !important;
433-
}
434-
435429
th {
436430
text-align: left;
437431
padding-right: 5px;
@@ -615,19 +609,26 @@ ul.simple p {
615609
margin-bottom: 0;
616610
}
617611

618-
dl.footnote > dt,
619-
dl.citation > dt {
612+
aside.footnote > span,
613+
div.citation > span {
620614
float: left;
621-
margin-right: 0.5em;
622615
}
623-
624-
dl.footnote > dd,
625-
dl.citation > dd {
616+
aside.footnote > span:last-of-type,
617+
div.citation > span:last-of-type {
618+
padding-right: 0.5em;
619+
}
620+
aside.footnote > p {
621+
margin-left: 2em;
622+
}
623+
div.citation > p {
624+
margin-left: 4em;
625+
}
626+
aside.footnote > p:last-of-type,
627+
div.citation > p:last-of-type {
626628
margin-bottom: 0em;
627629
}
628-
629-
dl.footnote > dd:after,
630-
dl.citation > dd:after {
630+
aside.footnote > p:last-of-type:after,
631+
div.citation > p:last-of-type:after {
631632
content: "";
632633
clear: both;
633634
}
@@ -644,10 +645,6 @@ dl.field-list > dt {
644645
padding-right: 5px;
645646
}
646647

647-
dl.field-list > dt:after {
648-
content: ":";
649-
}
650-
651648
dl.field-list > dd {
652649
padding-left: 0.5em;
653650
margin-top: 0em;

asap_app_imgui_master/html/_static/copybutton.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ div.highlight {
3535
position: relative;
3636
}
3737

38-
.highlight:hover button.copybtn {
38+
/* Show the copybutton */
39+
.highlight:hover button.copybtn, button.copybtn.success {
3940
opacity: 1;
4041
}
4142

asap_app_imgui_master/html/_static/copybutton.js

+35-7
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,25 @@ const clearSelection = () => {
102102
}
103103
}
104104

105-
// Changes tooltip text for two seconds, then changes it back
105+
// Changes tooltip text for a moment, then changes it back
106+
// We want the timeout of our `success` class to be a bit shorter than the
107+
// tooltip and icon change, so that we can hide the icon before changing back.
108+
var timeoutIcon = 2000;
109+
var timeoutSuccessClass = 1500;
110+
106111
const temporarilyChangeTooltip = (el, oldText, newText) => {
107112
el.setAttribute('data-tooltip', newText)
108113
el.classList.add('success')
109-
setTimeout(() => el.setAttribute('data-tooltip', oldText), 2000)
110-
setTimeout(() => el.classList.remove('success'), 2000)
114+
// Remove success a little bit sooner than we change the tooltip
115+
// So that we can use CSS to hide the copybutton first
116+
setTimeout(() => el.classList.remove('success'), timeoutSuccessClass)
117+
setTimeout(() => el.setAttribute('data-tooltip', oldText), timeoutIcon)
111118
}
112119

113120
// Changes the copy button icon for two seconds, then changes it back
114121
const temporarilyChangeIcon = (el) => {
115122
el.innerHTML = iconCheck;
116-
setTimeout(() => {el.innerHTML = iconCopy}, 2000)
123+
setTimeout(() => {el.innerHTML = iconCopy}, timeoutIcon)
117124
}
118125

119126
const addCopyButtonToCodeCells = () => {
@@ -125,7 +132,8 @@ const addCopyButtonToCodeCells = () => {
125132
}
126133

127134
// Add copybuttons to all of our code cells
128-
const codeCells = document.querySelectorAll('div.highlight pre')
135+
const COPYBUTTON_SELECTOR = 'div.highlight pre';
136+
const codeCells = document.querySelectorAll(COPYBUTTON_SELECTOR)
129137
codeCells.forEach((codeCell, index) => {
130138
const id = codeCellId(index)
131139
codeCell.setAttribute('id', id)
@@ -141,10 +149,25 @@ function escapeRegExp(string) {
141149
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
142150
}
143151

152+
/**
153+
* Removes excluded text from a Node.
154+
*
155+
* @param {Node} target Node to filter.
156+
* @param {string} exclude CSS selector of nodes to exclude.
157+
* @returns {DOMString} Text from `target` with text removed.
158+
*/
159+
function filterText(target, exclude) {
160+
const clone = target.cloneNode(true); // clone as to not modify the live DOM
161+
if (exclude) {
162+
// remove excluded nodes
163+
clone.querySelectorAll(exclude).forEach(node => node.remove());
164+
}
165+
return clone.innerText;
166+
}
167+
144168
// Callback when a copy button is clicked. Will be passed the node that was clicked
145169
// should then grab the text and replace pieces of text that shouldn't be used in output
146170
function formatCopyText(textContent, copybuttonPromptText, isRegexp = false, onlyCopyPromptLines = true, removePrompts = true, copyEmptyLines = true, lineContinuationChar = "", hereDocDelim = "") {
147-
148171
var regexp;
149172
var match;
150173

@@ -199,7 +222,12 @@ function formatCopyText(textContent, copybuttonPromptText, isRegexp = false, onl
199222

200223
var copyTargetText = (trigger) => {
201224
var target = document.querySelector(trigger.attributes['data-clipboard-target'].value);
202-
return formatCopyText(target.innerText, '', false, true, true, true, '', '')
225+
226+
// get filtered text
227+
let exclude = '.linenos, .gp';
228+
229+
let text = filterText(target, exclude);
230+
return formatCopyText(text, '', false, true, true, true, '', '')
203231
}
204232

205233
// Initialize with a callback so we can modify the text before copy

asap_app_imgui_master/html/_static/copybutton_funcs.js

+16-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,25 @@ function escapeRegExp(string) {
22
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
33
}
44

5+
/**
6+
* Removes excluded text from a Node.
7+
*
8+
* @param {Node} target Node to filter.
9+
* @param {string} exclude CSS selector of nodes to exclude.
10+
* @returns {DOMString} Text from `target` with text removed.
11+
*/
12+
export function filterText(target, exclude) {
13+
const clone = target.cloneNode(true); // clone as to not modify the live DOM
14+
if (exclude) {
15+
// remove excluded nodes
16+
clone.querySelectorAll(exclude).forEach(node => node.remove());
17+
}
18+
return clone.innerText;
19+
}
20+
521
// Callback when a copy button is clicked. Will be passed the node that was clicked
622
// should then grab the text and replace pieces of text that shouldn't be used in output
723
export function formatCopyText(textContent, copybuttonPromptText, isRegexp = false, onlyCopyPromptLines = true, removePrompts = true, copyEmptyLines = true, lineContinuationChar = "", hereDocDelim = "") {
8-
924
var regexp;
1025
var match;
1126

0 commit comments

Comments
 (0)