Skip to content

Commit

Permalink
Deploying to main from @ Vineflower/vineflower-site@57af0db 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Aug 14, 2023
1 parent 3ee5c20 commit af759e2
Show file tree
Hide file tree
Showing 46 changed files with 5,207 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pull/14/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4720ce45701f57509fb6559a1a876c0b
tags: d77d1c0d9ca2f4c8421862c7c5a0d620
1 change: 1 addition & 0 deletions pull/14/_preview_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"pr":"14","time":"2023-08-14T01:45:53.145Z"}

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions pull/14/_sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
var sd_labels_by_text = {};

function ready() {
const li = document.getElementsByClassName("sd-tab-label");
for (const label of li) {
syncId = label.getAttribute("data-sync-id");
if (syncId) {
label.onclick = onLabelClick;
if (!sd_labels_by_text[syncId]) {
sd_labels_by_text[syncId] = [];
}
sd_labels_by_text[syncId].push(label);
}
}
}

function onLabelClick() {
// Activate other inputs with the same sync id.
syncId = this.getAttribute("data-sync-id");
for (label of sd_labels_by_text[syncId]) {
if (label === this) continue;
label.previousElementSibling.checked = true;
}
window.localStorage.setItem("sphinx-design-last-tab", syncId);
}

document.addEventListener("DOMContentLoaded", ready, false);
Loading

0 comments on commit af759e2

Please sign in to comment.