Skip to content

Commit

Permalink
Deploying to site from @ c27c9bd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Apr 11, 2024
1 parent 564786e commit a5603fc
Show file tree
Hide file tree
Showing 323 changed files with 2,534 additions and 882 deletions.
3 changes: 3 additions & 0 deletions docs/0.x/images/homepage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion docs/0.x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</a>
</div>
<div class="library-version">
1.8.0 </div>
1.9.0 </div>
</div>
</div>
<div class="navigation-controls">
Expand Down Expand Up @@ -72,6 +72,17 @@ <h2 class="">All modules:</h2>
<div><span class="brief-comment"></span></div>
</div>
</div>
<a data-name="274023345%2FMain%2F0" anchor-label="zipline-cryptography" id="274023345%2FMain%2F0" data-filterable-set=""></a>
<div class="table-row">
<div class="main-subrow ">
<div class="w-100"><span class="inline-flex">
<div><a href="zipline-cryptography/index.html">zipline-cryptography</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="274023345%2FMain%2F0"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div><span class="brief-comment"></span></div>
</div>
</div>
<a data-name="828390764%2FMain%2F0" anchor-label="zipline-gradle-plugin" id="828390764%2FMain%2F0" data-filterable-set=""></a>
<div class="table-row">
<div class="main-subrow ">
Expand Down
30 changes: 30 additions & 0 deletions docs/0.x/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,36 @@
</div>
</div>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu" pageid="zipline-cryptography::////PointingToDeclaration//-948848258">
<div class="overview">
<span class="navButton" onclick="document.getElementById(&quot;zipline-cryptography-nav-submenu&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="zipline-cryptography/index.html"><span><span>zipline-cryptography</span></span></a>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu-0" pageid="zipline-cryptography::app.cash.zipline.cryptography////PointingToDeclaration//-948848258">
<div class="overview">
<span class="navButton" onclick="document.getElementById(&quot;zipline-cryptography-nav-submenu-0&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="zipline-cryptography/app.cash.zipline.cryptography/index.html"><span>app.</span><wbr><span>cash.</span><wbr><span>zipline.</span><wbr><span><span>cryptography</span></span></a>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu-0-0" pageid="zipline-cryptography::app.cash.zipline.cryptography//cryptography/app.cash.zipline.Zipline#/PointingToDeclaration//516986705">
<div class="overview">
<a href="zipline-cryptography/app.cash.zipline.cryptography/cryptography.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon val"></span><span class="nav-link-child"><span><span>cryptography</span></span></span></span></a>
</div>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu-0-1" pageid="zipline-cryptography::app.cash.zipline.cryptography//installCryptographyService/app.cash.zipline.Zipline#/PointingToDeclaration//-839726885">
<div class="overview">
<a href="zipline-cryptography/app.cash.zipline.cryptography/install-cryptography-service.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon function"></span><span class="nav-link-child"><span>install</span><wbr><span>Cryptography</span><wbr><span><span>Service()</span></span></span></span></a>
</div>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu-0-2" pageid="zipline-cryptography::app.cash.zipline.cryptography/SecureRandom///PointingToDeclaration//-746405585">
<div class="overview">
<a href="zipline-cryptography/app.cash.zipline.cryptography/-secure-random/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span>Secure</span><wbr><span><span>Random</span></span></span></span></a>
</div>
</div>
<div class="sideMenuPart" id="zipline-cryptography-nav-submenu-0-3" pageid="zipline-cryptography::app.cash.zipline.cryptography/ZiplineCryptography///PointingToDeclaration//-746405585">
<div class="overview">
<a href="zipline-cryptography/app.cash.zipline.cryptography/-zipline-cryptography/index.html"><span class="nav-link-grid"><span class="nav-link-child nav-icon interface-kt"></span><span class="nav-link-child"><span>Zipline</span><wbr><span><span>Cryptography</span></span></span></span></a>
</div>
</div>
</div>
</div>
<div class="sideMenuPart" id="zipline-gradle-plugin-nav-submenu" pageid="zipline-gradle-plugin::////PointingToDeclaration//-1946363207">
<div class="overview">
<span class="navButton" onclick="document.getElementById(&quot;zipline-gradle-plugin-nav-submenu&quot;).classList.toggle(&quot;hidden&quot;);"><span class="navButtonContent"></span></span><a href="zipline-gradle-plugin/index.html"><span><span>zipline-gradle-plugin</span></span></a>
Expand Down
2 changes: 2 additions & 0 deletions docs/0.x/package-list
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ $dokka.location:app.cash.zipline/Zipline.Companion/create/#kotlinx.coroutines.Co
$dokka.location:app.cash.zipline/Zipline.Companion/get/#kotlinx.serialization.modules.SerializersModule/PointingToDeclaration/zipline/app.cash.zipline/-zipline/[js]-companion/get.html
module:zipline
app.cash.zipline
module:zipline-cryptography
app.cash.zipline.cryptography
module:zipline-gradle-plugin
app.cash.zipline.gradle
module:zipline-loader
Expand Down
2 changes: 1 addition & 1 deletion docs/0.x/scripts/pages.json

Large diffs are not rendered by default.

45 changes: 24 additions & 21 deletions docs/0.x/scripts/platform-content-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const samplesLightThemeName = 'idea'
window.addEventListener('load', () => {
document.querySelectorAll("div[data-platform-hinted]")
.forEach(elem => elem.addEventListener('click', (event) => togglePlatformDependent(event, elem)))
document.querySelectorAll("div[tabs-section]")
.forEach(elem => elem.addEventListener('click', (event) => toggleSectionsEventHandler(event)))
const filterSection = document.getElementById('filter-section')
if (filterSection) {
filterSection.addEventListener('click', (event) => filterButtonHandler(event))
Expand Down Expand Up @@ -177,19 +175,30 @@ function handleAnchor() {
}

function initTabs() {
document.querySelectorAll("div[tabs-section]")
.forEach(element => {
showCorrespondingTabBody(element)
element.addEventListener('click', (event) => toggleSectionsEventHandler(event))
})
let cached = localStorage.getItem("active-tab")
if (cached) {
let parsed = JSON.parse(cached)
let tab = document.querySelector('div[tabs-section] > button[data-togglable="' + parsed + '"]')
if (tab) {
toggleSections(tab)
}
}
// we could have only a single type of data - classlike or package
const mainContent = document.querySelector('.main-content');
const type = mainContent ? mainContent.getAttribute("data-page-type") : null;
const localStorageKey = "active-tab-" + type;
document.querySelectorAll('div[tabs-section]').forEach(element => {
showCorrespondingTabBody(element);
element.addEventListener('click', ({target}) => {
const togglable = target ? target.getAttribute("data-togglable") : null;
if (!togglable) return;

localStorage.setItem(localStorageKey, JSON.stringify(togglable));
toggleSections(target);
});
});

const cached = localStorage.getItem(localStorageKey);
if (!cached) return;

const tab = document.querySelector(
'div[tabs-section] > button[data-togglable="' + JSON.parse(cached) + '"]'
);
if (!tab) return;

toggleSections(tab);
}

function showCorrespondingTabBody(element) {
Expand Down Expand Up @@ -293,12 +302,6 @@ function toggleSections(target) {
activateTabsBody("tabs-section-body")
}

function toggleSectionsEventHandler(evt) {
if (!evt.target.getAttribute("data-togglable")) return
localStorage.setItem('active-tab', JSON.stringify(evt.target.getAttribute("data-togglable")))
toggleSections(evt.target)
}

function togglePlatformDependent(e, container) {
let target = e.target
if (target.tagName != 'BUTTON') return;
Expand Down
Loading

0 comments on commit a5603fc

Please sign in to comment.