Skip to content

Commit 5d0e3e9

Browse files
authoredFeb 28, 2025··
Fix doc build. (#6493)
1 parent 42a8c4b commit 5d0e3e9

File tree

2 files changed

+227
-2
lines changed

2 files changed

+227
-2
lines changed
 

‎docs/_layouts/deprecated.html

+226
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: " en-US" }}">
3+
4+
<head>
5+
<meta charset='utf-8'>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
9+
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print">
10+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TMTZVLLMBP"></script>
11+
<script>
12+
window.dataLayer = window.dataLayer || [];
13+
function gtag(){dataLayer.push(arguments);}
14+
gtag('js', new Date());
15+
gtag('config', 'G-TMTZVLLMBP');
16+
</script>
17+
<!--[if lt IE 9]>
18+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
19+
<![endif]-->
20+
<style>
21+
#centeringDiv {
22+
margin: auto;
23+
max-width: 1200px;
24+
}
25+
#navDiv
26+
{
27+
display: block;
28+
box-sizing: border-box;
29+
padding-top: 5px;
30+
padding-bottom: 5px;
31+
border-bottom-width: 3px;
32+
border-bottom-style: solid;
33+
border-bottom-color: #F0F0F0;
34+
}
35+
#navDiv nav
36+
{
37+
float:left;
38+
}
39+
#navDiv::after {
40+
content: "";
41+
clear: both;
42+
display: table;
43+
}
44+
#navDiv nav li::after
45+
{
46+
content: "/";
47+
padding-left: 10px;
48+
padding-right: 0px;
49+
color: #808080;
50+
}
51+
#navDiv nav li
52+
{
53+
display:inline;
54+
padding-left: 10px;
55+
padding-right: 0px;
56+
}
57+
#tocColumn {
58+
width: 350px;
59+
position: fixed;
60+
overflow-y: auto;
61+
box-sizing: border-box;
62+
display: block;
63+
}
64+
65+
#tocInner {
66+
padding: 20px;
67+
}
68+
69+
#rightColumn {
70+
padding-left: 390px;
71+
padding-right: 40px;
72+
padding-top: 20px;
73+
}
74+
75+
.toc_root_list {
76+
list-style-type: none;
77+
list-style-position: outside;
78+
background-color: initial;
79+
padding-left: 0px;
80+
}
81+
.toc_list {
82+
padding-left: 16px;
83+
background-color: initial;
84+
list-style-type: none;
85+
margin-bottom: 0px;
86+
}
87+
.toc_item {
88+
cursor: pointer;
89+
user-select: none;
90+
list-style-type: none;
91+
padding-left: 0px;
92+
padding-top: 5px;
93+
}
94+
.toc_item_expanded::before {
95+
content: "\25be";
96+
cursor: pointer;
97+
}
98+
.toc_item_collapsed::before {
99+
content: "\25b8";
100+
cursor: pointer;
101+
}
102+
.toc_item_leaf {
103+
padding-left: 14px;
104+
cursor: pointer;
105+
list-style-type: none;
106+
}
107+
.toc_span:hover
108+
{
109+
color: #d5000d;
110+
}
111+
.tocIcon
112+
{
113+
vertical-align: -2.5px;
114+
}
115+
.editButton
116+
{
117+
float: right;
118+
margin-right: 10px;
119+
color:#808080;
120+
}
121+
.editIcon
122+
{
123+
fill: currentColor;
124+
vertical-align: text-top;
125+
}
126+
#btnToggleTOC {
127+
display: none;
128+
width: fit-content;
129+
margin-left: 10px;
130+
margin-top: 10px;
131+
padding: 10px;
132+
border-style: solid;
133+
border-color: #808080;
134+
border-width: 1px;
135+
background-color: #E8E8E8;
136+
}
137+
#btnToggleTOC:hover {
138+
background-color: #F0F0E8;
139+
}
140+
#btnToggleTOC:active {
141+
background-color: #D4D4D4;
142+
}
143+
@media screen and (max-width: 900px) {
144+
#tocColumn {
145+
width: 300px;
146+
display: block;
147+
box-sizing: border-box;
148+
}
149+
#rightColumn {
150+
padding-left: 320px;
151+
padding-right: 20px;
152+
}
153+
}
154+
155+
@media screen and (max-width: 700px) {
156+
#tocColumn {
157+
width: 100%;
158+
position: static;
159+
display: none;
160+
border-right-style: none;
161+
box-sizing: content-box;
162+
}
163+
#tocInner {
164+
padding: 10px;
165+
}
166+
#rightColumn {
167+
padding-left: 10px;
168+
padding-right: 10px;
169+
}
170+
#centeringDiv {
171+
padding-left: 0px;
172+
}
173+
#btnToggleTOC {
174+
display: block;
175+
}
176+
}
177+
</style>
178+
{% seo %}
179+
</head>
180+
181+
<body>
182+
<div id="centeringDiv">
183+
<div id="navDiv">
184+
{% include_relative ../nav.html %}
185+
<a class="editButton" title="Edit this page" href="https://github.com/{{ site.github.repository_nwo }}/edit/master/docs/{{ page.path }}">
186+
<svg class="editIcon" height="16" viewBox="0 0 16 16" version="1.1" width="16" aria-hidden="true">
187+
<path fill-rule="evenodd"
188+
d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z">
189+
</path>
190+
</svg>
191+
</a>
192+
</div>
193+
<div id="rightColumn">
194+
<section id="main_content">
195+
{% include anchor_headings.html html=content anchorBody="" %}
196+
</section>
197+
<a href="javascript:;" id="_content_end_"></a>
198+
<footer>
199+
{% if site.github.is_project_page %}
200+
{{ site.title | default: site.github.repository_name }} is maintained by <a
201+
href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a><br>
202+
{% endif %}
203+
This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.
204+
</footer>
205+
</div>
206+
</div>
207+
<script type="text/x-mathjax-config">
208+
MathJax.Hub.Config({
209+
tex2jax: {
210+
inlineMath: [ ['$$','$$'], ["\\(","\\)"] ],
211+
displayMath: [ ['$$','$$'], ["\\(","\\)"] ],
212+
},
213+
TeX: {
214+
Macros: {
215+
bra: ["\\langle{#1}|", 1],
216+
ket: ["|{#1}\\rangle", 1],
217+
braket: ["\\langle{#1}\\rangle", 1],
218+
bk: ["\\langle{#1}|{#2}|{#3}\\rangle", 3]
219+
}
220+
}
221+
});
222+
</script>
223+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
224+
</body>
225+
226+
</html>

‎docs/deprecated/a1-02-slangpy.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: user-guide
3-
permalink: "docs/user-guide
4-
/a1-02-slangpy"
3+
permalink: "docs/user-guide/a1-02-slangpy"
54
---
65

76
Using Slang to Write PyTorch Kernels

0 commit comments

Comments
 (0)
Please sign in to comment.