Skip to content

Commit 8589ad1

Browse files
committed
fix: use latest ruby and newer jekyll versions
- [x] ruby 3.3.5, update .ruby-version - [x] use latest github-pages gem which uses Jekyll 3.10.0 (from 6/2024) - previous was using jekyll 2.4.0 (was from 10 years ago) - [x] setup .devcontainer for local development - [x] add Gemfile.lock (remove from .gitignore) - [x] update dependabot config to include gems/bundler (weekly) - [x] fix markdown formatting in CONTRIBUTING.md - [x] fix liquid parsing issue of handlebars/index.md (backticks to quotes) - [Error](https://github.com/github/explore/actions/runs/11299945094/job/31431925940#step:6:82) Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent e66928b commit 8589ad1

File tree

8 files changed

+411
-14
lines changed

8 files changed

+411
-14
lines changed

.devcontainer/devcontainer.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Jekyll website",
3+
"image": "mcr.microsoft.com/devcontainers/jekyll:latest",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "22"
7+
},
8+
"ghcr.io/devcontainers/features/ruby:1": {
9+
"version": "3.3.5"
10+
}
11+
},
12+
"forwardPorts": [
13+
// Jekyll server
14+
4000,
15+
// Live reload server
16+
35729
17+
],
18+
"postCreateCommand": "bundle exec jekyll serve --incremental"
19+
}

.github/dependabot.yml

+24-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,30 @@ updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
interval: "daily"
7+
interval: "weekly"
8+
timezone: "America/Los_Angeles"
9+
labels:
10+
- "dependabot"
11+
- "dependencies"
12+
- "github-actions"
13+
commit-message:
14+
prefix: "chore(deps)"
15+
open-pull-requests-limit: 99
16+
groups:
17+
dependencies:
18+
applies-to: version-updates
19+
update-types:
20+
- "minor"
21+
- "patch"
22+
- package-ecosystem: "bundler"
23+
directory: /
24+
schedule:
25+
interval: "weekly"
26+
timezone: "America/Los_Angeles"
27+
labels:
28+
- "dependabot"
29+
- "dependencies"
30+
- "bundler"
831
commit-message:
932
prefix: "chore(deps)"
1033
open-pull-requests-limit: 99

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.DS_Store
2-
Gemfile.lock
32
scripts/
43
_site
54
.sass-cache

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.3.5

CONTRIBUTING.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ There are a few ways you can contribute:
1212
As you write content, check out the [Style Guide](./docs/styleguide.md) to learn what each field means, and how it should be formatted. Following the style guide will increase the chances of your contribution being accepted.
1313

1414
Notes:
15-
- Updates won't immediately appear once we've merged your PR. We pull in these changes regularly to GitHub.
16-
- Please limit your pull request to the creation/updating of one topic or collection at a time.
15+
16+
- Updates won't immediately appear once we've merged your PR. We pull in these changes regularly to GitHub.
17+
- Please limit your pull request to the creation/updating of one topic or collection at a time.
1718

1819
## Improving an existing topic or collection
1920

@@ -37,7 +38,8 @@ To update text and links, edit the `index.md` inside the topic or collection's d
3738
For **topics**, you'll notice that, in examples like the topic "[algorithm](https://raw.githubusercontent.com/github/explore/main/topics/algorithm/index.md)," data like its canonical URL, Wikipedia URL, or display name are called out in key-value pairs, while its detailed description is accounted for in the body of the document.
3839

3940
_/topics/algorithm/index.md_:
40-
```
41+
42+
```markdown
4143
---
4244
aliases: algorithms
4345
display_name: Algorithm
@@ -54,7 +56,7 @@ Similarly, **collections** like "[music](https://raw.githubusercontent.com/githu
5456

5557
_/collections/music/index.md_:
5658

57-
```
59+
```markdown
5860
---
5961
items:
6062
- beetbox/beets
@@ -98,11 +100,11 @@ This repository includes [a list of the most-used GitHub topics that don't yet h
98100

99101
## Guidelines
100102

101-
* Avoid conflicts of interest. These should be of general community interest, not a marketing vehicle for a product or a personal project. If you are a direct employee of a company creating the project, or the creator and sole maintainer, it's unlikely to be accepted.
102-
* We love experimenting with new technologies, and we are especially fond of GitHub Copilot. But as with all new technology, many of us are still getting accustomed to using generative AI tools effectively. Here are important guidelines to follow when using generative AI to contribute to this repository (adapted from the [GitHub Community Discussions CoC](https://github.com/community/community/blob/main/CODE_OF_CONDUCT.md#reasonable-use-of-ai-generated-content)):
103-
* Read and revise the content before you post it. Use your own authentic voice and edit.
104-
* Do not post AI-generated content verbatim to pad out the size and number of your contributions. Your changes should materially improve the site, not just say the same thing in different words.
105-
* AI tools will often provide completely inaccurate or invented answers to prompts. Verify with an independent source that the information is correct before including it.
103+
- Avoid conflicts of interest. These should be of general community interest, not a marketing vehicle for a product or a personal project. If you are a direct employee of a company creating the project, or the creator and sole maintainer, it's unlikely to be accepted.
104+
- We love experimenting with new technologies, and we are especially fond of GitHub Copilot. But as with all new technology, many of us are still getting accustomed to using generative AI tools effectively. Here are important guidelines to follow when using generative AI to contribute to this repository (adapted from the [GitHub Community Discussions CoC](https://github.com/community/community/blob/main/CODE_OF_CONDUCT.md#reasonable-use-of-ai-generated-content)):
105+
- Read and revise the content before you post it. Use your own authentic voice and edit.
106+
- Do not post AI-generated content verbatim to pad out the size and number of your contributions. Your changes should materially improve the site, not just say the same thing in different words.
107+
- AI tools will often provide completely inaccurate or invented answers to prompts. Verify with an independent source that the information is correct before including it.
106108

107109
## Running tests
108110

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22

3-
gem "github-pages", group: :jekyll_plugins
3+
gem "github-pages", "~> 232", group: :jekyll_plugins
44

55
group :test do
66
gem "fastimage"

0 commit comments

Comments
 (0)