Skip to content

Commit 853c3ba

Browse files
committed
Build commit 8ae3078
1 parent edeaafc commit 853c3ba

File tree

13 files changed

+65
-48
lines changed

13 files changed

+65
-48
lines changed

amethyst.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |spec|
22
spec.name = "jekyll-theme-amethyst"
3-
spec.version = "2.3.2"
3+
spec.version = "2.4.0"
44
spec.summary = "https://github.com/qunitjs/jekyll-theme-amethyst"
55
spec.authors = ["Timo Tijhof", "Trent Willis"]
66
spec.files = `git ls-files -z`.split("\x0").select do |f|

api/deprecated/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ <h1>Deprecated methods</h1>
7777

7878

7979
<div class="posts">
80-
<h2 id="example-amet"><a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a></h2>
80+
<h2 id="example-amet" class="no_toc"><a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a></h2>
8181
<p><strong>DEPRECATED</strong> I'll be deprecated soon.</p>
8282

83-
<h2 id="example-dolor"><a href="/jekyll-theme-amethyst/api/lorem/dolor/">Example.dolor()</a></h2>
83+
<h2 id="example-dolor" class="no_toc"><a href="/jekyll-theme-amethyst/api/lorem/dolor/">Example.dolor()</a></h2>
8484
<p><strong>DEPRECATED</strong> Soon to be removed.</p>
8585
</div>
8686

8787
</article>
8888
</div>
8989
<aside class="sidebar" role="complementary">
9090

91-
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
91+
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
9292

9393

94-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
94+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9595

9696

9797
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/foo/baz/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<article>
7171
<header>
7272
<h1>.baz()</h1>
73-
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar</a>.</p>
73+
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a>.</p>
7474
</header>
7575
<p class="version-details">
7676
version added: <a href="https://github.com/qunitjs/qunit/releases/tag/1.23.0">1.23.0</a><span class="sep">.</span></p>
@@ -144,7 +144,7 @@ <h3 id="example-penultimate-object">Example: Penultimate object</h3>
144144
</div>
145145
<aside class="sidebar" role="complementary">
146146

147-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
147+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
148148
<ul class="sidebar-list"><li class="sidebar-item sidebar-item-active">
149149
<a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a>
150150
</li><li class="sidebar-item">
@@ -153,7 +153,7 @@ <h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar<
153153
<a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a>
154154
</li></ul>
155155

156-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
156+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
157157

158158

159159
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/foo/egg/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<article>
7171
<header>
7272
<h1>.egg()</h1>
73-
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar</a>.</p>
73+
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a>.</p>
7474
</header>
7575
<p class="version-details">
7676
not yet released<span class="sep">.</span></p>
@@ -81,7 +81,7 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
8181
</div>
8282
<aside class="sidebar" role="complementary">
8383

84-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
84+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
8585
<ul class="sidebar-list"><li class="sidebar-item">
8686
<a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a>
8787
</li><li class="sidebar-item sidebar-item-active">
@@ -90,7 +90,7 @@ <h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar<
9090
<a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a>
9191
</li></ul>
9292

93-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
93+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9494

9595

9696
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/foo/index.html

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<link rel="icon" href="/jekyll-theme-amethyst/favicon.svg">
66
<link rel="stylesheet" href="/jekyll-theme-amethyst/assets/styles.css?v=f705e356" media="screen">
77
<link rel="alternate" type="application/rss+xml" href="/jekyll-theme-amethyst/feed.xml" title="Amethyst Demo">
8-
<title>Foobar | Amethyst Demo</title>
9-
<meta property="og:title" content="Foobar"><meta name="twitter:card" content="summary_large_image"><meta name="robots" content="noindex,follow"><meta name="docsearch:amethyst_pagetype_navigation" content="1">
8+
<title>Foobar without TOC | Amethyst Demo</title>
9+
<meta property="og:title" content="Foobar without TOC"><meta name="twitter:card" content="summary_large_image"><meta name="robots" content="noindex,follow"><meta name="docsearch:amethyst_pagetype_navigation" content="1">
1010
<body>
1111
<header class="site-header" role="banner">
1212
<div class="site-header-wrapper wrapper">
@@ -69,29 +69,37 @@
6969
<div class="content" role="main">
7070
<article>
7171
<header>
72-
<h1>Foobar</h1>
72+
<h1>Foobar without TOC</h1>
7373

7474
</header>
7575

76-
76+
<p>This is a page without any TOC.</p>
77+
78+
<h2 id="heading">Heading</h2>
79+
80+
<p>This page uses the “group” layout.</p>
81+
82+
<h2 id="another">Another</h2>
83+
84+
<p>And, the “group” layout disables the TOC by default.</p>
7785

7886

7987
<div class="posts">
80-
<h2 id="baz"><a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a></h2>
88+
<h2 id="baz" class="no_toc"><a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a></h2>
8189
<p>Hello world with some content.</p>
8290

83-
<h2 id="egg"><a href="/jekyll-theme-amethyst/api/foo/egg/">.egg()</a></h2>
91+
<h2 id="egg" class="no_toc"><a href="/jekyll-theme-amethyst/api/foo/egg/">.egg()</a></h2>
8492
<p>I'm new, and unreleased.</p>
8593

86-
<h2 id="quuz"><a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a></h2>
94+
<h2 id="quuz" class="no_toc"><a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a></h2>
8795
<p>Hello, where was I?</p>
8896
</div>
8997

9098
</article>
9199
</div>
92100
<aside class="sidebar" role="complementary">
93101

94-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
102+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
95103
<ul class="sidebar-list"><li class="sidebar-item">
96104
<a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a>
97105
</li><li class="sidebar-item">
@@ -100,7 +108,7 @@ <h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar<
100108
<a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a>
101109
</li></ul>
102110

103-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
111+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
104112

105113

106114
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/foo/quux/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<article>
7171
<header>
7272
<h1>.quuz()</h1>
73-
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar</a>.</p>
73+
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a>.</p>
7474
</header>
7575

7676
<h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
@@ -82,7 +82,7 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
8282
</div>
8383
<aside class="sidebar" role="complementary">
8484

85-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
85+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
8686
<ul class="sidebar-list"><li class="sidebar-item">
8787
<a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a>
8888
</li><li class="sidebar-item">
@@ -91,7 +91,7 @@ <h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar<
9191
<a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a>
9292
</li></ul>
9393

94-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
94+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9595

9696

9797
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
8181
</div>
8282
<aside class="sidebar" role="complementary">
8383

84-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
84+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
8585
<ul class="sidebar-list"><li class="sidebar-item">
8686
<a href="/jekyll-theme-amethyst/api/foo/baz/">.baz()</a>
8787
</li><li class="sidebar-item">
@@ -90,7 +90,7 @@ <h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/foo/">Foobar<
9090
<a href="/jekyll-theme-amethyst/api/foo/quux/">.quuz()</a>
9191
</li></ul>
9292

93-
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
93+
<h4><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9494

9595

9696
<h4><a href="/jekyll-theme-amethyst/api/deprecated/">Deprecated</a></h4>

api/lorem/amet/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<article>
7171
<header>
7272
<h1>Example.amet()</h1>
73-
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a>, <a class="category" href="/jekyll-theme-amethyst/api/deprecated/">Deprecated methods</a>.</p>
73+
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a>, <a class="category" href="/jekyll-theme-amethyst/api/deprecated/">Deprecated methods</a>.</p>
7474
</header>
7575
<p class="version-details">
7676
version added: <a href="https://github.com/qunitjs/qunit/releases/tag/1.0.0">1.0.0</a><span class="sep">.</span>
@@ -84,10 +84,10 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
8484
</div>
8585
<aside class="sidebar" role="complementary">
8686

87-
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
87+
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
8888

8989

90-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
90+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9191
<ul class="sidebar-list"><li class="sidebar-item sidebar-item-active">
9292
<a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a>
9393
</li><li class="sidebar-item">

api/lorem/dolor/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<article>
7171
<header>
7272
<h1>Example.dolor()</h1>
73-
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a>, <a class="category" href="/jekyll-theme-amethyst/api/deprecated/">Deprecated methods</a>.</p>
73+
<p class="post-meta">Categories: <a class="category" href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a>, <a class="category" href="/jekyll-theme-amethyst/api/deprecated/">Deprecated methods</a>.</p>
7474
</header>
7575
<p class="version-details">
7676
version added: <a href="https://github.com/qunitjs/qunit/releases/tag/2.0.0">2.0.0</a><span class="sep">.</span>
@@ -84,10 +84,10 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
8484
</div>
8585
<aside class="sidebar" role="complementary">
8686

87-
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
87+
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
8888

8989

90-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
90+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
9191
<ul class="sidebar-list"><li class="sidebar-item">
9292
<a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a>
9393
</li><li class="sidebar-item sidebar-item-active">

api/lorem/index.html

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<link rel="icon" href="/jekyll-theme-amethyst/favicon.svg">
66
<link rel="stylesheet" href="/jekyll-theme-amethyst/assets/styles.css?v=f705e356" media="screen">
77
<link rel="alternate" type="application/rss+xml" href="/jekyll-theme-amethyst/feed.xml" title="Amethyst Demo">
8-
<title>Lorem ipsum | Amethyst Demo</title>
9-
<meta property="og:title" content="Lorem ipsum"><meta name="twitter:card" content="summary_large_image"><meta name="robots" content="noindex,follow"><meta name="docsearch:amethyst_pagetype_navigation" content="1">
8+
<title>Lorem with TOC | Amethyst Demo</title>
9+
<meta property="og:title" content="Lorem with TOC"><meta name="twitter:card" content="summary_large_image"><meta name="robots" content="noindex,follow"><meta name="docsearch:amethyst_pagetype_navigation" content="1">
1010
<body>
1111
<header class="site-header" role="banner">
1212
<div class="site-header-wrapper wrapper">
@@ -69,32 +69,40 @@
6969
<div class="content" role="main">
7070
<article>
7171
<header>
72-
<h1>Lorem ipsum</h1>
72+
<h1>Lorem with TOC</h1>
7373

7474
</header>
7575

76-
76+
<p>This page enables the TOC feature of the sidebar.</p>
77+
78+
<h2 id="heading">Heading</h2>
79+
80+
<p>Note that this page uses the “group” layout.</p>
81+
82+
<h2 id="another">Another</h2>
83+
84+
<p>And, the “group” layout disables the TOC by default.</p>
7785

7886

7987
<div class="posts">
80-
<h2 id="example-amet"><a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a></h2>
88+
<h2 id="example-amet" class="no_toc"><a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a></h2>
8189
<p><strong>DEPRECATED</strong> I'll be deprecated soon.</p>
8290

83-
<h2 id="example-dolor"><a href="/jekyll-theme-amethyst/api/lorem/dolor/">Example.dolor()</a></h2>
91+
<h2 id="example-dolor" class="no_toc"><a href="/jekyll-theme-amethyst/api/lorem/dolor/">Example.dolor()</a></h2>
8492
<p><strong>DEPRECATED</strong> Soon to be removed.</p>
8593

86-
<h2 id="example-sit"><a href="/jekyll-theme-amethyst/api/lorem/sit/">Example.sit()</a></h2>
94+
<h2 id="example-sit" class="no_toc"><a href="/jekyll-theme-amethyst/api/lorem/sit/">Example.sit()</a></h2>
8795
<p><strong>REMOVED</strong> Hello, I've been through it all.</p>
8896
</div>
8997

9098
</article>
9199
</div>
92100
<aside class="sidebar" role="complementary">
93101

94-
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar</a></h4>
102+
<h4><a href="/jekyll-theme-amethyst/api/foo/">Foobar without TOC</a></h4>
95103

96104

97-
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem ipsum</a></h4>
105+
<h4 class="sidebar-title-open"><a href="/jekyll-theme-amethyst/api/lorem/">Lorem with TOC</a></h4>
98106
<ul class="sidebar-list"><li class="sidebar-item">
99107
<a href="/jekyll-theme-amethyst/api/lorem/amet/">Example.amet()</a>
100108
</li><li class="sidebar-item">
@@ -110,7 +118,8 @@ <h4><a href="/jekyll-theme-amethyst/api/removed/">Removed</a></h4>
110118

111119

112120
<h4><a href="/jekyll-theme-amethyst/api/foo/quux/">Quux</a></h4>
113-
121+
<hr><div class="toc-wrapper">
122+
<h4>Table of contents</h4><ol class="toc"><li class="sidebar-item"><a href="#heading">Heading</a></li><li class="sidebar-item"><a href="#another">Another</a></li></ol></div>
114123
</aside>
115124

116125
</div>

0 commit comments

Comments
 (0)