Skip to content

Commit 847c817

Browse files
committed
add docs
1 parent 39e374c commit 847c817

22 files changed

+23508
-403
lines changed

.github/workflows/pages.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
9+
on:
10+
push:
11+
branches: ["main"]
12+
paths:
13+
- "docs/**"
14+
15+
# Allows you to run this workflow manually from the Actions tab
16+
workflow_dispatch:
17+
18+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
19+
permissions:
20+
contents: read
21+
pages: write
22+
id-token: write
23+
24+
# Allow one concurrent deployment
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: true
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
defaults:
34+
run:
35+
working-directory: docs
36+
steps:
37+
- name: Checkout
38+
uses: actions/checkout@v4
39+
- name: Setup Ruby
40+
uses: ruby/setup-ruby@v1
41+
with:
42+
ruby-version: '3.3' # Not needed with a .ruby-version file
43+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
44+
cache-version: 0 # Increment this number if you need to re-download cached gems
45+
working-directory: '${{ github.workspace }}/docs'
46+
47+
- name: Setup Pages
48+
id: pages
49+
uses: actions/configure-pages@v5
50+
- name: Build with Jekyll
51+
# Outputs to the './_site' directory by default
52+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
53+
env:
54+
JEKYLL_ENV: production
55+
- name: Upload artifact
56+
# Automatically uploads an artifact from the './_site' directory by default
57+
uses: actions/upload-pages-artifact@v3
58+
with:
59+
path: "docs/_site/"
60+
61+
62+
# Deployment job
63+
deploy:
64+
environment:
65+
name: github-pages
66+
url: ${{ steps.deployment.outputs.page_url }}
67+
runs-on: ubuntu-latest
68+
needs: build
69+
steps:
70+
- name: Deploy to GitHub Pages
71+
id: deployment
72+
uses: actions/deploy-pages@v4

docs/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/404.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

docs/Gemfile

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,8 @@
1-
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
10-
#gem "jekyll", "~> 4.3.4"
11-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "minima", "~> 2.5"
13-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15-
gem "github-pages", "~> 232", group: :jekyll_plugins
1+
source 'https://rubygems.org'
162

17-
# If you have any plugins, put them here!
18-
group :jekyll_plugins do
19-
gem "jekyll-feed", "~> 0.12"
20-
end
3+
gem "jekyll", "~> 4.3.4" # installed by `gem jekyll`
4+
# gem "webrick" # required when using Ruby >= 3 and Jekyll <= 4.2.2
215

22-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
23-
# and associated library.
24-
platforms :mingw, :x64_mingw, :mswin, :jruby do
25-
gem "tzinfo", ">= 1", "< 3"
26-
gem "tzinfo-data"
27-
end
28-
29-
# Performance-booster for watching directories on Windows
30-
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
31-
32-
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
33-
# do not have a Java counterpart.
34-
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
6+
gem "just-the-docs", "0.10.0" # pinned to the current release
7+
# gem "just-the-docs" # always download the latest release
8+
gem "jekyll-default-layout"

0 commit comments

Comments
 (0)