jekyll-theme-amethyst 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/search.html +1 -1
- metadata +3 -67
- data/.github/workflows/gem.yaml +0 -25
- data/.github/workflows/github-pages.yaml +0 -47
- data/.github/workflows/spider-check.yaml +0 -52
- data/.github/workflows/typesense.yaml +0 -29
- data/.gitignore +0 -4
- data/404.md +0 -9
- data/Gemfile +0 -4
- data/README.md +0 -56
- data/_config.yml +0 -80
- data/_data/sidebar_api.yml +0 -17
- data/_data/sidebar_blog.yml +0 -11
- data/_data/sitenav.yml +0 -14
- data/_posts/2006-01-26-announcing-the-blog.md +0 -13
- data/_posts/2006-10-18-foo-110.md +0 -13
- data/_posts/2007-10-18-foo-112.md +0 -13
- data/_posts/2008-10-18-foo-126.md +0 -13
- data/_posts/2009-10-18-foo-132.md +0 -13
- data/_posts/2010-10-18-foo-143.md +0 -13
- data/_posts/2011-10-18-foo-171.md +0 -13
- data/_posts/2012-10-18-foo-183.md +0 -13
- data/_posts/2013-10-18-foo-191.md +0 -13
- data/_posts/2014-10-18-foo-211.md +0 -13
- data/_posts/2015-10-18-foo-300.md +0 -13
- data/_posts/2017-10-18-foo-321.md +0 -13
- data/_posts/2018-10-18-foo-331.md +0 -13
- data/_posts/2019-10-18-foo-341.md +0 -13
- data/_posts/2020-04-01-foo-350.md +0 -13
- data/_posts/2020-10-18-foo-351.md +0 -13
- data/_posts/2021-04-01-hello-world.md +0 -51
- data/about.md +0 -28
- data/amethyst.gemspec +0 -23
- data/api/deprecated.md +0 -5
- data/api/foo/baz.md +0 -47
- data/api/foo/index.md +0 -5
- data/api/foo/quux.md +0 -9
- data/api/index.md +0 -8
- data/api/lorem/dolor.md +0 -14
- data/api/lorem/index.md +0 -5
- data/api/lorem/sit.md +0 -15
- data/api/removed.md +0 -5
- data/blog-archive.md +0 -4
- data/blog.md +0 -4
- data/docs/config.md +0 -74
- data/docs/getting-started.md +0 -61
- data/docsearch.config.json +0 -60
- data/favicon.svg +0 -3
- data/index.md +0 -51
- data/intro.md +0 -43
- data/tag/event.md +0 -5
- data/tag/release.md +0 -5
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Foo 3.2.1 Released
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- release
|
7
|
-
---
|
8
|
-
|
9
|
-
No demo posts in 2016. Tristique vehicula ut sit amet sem.
|
10
|
-
|
11
|
-
## Integer et tempus
|
12
|
-
|
13
|
-
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Foo 3.3.1
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- release
|
7
|
-
---
|
8
|
-
|
9
|
-
Tristique vehicula ut sit amet sem.
|
10
|
-
|
11
|
-
## Integer et tempus
|
12
|
-
|
13
|
-
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Foo 3.4.1
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- release
|
7
|
-
---
|
8
|
-
|
9
|
-
Tristique vehicula ut sit amet sem.
|
10
|
-
|
11
|
-
## Integer et tempus
|
12
|
-
|
13
|
-
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Foo 3.5.0
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- release
|
7
|
-
---
|
8
|
-
|
9
|
-
Tristique vehicula ut sit amet sem.
|
10
|
-
|
11
|
-
## Integer et tempus
|
12
|
-
|
13
|
-
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Foo 3.5.1
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- release
|
7
|
-
---
|
8
|
-
|
9
|
-
Tristique vehicula ut sit amet sem.
|
10
|
-
|
11
|
-
## Integer et tempus
|
12
|
-
|
13
|
-
Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: post
|
3
|
-
title: Hello, World!
|
4
|
-
author: Alice Fitzgerald
|
5
|
-
tags:
|
6
|
-
- event
|
7
|
-
amethyst:
|
8
|
-
comments:
|
9
|
-
- author: Jay
|
10
|
-
date: 2021-03-03
|
11
|
-
content: |
|
12
|
-
Good stuff. I need to do a whole lot of reading on this!
|
13
|
-
- author: David
|
14
|
-
date: 2021-03-03
|
15
|
-
gravatar: a4b69ef5ee0bd367f53c6e64a4c3d4b6
|
16
|
-
content: |
|
17
|
-
Great, thanks for the release, upgraded without any issues, which is one of the many advantages of jQuery.
|
18
|
-
---
|
19
|
-
|
20
|
-
Lorem ipsum [dolor sit amet](https://en.wikipedia.org/wiki/Lorem_ipsum), consectetur adipiscing elit.
|
21
|
-
|
22
|
-
### Duis fringilla
|
23
|
-
|
24
|
-
Aliquam efficitur _arcu a nisl_ egestas molestie. Nulla ut neque quis ante tristique vehicula ut sit amet sem. Aliquam turpis enim, elementum volutpat auctor in, scelerisque sed quam. Morbi vulputate mattis vehicula. Etiam volutpat fringilla arcu, in vehicula lorem facilisis sed. In gravida enim arcu. Mauris **elit** purus, congue id dignissim a, vestibulum auctor neque.
|
25
|
-
|
26
|
-
## Cras maximus
|
27
|
-
|
28
|
-
Mi ac semper maximus. Ut eget libero accumsan, vestibulum nibh at, rhoncus erat. Donec nibh lorem, elementum `lacini()`, laoreet eget risus.
|
29
|
-
|
30
|
-
```js
|
31
|
-
elem1.on( "maximus", function() {
|
32
|
-
elem2.lacini();
|
33
|
-
} );
|
34
|
-
```
|
35
|
-
|
36
|
-
### Donec ut
|
37
|
-
|
38
|
-
* In a augue accumsan, dictum libero at, fringilla erat.
|
39
|
-
* Quisque ante massa, rutrum et scelerisque eu, varius sed orci.
|
40
|
-
* Fusce eget erat lacinia, fringilla tellus et.
|
41
|
-
* Sed a massa leo.
|
42
|
-
|
43
|
-
### Cras venenatis
|
44
|
-
|
45
|
-
* Sed vel erat sapien. ([QUnit](https://qunitjs.com/))
|
46
|
-
* Phasellus et convallis quam. ([ESLint](https://eslint.org/))
|
47
|
-
* Pellentesque sed nulla ipsum, posuere nisi. ([jQuery](https://jquery.com/))
|
48
|
-
|
49
|
-
### Nunc tristique
|
50
|
-
|
51
|
-
Integer et tempus lectus. Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
data/about.md
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: About
|
4
|
-
---
|
5
|
-
|
6
|
-
<p class="lead">An amazing website.</p>
|
7
|
-
|
8
|
-
## Philosophy
|
9
|
-
|
10
|
-
Muffin I love sesame snaps icing candy cotton candy donut pie I love. I love soufflé sweet.
|
11
|
-
|
12
|
-
### Hue
|
13
|
-
|
14
|
-
Cupcake I love I love. Dragée fruitcake biscuit chocolate wafer powder I love bear claw icing. Pastry sweet roll jelly I love dragée fruitcake.
|
15
|
-
|
16
|
-
Pastry lemon drops chocolate sugar plum oat cake brownie chupa chups toffee.
|
17
|
-
|
18
|
-
### Mineral
|
19
|
-
|
20
|
-
Gummi bears donut chupa chups. Sweet roll chocolate cupcake pudding gummi bears donut. Muffin donut carrot cake sesame snaps lollipop chocolate powder.
|
21
|
-
|
22
|
-
Danish I love apple pie chocolate. Chocolate cake gummi bears caramels fruitcake sugar plum powder jelly-o jelly-o sweet roll.
|
23
|
-
|
24
|
-
### Quartz
|
25
|
-
|
26
|
-
Lemon drops carrot cake dessert. Liquorice macaroon chocolate I love. Lollipop topping I love bonbon I love brownie powder. Jelly-o chocolate cheesecake sugar plum gummies sweet candy jujubes macaroon. Pie candy candy lollipop powder chocolate cake.
|
27
|
-
|
28
|
-
Jujubes candy lemon drops. Sesame snaps pie macaroon croissant liquorice sesame snaps powder. Cupcake topping gingerbread carrot cake sweet roll bonbon.
|
data/amethyst.gemspec
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |spec|
|
2
|
-
spec.name = "jekyll-theme-amethyst"
|
3
|
-
spec.version = "0.5.1"
|
4
|
-
spec.summary = "https://github.com/qunitjs/jekyll-theme-amethyst"
|
5
|
-
spec.authors = ["Timo Tijhof", "Trent Willis"]
|
6
|
-
spec.files = `git ls-files -z`.split("\x0")
|
7
|
-
|
8
|
-
spec.license = "MIT"
|
9
|
-
spec.homepage = "https://github.com/qunitjs/jekyll-theme-amethyst"
|
10
|
-
|
11
|
-
spec.metadata["plugin_type"] = "theme"
|
12
|
-
spec.require_paths = ["lib"]
|
13
|
-
|
14
|
-
spec.add_runtime_dependency "jekyll", ">= 4.2", "< 5.0"
|
15
|
-
spec.add_runtime_dependency "kramdown-parser-gfm", "~> 1.1.0"
|
16
|
-
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16.0"
|
17
|
-
spec.add_runtime_dependency "jekyll-relative-links", "~> 0.6.1"
|
18
|
-
# For blog
|
19
|
-
spec.add_runtime_dependency "jekyll-feed", "~> 0.15.1"
|
20
|
-
spec.add_runtime_dependency "jekyll-archives", "~> 2.2.1"
|
21
|
-
# Temporary fix until there is a release with https://github.com/jekyll/jekyll/pull/8524/
|
22
|
-
spec.add_runtime_dependency "webrick", "~> 1.7"
|
23
|
-
end
|
data/api/deprecated.md
DELETED
data/api/foo/baz.md
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page-api
|
3
|
-
title: .baz()
|
4
|
-
excerpt: Hello world with some content.
|
5
|
-
groups:
|
6
|
-
- foo
|
7
|
-
version_added: "1.23.0"
|
8
|
-
|
9
|
-
---
|
10
|
-
|
11
|
-
Hello world. This entry has some content and an added version.
|
12
|
-
|
13
|
-
| parameter | description |
|
14
|
-
|-----------|-------------|
|
15
|
-
| `size` (number) | Dimensions, applies to both width and height. |
|
16
|
-
| `label` (string) | Label for this object. |
|
17
|
-
|
18
|
-
|
19
|
-
A long long sequence of words that continues until its end eventually wraps across to the next line on your screen.
|
20
|
-
|
21
|
-
## Changelog
|
22
|
-
|
23
|
-
| [Xample 2.4](https://github.com/qunitjs/qunit/releases/tag/2.4.0) | The `module.only()`, `module.skip()`, and `module.todo()` aliases were introduced.
|
24
|
-
| [Xample 2.0](https://github.com/qunitjs/qunit/releases/tag/2.0.0) | The `before` and `after` options were introduced.
|
25
|
-
| [Xample 1.20](https://github.com/qunitjs/qunit/releases/tag/1.20.0) | The `nested` scope feature was introduced.
|
26
|
-
| [Xample 1.16](https://github.com/qunitjs/qunit/releases/tag/1.16.0) | The `beforeEach` and `afterEach` options were introduced.<br/>The `setup` and `teardown` options were deprecated.
|
27
|
-
|
28
|
-
## Examples
|
29
|
-
|
30
|
-
### Example: Ultimate object
|
31
|
-
|
32
|
-
A long long sequence of words that continues until its end eventually wraps across to the next line on your screen.
|
33
|
-
|
34
|
-
```js
|
35
|
-
// A long long line that continues until its end goes far far away into the <pre>'s scrollable overflow
|
36
|
-
x.bar( 42, "text" );
|
37
|
-
```
|
38
|
-
|
39
|
-
### Example: Penultimate object
|
40
|
-
|
41
|
-
A short sequence of words on your screen.
|
42
|
-
|
43
|
-
```js
|
44
|
-
// Unnamed item before last
|
45
|
-
x.bar( -1 );
|
46
|
-
```
|
47
|
-
|
data/api/foo/index.md
DELETED
data/api/foo/quux.md
DELETED
data/api/index.md
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page-api
|
3
|
-
title: Xample API
|
4
|
-
---
|
5
|
-
|
6
|
-
Integer et tempus lectus. Vivamus risus tellus, porta in aliquet ac, egestas sed risus. Aliquam bibendum ac dui eu tempus. Mauris rutrum et enim a viverra. Nunc ac sapien dolor. Vestibulum ultrices nibh vel tortor congue, nec tempus lacus sagittis. Cras a turpis eros. Nulla facilisi. Aenean ac lobortis libero. Quisque sagittis ultricies congue. Proin id velit sit amet ipsum euismod laoreet quis ac lacus. Praesent ut pellentesque ex. Sed dolor nulla, consectetur ac arcu id, placerat pharetra justo.
|
7
|
-
|
8
|
-
|
data/api/lorem/dolor.md
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page-api
|
3
|
-
title: Example.dolor()
|
4
|
-
excerpt: So.
|
5
|
-
groups:
|
6
|
-
- lorem
|
7
|
-
- deprecated
|
8
|
-
version_added: "2.0.0"
|
9
|
-
version_deprecated: "2.16.0"
|
10
|
-
---
|
11
|
-
|
12
|
-
So, this entry has an added and deprecated version.
|
13
|
-
|
14
|
-
<p class="note note--warning" markdown="1">This method is __deprecated__ and it's recommended to use [`Object.assign()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) instead.</p>
|
data/api/lorem/index.md
DELETED
data/api/lorem/sit.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page-api
|
3
|
-
title: Example.sit()
|
4
|
-
excerpt: Hello, I've been through it all.
|
5
|
-
groups:
|
6
|
-
- lorem
|
7
|
-
- removed
|
8
|
-
version_added: "1.0.0"
|
9
|
-
version_deprecated: "1.23.0"
|
10
|
-
version_removed: "2.0.0"
|
11
|
-
---
|
12
|
-
|
13
|
-
Hello. This item has been added, deprecated, and removed. Pfew!
|
14
|
-
|
15
|
-
<p class="note note--warning" markdown="1">This method is __deprecated__ and it's recommended to use [`Object.assign()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) instead.</p>
|
data/api/removed.md
DELETED
data/blog-archive.md
DELETED
data/blog.md
DELETED
data/docs/config.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Amethyst theme configuration
|
2
|
-
|
3
|
-
```yaml
|
4
|
-
# Site settings
|
5
|
-
#
|
6
|
-
# Docs: https://jekyllrb.com/docs/configuration/
|
7
|
-
title: Amethyst Demo
|
8
|
-
description: "An amazing website."
|
9
|
-
url: https://example.github.io
|
10
|
-
# For pages (not blog posts) this is equivalant to /:title/
|
11
|
-
permalink: /:year/:month/:day/:title/
|
12
|
-
lang: en
|
13
|
-
timezone: UTC
|
14
|
-
|
15
|
-
# Theme settings
|
16
|
-
#
|
17
|
-
# Amethyst theme options are documented at:
|
18
|
-
# https://github.com/qunitjs/jekyll-theme-amethyst/blob/main/docs/config.md
|
19
|
-
#
|
20
|
-
theme: jekyll-theme-amethyst
|
21
|
-
amethyst:
|
22
|
-
# Default: "/favicon.svg"
|
23
|
-
favicon:
|
24
|
-
# Default: "/"
|
25
|
-
home_href:
|
26
|
-
# Horizontal logo with text (SVG, or PNG that is at least 140px tall, for 70px@2x).
|
27
|
-
# Set width/height for aspect ratio.
|
28
|
-
#
|
29
|
-
# Example:
|
30
|
-
#
|
31
|
-
# ```
|
32
|
-
# header_logo:
|
33
|
-
# src: /assets/logo-with-text.svg
|
34
|
-
# width: 250
|
35
|
-
# height: 70
|
36
|
-
# ```
|
37
|
-
header_logo:
|
38
|
-
# Base URI for "Edit this page" link in the footer.
|
39
|
-
# When set, this is combined with the relative path to the Markdown file in the repo.
|
40
|
-
#
|
41
|
-
# Example: https://github.com/qunitjs/qunitjs.com/blob/main/
|
42
|
-
edituri_base:
|
43
|
-
# Base URI for version links (e.g. "version added") on page-api layouts.
|
44
|
-
#
|
45
|
-
# Example: https://github.com/qunitjs/qunit/releases/tag/
|
46
|
-
release_base:
|
47
|
-
# Mastodon account URL (e.g. "https://mastodon.technology/@qunitjs")
|
48
|
-
mastodon:
|
49
|
-
# Twitter.com username (without "@")
|
50
|
-
twitter:
|
51
|
-
# GitHub.com organisation or username (without "@")
|
52
|
-
github:
|
53
|
-
# Gitter.im room (e.g. "qunitjs/qunit")
|
54
|
-
gitter:
|
55
|
-
# Search powered by Typesense
|
56
|
-
#
|
57
|
-
# https://github.com/qunitjs/jekyll-theme-amethyst/blob/main/docs/getting-started.md#enable-typesense
|
58
|
-
typesense:
|
59
|
-
origin:
|
60
|
-
collection:
|
61
|
-
search_only_api_key:
|
62
|
-
|
63
|
-
|
64
|
-
# Blog archives
|
65
|
-
#
|
66
|
-
# Docs: https://github.com/jekyll/jekyll-archives/
|
67
|
-
jekyll-archives:
|
68
|
-
enabled:
|
69
|
-
- year
|
70
|
-
layout: posts-year
|
71
|
-
permalinks:
|
72
|
-
year: "/:year/"
|
73
|
-
|
74
|
-
```
|
data/docs/getting-started.md
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
# Getting started with Amethyst
|
2
|
-
|
3
|
-
For a minimal and clean starting point, copy the [example](https://github.com/qunitjs/jekyll-theme-amethyst/tree/example) branch.
|
4
|
-
|
5
|
-
For the end-result, see [Amethyst Demo](https://qunitjs.github.io/jekyll-theme-amethyst/), or the [QUnit website](https://qunitjs.com/).
|
6
|
-
|
7
|
-
## Create a repository
|
8
|
-
|
9
|
-
1. If you haven't already, create a new repository.
|
10
|
-
```
|
11
|
-
$ mkdir my-site
|
12
|
-
$ cd my-site/
|
13
|
-
my-site$ git init
|
14
|
-
```
|
15
|
-
|
16
|
-
2. Copy the Example files, like so:
|
17
|
-
```
|
18
|
-
my-site$ git fetch https://github.com/qunitjs/jekyll-theme-amethyst.git example && git checkout FETCH_HEAD .
|
19
|
-
```
|
20
|
-
|
21
|
-
That's it!
|
22
|
-
|
23
|
-
You can now run `bundle install && bundle exec jekyll serve` and view the site locally at <http://localhost:4000/>.
|
24
|
-
See [README.md](../README.md#contributing) for more details.
|
25
|
-
|
26
|
-
## Make it yours
|
27
|
-
|
28
|
-
### Configuration
|
29
|
-
|
30
|
-
Edit the [_config.yml](https://github.com/qunitjs/jekyll-theme-amethyst/blob/example/_config.yml) file:
|
31
|
-
|
32
|
-
* Set `title` to the title of your website.
|
33
|
-
* Set `url` to the address of your website.
|
34
|
-
For a sub-project without an own a domain name (e.g. GitHub Pages for a non-org site), also set `baseurl: /my-repo`.
|
35
|
-
|
36
|
-
Read more about [Amethyst theme configuration](./config.md#readme).
|
37
|
-
|
38
|
-
### Colors
|
39
|
-
|
40
|
-
Change the theme colors in [_sass/amethyst-variables.scss](https://github.com/qunitjs/jekyll-theme-amethyst/blob/example/_sass/amethyst-variables.scss#L1).
|
41
|
-
|
42
|
-
### Site navigation
|
43
|
-
|
44
|
-
Change the top navigation links, or create sub menus, via [sitenav.yml](https://github.com/qunitjs/jekyll-theme-amethyst/blob/example/_data/sitenav.yml).
|
45
|
-
|
46
|
-
### Custom domain
|
47
|
-
|
48
|
-
See [Manage a custom domain with GitHub Pages](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site).
|
49
|
-
|
50
|
-
### Enable Typesense
|
51
|
-
|
52
|
-
Optional autocompletion with search suggestions.
|
53
|
-
|
54
|
-
1. Follow [Create scraper](https://github.com/jquery/infrastructure-puppet/blob/staging/doc/search.md). Feel free to ask the jQuery Infrastructure Team for help.
|
55
|
-
2. Set the following in your `_config.yml` file:
|
56
|
-
- `amethyst.typesense.origin`: <https://typesense.jquery.com>
|
57
|
-
- `amethyst.typesense.collection`: Unique lowercase name for the current site (e.g. example_com or example_foo).
|
58
|
-
This should match the index name used by your scraper.
|
59
|
-
- `amethyst.typesense.search_only_api_key`: Search-only key (copy from another repo, or consult the jQuery Infrastucture credentials vault.)
|
60
|
-
|
61
|
-
Done! The presence of these settings will automatically enable autocompletion on the search field.
|
data/docsearch.config.json
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"index_name": "amethyst_demo",
|
3
|
-
"start_urls": [
|
4
|
-
{ "url": "https://qunitjs.github.io/jekyll-theme-amethyst/api/", "selectors_key": "api", "page_rank": 20 },
|
5
|
-
{ "url": "https://qunitjs.github.io/jekyll-theme-amethyst/\\d{4}/", "selectors_key": "blog", "page_rank": 1 },
|
6
|
-
{ "url": "https://qunitjs.github.io/jekyll-theme-amethyst/", "page_rank": 10 }
|
7
|
-
],
|
8
|
-
"stop_content": [
|
9
|
-
"<meta name=\"docsearch:amethyst_pagetype_navigation\""
|
10
|
-
],
|
11
|
-
"selectors": {
|
12
|
-
"default": {
|
13
|
-
"lvl0": "h1",
|
14
|
-
"lvl1": "h2",
|
15
|
-
"lvl2": "h3",
|
16
|
-
"lvl3": "h4",
|
17
|
-
"lvl4": "h5",
|
18
|
-
"lvl5": "h6",
|
19
|
-
"text": ".content p, .content li"
|
20
|
-
},
|
21
|
-
"api": {
|
22
|
-
"lvl0": {
|
23
|
-
"// selector": "This is like qSA('p.post-meta .category')[0], match the first category only",
|
24
|
-
"selector": "//article//p[contains(@class,'post-meta')]//*[contains(@class,'category')][1]",
|
25
|
-
"type": "xpath",
|
26
|
-
"global": true,
|
27
|
-
"default_value": "Documentation"
|
28
|
-
},
|
29
|
-
"lvl1": "h1",
|
30
|
-
"lvl2": "h2:not(.screen-reader-text)",
|
31
|
-
"lvl3": "h3:not(.screen-reader-text)",
|
32
|
-
"lvl4": "h4:not(.screen-reader-text)",
|
33
|
-
"lvl5": "h5:not(.screen-reader-text)",
|
34
|
-
"text": ".content p, .content li, .content tr, .content pre"
|
35
|
-
},
|
36
|
-
"blog": {
|
37
|
-
"lvl0": {
|
38
|
-
"selector": "",
|
39
|
-
"global": true,
|
40
|
-
"default_value": "Blog"
|
41
|
-
},
|
42
|
-
"lvl1": "h1",
|
43
|
-
"lvl2": "h2",
|
44
|
-
"lvl3": "h3",
|
45
|
-
"lvl4": "h4",
|
46
|
-
"lvl5": "h5",
|
47
|
-
"text": ".content p, .content li"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
"custom_settings": {
|
51
|
-
"token_separators": ["_", "-", "."]
|
52
|
-
},
|
53
|
-
"selectors_exclude": [
|
54
|
-
"aside.sidebar",
|
55
|
-
".toc-wrapper"
|
56
|
-
],
|
57
|
-
"min_indexed_level": 1,
|
58
|
-
"scrape_start_urls": false
|
59
|
-
}
|
60
|
-
|
data/favicon.svg
DELETED
data/index.md
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: home
|
3
|
-
|
4
|
-
# Defaults to: site.title
|
5
|
-
home_title:
|
6
|
-
# Defaults to: site.description
|
7
|
-
home_description:
|
8
|
-
# Optional
|
9
|
-
home_img:
|
10
|
-
# Optional
|
11
|
-
home_primary_btn:
|
12
|
-
name: Get Started
|
13
|
-
href: /intro/
|
14
|
-
# Optional
|
15
|
-
home_secondary_btn:
|
16
|
-
name: View the Docs
|
17
|
-
href: /api/
|
18
|
-
---
|
19
|
-
|
20
|
-
<section class="grid grid--small home-highlights">
|
21
|
-
<div>
|
22
|
-
<h2>Hue</h2>
|
23
|
-
<p>Cupcake ipsum dolor sit amet jujubes marzipan liquorice.</p>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div>
|
27
|
-
<h2>Mineral</h2>
|
28
|
-
<p>Gummi bears dessert icing carrot cake. Jelly I love wafer I love powder croissant I love.</p>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div>
|
32
|
-
<h2>Quartz</h2>
|
33
|
-
<p>Lemon drops powder oat cake tiramisu powder. I love biscuit I love donut.</p>
|
34
|
-
</div>
|
35
|
-
</section>
|
36
|
-
|
37
|
-
---
|
38
|
-
|
39
|
-
## Join the Community
|
40
|
-
|
41
|
-
<p class="lead lead--center" markdown="1">Join us on [Mastodon](https://mastodon.technology/@qunitjs), [Twitter](https://twitter.com/qunitjs), or [Gitter chat](https://gitter.im/qunitjs/qunit).</p>
|
42
|
-
|
43
|
-
To contribute:
|
44
|
-
|
45
|
-
* [Watch the repository](https://github.com/qunitjs/qunit) to learn about release, new requests, or bug reports.
|
46
|
-
* The source of this website, is in the [qunitjs.com](https://github.com/qunitjs/qunitjs.com) repository.
|
47
|
-
* The source of the Documentation site, is in the ["docs/" directory](https://github.com/qunitjs/qunit/tree/master/docs).
|
48
|
-
|
49
|
-
---
|
50
|
-
|
51
|
-
<p class="cta">What are you waiting for? <a href="{{ '/intro/' | relative_url }}" class="button">Get started!</a></p>
|
data/intro.md
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: Getting Started
|
4
|
-
amethyst:
|
5
|
-
toc: true
|
6
|
-
---
|
7
|
-
|
8
|
-
<p class="lead" markdown="1">The following guide will get you up-and-running in just a few minutes.</p>
|
9
|
-
|
10
|
-
## Command
|
11
|
-
|
12
|
-
<p class="note" markdown="1">Heads up!</p>
|
13
|
-
|
14
|
-
We follow the [Node.js Release schedule](https://github.com/nodejs/LTS), and provide support for Current, Active LTS, and Maintenance LTS releases.
|
15
|
-
|
16
|
-
```bash
|
17
|
-
npm install --save-dev qunit
|
18
|
-
```
|
19
|
-
|
20
|
-
## Code snippet
|
21
|
-
|
22
|
-
<p class="note note--warning" markdown="1">For legacy reasons, you may have to read this sentence.</p>
|
23
|
-
|
24
|
-
Create a `test/add.js` file and call [`QUnit.test()`](https://api.qunitjs.com/QUnit/test/), like so:
|
25
|
-
|
26
|
-
```js
|
27
|
-
QUnit.module('add', function() {
|
28
|
-
QUnit.test('should add two numbers', function(assert) {
|
29
|
-
assert.equal(add(1, 1), 2, '1 + 1 = 2');
|
30
|
-
});
|
31
|
-
});
|
32
|
-
```
|
33
|
-
|
34
|
-
Check out the [API documentation](https://api.qunitjs.com) or run `qunit --help` to discover more of QUnit's features.
|
35
|
-
|
36
|
-
---
|
37
|
-
|
38
|
-
## Table
|
39
|
-
|
40
|
-
| Sequence | 1 | 2 | 3 | 4
|
41
|
-
|--|--
|
42
|
-
| Foobar | Foo | Bar | Baz | Quux
|
43
|
-
| Lorem ipsum | Lorem | Ipsum | Dolor | Sit
|
data/tag/event.md
DELETED