Browse Source

build based on cb788bc

gh-pages
Documenter.jl 4 years ago
parent
commit
a90d34e11a
  1. 61
      dev/assets/documenter.js
  2. 29
      dev/assets/themes/documenter-dark.css
  3. 30
      dev/assets/themes/documenter-light.css
  4. 4
      dev/customprocessing/index.html
  5. 4
      dev/documenter/index.html
  6. 4
      dev/fileformat/index.html
  7. 134
      dev/generated/example.ipynb
  8. 68
      dev/generated/example/index.html
  9. 2
      dev/generated/name/index.html
  10. 6
      dev/generated/notebook.ipynb
  11. 2
      dev/index.html
  12. 6
      dev/outputformats/index.html
  13. 4
      dev/pipeline/index.html
  14. 2
      dev/search/index.html
  15. 2
      dev/search_index.js
  16. 4
      dev/tips/index.html

61
dev/assets/documenter.js

@ -70,6 +70,67 @@ $(document).ready(function() {
hljs.highlightAll(); hljs.highlightAll();
}) })
})
////////////////////////////////////////////////////////////////////////////////
require([], function() {
function addCopyButtonCallbacks() {
for (const el of document.getElementsByTagName("pre")) {
const button = document.createElement("button");
button.classList.add("copy-button", "fas", "fa-copy");
el.appendChild(button);
const success = function () {
button.classList.add("success", "fa-check");
button.classList.remove("fa-copy");
};
const failure = function () {
button.classList.add("error", "fa-times");
button.classList.remove("fa-copy");
};
button.addEventListener("click", function () {
copyToClipboard(el.innerText).then(success, failure);
setTimeout(function () {
button.classList.add("fa-copy");
button.classList.remove("success", "fa-check", "fa-times");
}, 5000);
});
}
}
function copyToClipboard(text) {
// clipboard API is only available in secure contexts
if (window.navigator && window.navigator.clipboard) {
return window.navigator.clipboard.writeText(text);
} else {
return new Promise(function (resolve, reject) {
try {
const el = document.createElement("textarea");
el.textContent = text;
el.style.position = "fixed";
el.style.opacity = 0;
document.body.appendChild(el);
el.select();
document.execCommand("copy");
resolve();
} catch (err) {
reject(err);
} finally {
document.body.removeChild(el);
}
});
}
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", addCopyButtonCallbacks);
} else {
addCopyButtonCallbacks();
}
}) })
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
require(['jquery', 'headroom', 'headroom-jquery'], function($, Headroom) { require(['jquery', 'headroom', 'headroom-jquery'], function($, Headroom) {

29
dev/assets/themes/documenter-dark.css

@ -7179,6 +7179,35 @@ html.theme--documenter-dark {
visibility: visible; } visibility: visible; }
html.theme--documenter-dark .docs-light-only { html.theme--documenter-dark .docs-light-only {
display: none !important; } display: none !important; }
html.theme--documenter-dark pre {
position: relative; }
html.theme--documenter-dark pre .copy-button {
opacity: 0.2;
transition: opacity 0.2s;
position: absolute;
right: 0em;
top: 0em;
padding: 0.5em;
width: 2.5em;
height: 2.5em;
background: transparent;
border: none;
font-family: "Font Awesome 5 Free";
color: #fff;
cursor: pointer;
text-align: center; }
html.theme--documenter-dark pre .copy-button:focus, html.theme--documenter-dark pre .copy-button:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.1);
color: #1abc9c; }
html.theme--documenter-dark pre .copy-button.success {
color: #259a12;
opacity: 1; }
html.theme--documenter-dark pre .copy-button.error {
color: #cb3c33;
opacity: 1; }
html.theme--documenter-dark pre:hover .copy-button {
opacity: 1; }
html.theme--documenter-dark .admonition { html.theme--documenter-dark .admonition {
background-color: #282f2f; background-color: #282f2f;
border-style: solid; border-style: solid;

30
dev/assets/themes/documenter-light.css

@ -7114,6 +7114,36 @@ h1:hover .docs-heading-anchor-permalink, h2:hover .docs-heading-anchor-permalink
.docs-dark-only { .docs-dark-only {
display: none !important; } display: none !important; }
pre {
position: relative; }
pre .copy-button {
opacity: 0.2;
transition: opacity 0.2s;
position: absolute;
right: 0em;
top: 0em;
padding: 0.5em;
width: 2.5em;
height: 2.5em;
background: transparent;
border: none;
font-family: "Font Awesome 5 Free";
color: #222222;
cursor: pointer;
text-align: center; }
pre .copy-button:focus, pre .copy-button:hover {
opacity: 1;
background: rgba(34, 34, 34, 0.1);
color: #2e63b8; }
pre .copy-button.success {
color: #259a12;
opacity: 1; }
pre .copy-button.error {
color: #cb3c33;
opacity: 1; }
pre:hover .copy-button {
opacity: 1; }
.admonition { .admonition {
background-color: #b5b5b5; background-color: #b5b5b5;
border-style: solid; border-style: solid;

4
dev/customprocessing/index.html

File diff suppressed because one or more lines are too long

4
dev/documenter/index.html

File diff suppressed because one or more lines are too long

4
dev/fileformat/index.html

File diff suppressed because one or more lines are too long

134
dev/generated/example.ipynb

File diff suppressed because one or more lines are too long

68
dev/generated/example/index.html

File diff suppressed because one or more lines are too long

2
dev/generated/name/index.html

File diff suppressed because one or more lines are too long

6
dev/generated/notebook.ipynb

@ -87,11 +87,11 @@
"file_extension": ".jl", "file_extension": ".jl",
"mimetype": "application/julia", "mimetype": "application/julia",
"name": "julia", "name": "julia",
"version": "1.6.3" "version": "1.7.1"
}, },
"kernelspec": { "kernelspec": {
"name": "julia-1.6", "name": "julia-1.7",
"display_name": "Julia 1.6.3", "display_name": "Julia 1.7.1",
"language": "julia" "language": "julia"
} }
}, },

2
dev/index.html

File diff suppressed because one or more lines are too long

6
dev/outputformats/index.html

File diff suppressed because one or more lines are too long

4
dev/pipeline/index.html

File diff suppressed because one or more lines are too long

2
dev/search/index.html

File diff suppressed because one or more lines are too long

2
dev/search_index.js

File diff suppressed because one or more lines are too long

4
dev/tips/index.html

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save