Skip to content

Commit 19c3181

Browse files
authored
[Wiki] GitHub pages (#129)
* main page and some basic structure * faq * Create jekyll-gh-pages.yml * Update jekyll-gh-pages.yml * add url to config * ATM9, blocks and stargate variants * color tweaks * stargate variants * remove docs folder & changes * faq & discord link from variable * Table of contents * troubleshooting * what is stargate * Survival Guide - finding a gate * Survival Guide - dialing * img * block images * Survival Guide * temporary deployment * fix links for subfolder on github pages * survival guide correction * variant and upgrade crystals * structure * stargate interface * another computercraft docs * computercraft interface functions * computercraft interface functions usage * computercraft stargate_interface functions usage * update interface modes description (rotation for universe stargate) * add missing image * computercraft stargate_interface milky way methods * computercraft events * computercraft events fix heading * copy everything from the old wiki * comments * hide empty pages, move stargate_network out of mechanics folder, fix links to the old wiki
1 parent a594465 commit 19c3181

File tree

150 files changed

+5585
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+5585
-129
lines changed

.github/workflows/jekyll-gh-pages.yml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2+
name: Deploy Jekyll with GitHub Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["documentation"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: true
23+
24+
jobs:
25+
# Build job
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
- name: Setup Ruby
32+
uses: ruby/setup-ruby@v1
33+
with:
34+
ruby-version: '3.3' # Not needed with a .ruby-version file
35+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
36+
cache-version: 0 # Increment this number if you need to re-download cached gems
37+
- name: Setup Pages
38+
id: pages
39+
uses: actions/configure-pages@v5
40+
- name: Build with Jekyll
41+
# Outputs to the './_site' directory by default
42+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
43+
env:
44+
JEKYLL_ENV: production
45+
- name: Upload artifact
46+
# Automatically uploads an artifact from the './_site' directory by default
47+
uses: actions/upload-pages-artifact@v3
48+
49+
# Deployment job
50+
deploy:
51+
environment:
52+
name: github-pages
53+
url: ${{ steps.deployment.outputs.page_url }}
54+
runs-on: ubuntu-latest
55+
needs: build
56+
steps:
57+
- name: Deploy to GitHub Pages
58+
id: deployment
59+
uses: actions/deploy-pages@v4

.gitignore

+43-31
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,43 @@
1-
# eclipse
2-
bin
3-
*.launch
4-
.settings
5-
.metadata
6-
.classpath
7-
.project
8-
9-
# idea
10-
out
11-
*.ipr
12-
*.iws
13-
*.iml
14-
.idea
15-
16-
# vscode
17-
.vscode
18-
19-
# gradle
20-
build
21-
.gradle
22-
23-
# other
24-
eclipse
25-
run
26-
27-
# Files from Forge MDK
28-
forge*changelog.txt
29-
30-
# Log files
31-
logs
1+
# eclipse
2+
bin
3+
*.launch
4+
.settings
5+
.metadata
6+
.classpath
7+
.project
8+
9+
# idea
10+
out
11+
*.ipr
12+
*.iws
13+
*.iml
14+
.idea
15+
16+
# vscode
17+
.vscode
18+
19+
# gradle
20+
build
21+
.gradle
22+
23+
# other
24+
eclipse
25+
run
26+
27+
# Files from Forge MDK
28+
forge*changelog.txt
29+
30+
# Log files
31+
logs
32+
33+
34+
# Ignore metadata generated by Jekyll
35+
_site/
36+
.sass-cache/
37+
.jekyll-cache/
38+
.jekyll-metadata
39+
40+
# Ignore folders generated by Bundler
41+
Gemfile.lock
42+
.bundle/
43+
vendor/

Gemfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
source "https://rubygems.org"
2+
3+
gem "webrick", "~> 1.8"
4+
gem "github-pages", group: :jekyll_plugins
5+
6+
# theme
7+
# https://github.com/just-the-docs/just-the-docs
8+
gem "just-the-docs", "~> 0.8.2"
9+
10+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
11+
# and associated library.
12+
platforms :mingw, :x64_mingw, :mswin, :jruby do
13+
gem "tzinfo", ">= 1", "< 3"
14+
gem "tzinfo-data"
15+
end
16+
17+
# Performance-booster for watching directories on Windows
18+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
19+
20+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
21+
# do not have a Java counterpart.
22+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

0 commit comments

Comments
 (0)