-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65277cf
commit f5fae3b
Showing
43 changed files
with
692 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"MD013": false, | ||
"MD025": false, | ||
"MD033": false, | ||
"MD045": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="code-rapi copy-root"> | ||
<div class="header"> | ||
<div class="title">{{ include.title }}</div> | ||
<span class="copy-button" onclick="copyWingetCommand()"> | ||
<i class="ph-fill ph-copy default"></i> | ||
<i class="ph ph-check hidden coppied"></i> | ||
</span> | ||
</div> | ||
|
||
<div class="code copy-text">{{ include.code }}</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: base | ||
bodyClass: inner | ||
--- | ||
|
||
<header> | ||
{% include logo.html %} | ||
<div>{% include main-menu.html %}</div> | ||
</header> | ||
<main class="documentation"> | ||
<nav class="menu"> | ||
<div> | ||
{% assign menu_path = page.menu | default: "_menu.html" %} {% include_relative {{ menu_path }} %} | ||
</div> | ||
</nav> | ||
<div class="content">{{ content }}</div> | ||
</main> | ||
<footer>{% include footer.html %}</footer> | ||
|
||
<script> | ||
document.addEventListener("DOMContentLoaded", function () { | ||
document.querySelectorAll("pre code").forEach((block) => { | ||
const preElement = block.parentNode; | ||
const codeElement = block; | ||
|
||
preElement.classList.add("copy-root"); | ||
codeElement.classList.add("copy-text"); | ||
|
||
block.parentNode.insertAdjacentHTML( | ||
"beforeend", | ||
'<span class="copy-button" onclick="copyWingetCommand()">' + | ||
'<i class="ph-fill ph-copy default"></i>' + | ||
'<i class="ph ph-check hidden coppied"></i>' + | ||
'</span>' | ||
); | ||
}); | ||
|
||
const currentPath = window.location.pathname; | ||
const menuItems = document.querySelectorAll(".documentation .menu ul li a"); | ||
|
||
menuItems.forEach(function (menuItem) { | ||
if (menuItem.getAttribute("href") === currentPath) { | ||
menuItem.classList.add("active"); | ||
} | ||
}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.code-rapi { | ||
border: solid 1px var(--app-stroke); | ||
border-radius: 18px; | ||
overflow: hidden; | ||
margin: 20px 0; | ||
font-size: 0.875rem; | ||
|
||
.header { | ||
background-color: var(--app-bg-color); | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
padding: 0 20px; | ||
|
||
.title { | ||
padding: 7px 10px 5px; | ||
border-bottom: solid 1px var(--app-fg-accent); | ||
color: var(--app-fg-accent); | ||
} | ||
|
||
.copy-button { | ||
font-size: 1.2rem; | ||
margin-top: 8px; | ||
color: var(--app-fg-muted); | ||
transition: color 0.2s ease; | ||
|
||
&:hover { | ||
color: var(--app-fg-active); | ||
} | ||
} | ||
} | ||
|
||
.code { | ||
background-color: var(--app-bg-second); | ||
padding: 15px 20px 18px; | ||
line-height: 1.3rem; | ||
|
||
.comment { | ||
color: #4d8a43; | ||
} | ||
|
||
.method { | ||
color: #61FF3E; | ||
} | ||
|
||
.endpoint { | ||
color: #EE9457; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.