Skip to content

Commit 7967522

Browse files
authored
Fix documentation (shader-slang#1811)
1 parent e8dee69 commit 7967522

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

docs/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
theme: jekyll-theme-slate
1+
theme: jekyll-theme-tactile

docs/_includes/user-guide-toc.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<a href="/slang/user-guide/">Slang User's Guide</a>
3-
<ol>
3+
<ol class="toc_list">
44
<li><a href="/slang/user-guide/00-introduction.html">Introduction</a></li>
55
<li><a href="/slang/user-guide/01-get-started.html">Getting Started</a></li>
66
<li><a href="/slang/user-guide/02-conventional-features.html">Conventional Language Features</a></li>
@@ -9,7 +9,7 @@
99
<li><a href="/slang/user-guide/05-compiling.html">Compiling Code with Slang</a></li>
1010
<li><a href="/slang/user-guide/06-targets.html">Supported Compilation Targets</a></li>
1111
<li><a href="/slang/user-guide/a1-special-topics.html">Special Topics</a></li>
12-
<ol>
12+
<ol class="toc_list">
1313
<li><a href="/slang/user-guide/a1-01-matrix-layout.html">Matrix Layout</a></li>
1414
</ol>
1515

docs/_layouts/user-guide.html

+5-10
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,23 @@
3131
padding-left: 20px;
3232
}
3333

34-
ol {
35-
counter-reset: section;
34+
.toc_list {
3635
list-style-type: none;
37-
}
38-
39-
li:before {
40-
counter-increment: section;
41-
content: counters(section, ".") " ";
36+
padding-left:16px;
4237
}
4338
</style>
4439
{% seo %}
4540
</head>
4641

4742
<body>
48-
<div id="main_content_wrap" class="outer">
49-
<div id="main_content" class="inner" style="padding:40px;width:1000px">
43+
<div id="container">
44+
<div class="inner" style="padding:40px;width:1000px">
5045
<div id="dividerContainer">
5146
<div id="tocColumn">
5247
{% include user-guide-toc.html %}
5348
</div>
5449
<div id="rightColumn">
55-
<section>
50+
<section id="main_content">
5651
{{ content }}
5752
</section>
5853

0 commit comments

Comments
 (0)