Re-write to cleanup all styles and such (#158)
* Rewrite and re-style the wiki * Fix links * Fix mobile width being wrong * Make the anticheat warning pretty * Fix root pages * Fix code blocks and cleanup some other bits * Fix search * Fix android and iOS sidebar links
No files matched your search
@@ -1,4 +1,5 @@
|
||||
vendor
|
||||
_site
|
||||
.idea/
|
||||
*.iml
|
||||
.sass-cache
|
||||
.jekyll-cache
|
||||
.jekyll-metadata
|
||||
vendor
|
||||
@@ -1,5 +1,4 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
# Hello! This is where you manage which Jekyll version is used to run.
|
||||
# When you want to use a different version, change it below, save the
|
||||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||
@@ -8,19 +7,29 @@ source "https://rubygems.org"
|
||||
#
|
||||
# This will help ensure the proper Jekyll version is running.
|
||||
# Happy Jekylling!
|
||||
# gem "jekyll", "3.2.1"
|
||||
|
||||
#gem "jekyll", "~> 4.3.2"
|
||||
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
||||
# gem "minima"
|
||||
gem 'webrick'
|
||||
|
||||
# gem "minima", "~> 2.5"
|
||||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
||||
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
||||
gem "github-pages", group: :jekyll_plugins
|
||||
|
||||
# If you have any plugins, put them here!
|
||||
# group :jekyll_plugins do
|
||||
# gem "jekyll-github-metadata", "~> 1.0"
|
||||
# end
|
||||
group :jekyll_plugins do
|
||||
# gem "jekyll-feed", "~> 0.12"
|
||||
end
|
||||
|
||||
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
|
||||
gem 'webrick'
|
||||
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
# and associated library.
|
||||
platforms :mingw, :x64_mingw, :mswin, :jruby do
|
||||
gem "tzinfo", ">= 1", "< 3"
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
|
||||
# Performance-booster for watching directories on Windows
|
||||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
|
||||
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
|
||||
# do not have a Java counterpart.
|
||||
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
|
||||
@@ -1,65 +1,43 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (6.0.4.4)
|
||||
activesupport (7.0.4.3)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 0.7, < 2)
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
zeitwerk (~> 2.2, >= 2.2.2)
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
tzinfo (~> 2.0)
|
||||
addressable (2.8.1)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.11.1)
|
||||
colorator (1.1.0)
|
||||
commonmarker (0.17.13)
|
||||
ruby-enum (~> 0.5)
|
||||
concurrent-ruby (1.1.9)
|
||||
commonmarker (0.23.9)
|
||||
concurrent-ruby (1.2.2)
|
||||
dnsruby (1.61.9)
|
||||
simpleidn (~> 0.1)
|
||||
em-websocket (0.5.3)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0)
|
||||
ethon (0.15.0)
|
||||
ethon (0.16.0)
|
||||
ffi (>= 1.15.0)
|
||||
eventmachine (1.2.7)
|
||||
eventmachine (1.2.7-x64-mingw32)
|
||||
execjs (2.8.1)
|
||||
faraday (1.9.3)
|
||||
faraday-em_http (~> 1.0)
|
||||
faraday-em_synchrony (~> 1.0)
|
||||
faraday-excon (~> 1.1)
|
||||
faraday-httpclient (~> 1.0)
|
||||
faraday-multipart (~> 1.0)
|
||||
faraday-net_http (~> 1.0)
|
||||
faraday-net_http_persistent (~> 1.0)
|
||||
faraday-patron (~> 1.0)
|
||||
faraday-rack (~> 1.0)
|
||||
faraday-retry (~> 1.0)
|
||||
faraday (2.7.4)
|
||||
faraday-net_http (>= 2.0, < 3.1)
|
||||
ruby2_keywords (>= 0.0.4)
|
||||
faraday-em_http (1.0.0)
|
||||
faraday-em_synchrony (1.0.0)
|
||||
faraday-excon (1.1.0)
|
||||
faraday-httpclient (1.0.1)
|
||||
faraday-multipart (1.0.3)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
faraday-net_http (1.0.1)
|
||||
faraday-net_http_persistent (1.2.0)
|
||||
faraday-patron (1.0.0)
|
||||
faraday-rack (1.0.0)
|
||||
faraday-retry (1.0.3)
|
||||
faraday-net_http (3.0.2)
|
||||
ffi (1.15.5)
|
||||
ffi (1.15.5-x64-mingw32)
|
||||
ffi (1.15.5-x64-mingw-ucrt)
|
||||
forwardable-extended (2.6.0)
|
||||
gemoji (3.0.1)
|
||||
github-pages (223)
|
||||
github-pages (228)
|
||||
github-pages-health-check (= 1.17.9)
|
||||
jekyll (= 3.9.0)
|
||||
jekyll (= 3.9.3)
|
||||
jekyll-avatar (= 0.7.0)
|
||||
jekyll-coffeescript (= 1.1.1)
|
||||
jekyll-commonmark-ghpages (= 0.1.6)
|
||||
jekyll-commonmark-ghpages (= 0.4.0)
|
||||
jekyll-default-layout (= 0.1.4)
|
||||
jekyll-feed (= 0.15.1)
|
||||
jekyll-gist (= 1.5.0)
|
||||
@@ -73,7 +51,7 @@ GEM
|
||||
jekyll-relative-links (= 0.6.1)
|
||||
jekyll-remote-theme (= 0.4.3)
|
||||
jekyll-sass-converter (= 1.5.2)
|
||||
jekyll-seo-tag (= 2.7.1)
|
||||
jekyll-seo-tag (= 2.8.0)
|
||||
jekyll-sitemap (= 1.4.0)
|
||||
jekyll-swiss (= 1.0.0)
|
||||
jekyll-theme-architect (= 0.2.0)
|
||||
@@ -91,12 +69,12 @@ GEM
|
||||
jekyll-theme-time-machine (= 0.2.0)
|
||||
jekyll-titles-from-headings (= 0.5.3)
|
||||
jemoji (= 0.12.0)
|
||||
kramdown (= 2.3.1)
|
||||
kramdown (= 2.3.2)
|
||||
kramdown-parser-gfm (= 1.1.0)
|
||||
liquid (= 4.0.3)
|
||||
liquid (= 4.0.4)
|
||||
mercenary (~> 0.3)
|
||||
minima (= 2.5.1)
|
||||
nokogiri (>= 1.12.5, < 2.0)
|
||||
nokogiri (>= 1.13.6, < 2.0)
|
||||
rouge (= 3.26.0)
|
||||
terminal-table (~> 1.4)
|
||||
github-pages-health-check (1.17.9)
|
||||
@@ -105,17 +83,17 @@ GEM
|
||||
octokit (~> 4.0)
|
||||
public_suffix (>= 3.0, < 5.0)
|
||||
typhoeus (~> 1.3)
|
||||
html-pipeline (2.14.0)
|
||||
html-pipeline (2.14.3)
|
||||
activesupport (>= 2)
|
||||
nokogiri (>= 1.4)
|
||||
http_parser.rb (0.8.0)
|
||||
i18n (0.9.5)
|
||||
i18n (1.12.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.9.0)
|
||||
jekyll (3.9.3)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 0.7)
|
||||
i18n (>= 0.7, < 2)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
kramdown (>= 1.17, < 3)
|
||||
@@ -129,13 +107,13 @@ GEM
|
||||
jekyll-coffeescript (1.1.1)
|
||||
coffee-script (~> 2.2)
|
||||
coffee-script-source (~> 1.11.1)
|
||||
jekyll-commonmark (1.3.1)
|
||||
commonmarker (~> 0.14)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-commonmark-ghpages (0.1.6)
|
||||
commonmarker (~> 0.17.6)
|
||||
jekyll-commonmark (~> 1.2)
|
||||
rouge (>= 2.0, < 4.0)
|
||||
jekyll-commonmark (1.4.0)
|
||||
commonmarker (~> 0.22)
|
||||
jekyll-commonmark-ghpages (0.4.0)
|
||||
commonmarker (~> 0.23.7)
|
||||
jekyll (~> 3.9.0)
|
||||
jekyll-commonmark (~> 1.4.0)
|
||||
rouge (>= 2.0, < 5.0)
|
||||
jekyll-default-layout (0.1.4)
|
||||
jekyll (~> 3.0)
|
||||
jekyll-feed (0.15.1)
|
||||
@@ -166,7 +144,7 @@ GEM
|
||||
rubyzip (>= 1.3.0, < 3.0)
|
||||
jekyll-sass-converter (1.5.2)
|
||||
sass (~> 3.4)
|
||||
jekyll-seo-tag (2.7.1)
|
||||
jekyll-seo-tag (2.8.0)
|
||||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-sitemap (1.4.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
@@ -219,41 +197,36 @@ GEM
|
||||
gemoji (~> 3.0)
|
||||
html-pipeline (~> 2.2)
|
||||
jekyll (>= 3.0, < 5.0)
|
||||
kramdown (2.3.1)
|
||||
kramdown (2.3.2)
|
||||
rexml
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
kramdown (~> 2.0)
|
||||
liquid (4.0.3)
|
||||
listen (3.7.1)
|
||||
liquid (4.0.4)
|
||||
listen (3.8.0)
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mercenary (0.3.6)
|
||||
mini_portile2 (2.7.1)
|
||||
minima (2.5.1)
|
||||
jekyll (>= 3.5, < 5.0)
|
||||
jekyll-feed (~> 0.9)
|
||||
jekyll-seo-tag (~> 2.1)
|
||||
minitest (5.15.0)
|
||||
multipart-post (2.1.1)
|
||||
nokogiri (1.13.1)
|
||||
mini_portile2 (~> 2.7.0)
|
||||
minitest (5.18.0)
|
||||
nokogiri (1.14.3-x64-mingw-ucrt)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.13.1-x64-mingw32)
|
||||
nokogiri (1.14.3-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
octokit (4.22.0)
|
||||
faraday (>= 0.9)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
octokit (4.25.1)
|
||||
faraday (>= 1, < 3)
|
||||
sawyer (~> 0.9)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (4.0.6)
|
||||
racc (1.6.0)
|
||||
rb-fsevent (0.11.0)
|
||||
public_suffix (4.0.7)
|
||||
racc (1.6.2)
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rexml (3.2.5)
|
||||
rouge (3.26.0)
|
||||
ruby-enum (0.9.0)
|
||||
i18n
|
||||
ruby2_keywords (0.0.5)
|
||||
rubyzip (2.3.2)
|
||||
safe_yaml (1.0.5)
|
||||
@@ -262,40 +235,38 @@ GEM
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
sassc (2.4.0)
|
||||
ffi (~> 1.9)
|
||||
sassc (2.4.0-x64-mingw32)
|
||||
ffi (~> 1.9)
|
||||
sawyer (0.8.2)
|
||||
sawyer (0.9.2)
|
||||
addressable (>= 2.3.5)
|
||||
faraday (> 0.8, < 2.0)
|
||||
faraday (>= 0.17.3, < 3)
|
||||
simpleidn (0.2.1)
|
||||
unf (~> 0.1.4)
|
||||
terminal-table (1.8.0)
|
||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
||||
thread_safe (0.3.6)
|
||||
typhoeus (1.4.0)
|
||||
ethon (>= 0.9.0)
|
||||
tzinfo (1.2.9)
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
tzinfo-data (1.2022.7)
|
||||
tzinfo (>= 1.0.0)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.8)
|
||||
unf_ext (0.0.8-x64-mingw32)
|
||||
unf_ext (0.0.8.2)
|
||||
unf_ext (0.0.8.2-x64-mingw-ucrt)
|
||||
unicode-display_width (1.8.0)
|
||||
wdm (0.1.1)
|
||||
webrick (1.7.0)
|
||||
zeitwerk (2.5.4)
|
||||
webrick (1.8.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
x64-mingw32
|
||||
x64-mingw-ucrt
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
github-pages
|
||||
sassc
|
||||
wdm (>= 0.1.0)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
tzinfo (>= 1, < 3)
|
||||
tzinfo-data
|
||||
wdm (~> 0.1.1)
|
||||
webrick
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.32
|
||||
2.4.6
|
||||
@@ -1,72 +1,29 @@
|
||||
# Welcome to Jekyll!
|
||||
#
|
||||
# This config file is meant for settings that affect your whole blog, values
|
||||
# which you are expected to set up once and rarely edit after that. If you find
|
||||
# yourself editing these this file very often, consider using Jekyll's data files
|
||||
# feature for the data you need to update frequently.
|
||||
#
|
||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||
# 'jekyll serve'. If you change this file, please restart the server process.
|
||||
|
||||
# Site settings
|
||||
# These are used to personalize your new site. If you look in the HTML files,
|
||||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
||||
# You can create any custom variable you would like, and they will be accessible
|
||||
# in the templates via {{ site.myvariable }}.
|
||||
|
||||
# General site settings
|
||||
title: GeyserMC Wiki
|
||||
author: GeyserMC
|
||||
description: > # this means to ignore newlines until "baseurl:"
|
||||
This is the wiki for all of GeyserMCs projects.
|
||||
description: >-
|
||||
This is the wiki for all of GeyserMC's projects.
|
||||
|
||||
# Add your baseurl here (your repository) but DO NOT CHANGE THE LINE NUMBER without editing .circleci/circle_urls.sh
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
# Url settings
|
||||
baseurl: ""
|
||||
url: "https://wiki.geysermc.org"
|
||||
|
||||
# This is mostly for testing
|
||||
url: "https://wiki.geysermc.org" # the base hostname & protocol for your site
|
||||
|
||||
# Social (First three Required)
|
||||
# Repository settings
|
||||
repo: "https://github.com/GeyserMC/GeyserWiki"
|
||||
github_user: "GeyserMC"
|
||||
github_repo: "Geyser"
|
||||
github_branch: "master"
|
||||
|
||||
# Optional
|
||||
twitter: geyser_mc
|
||||
|
||||
# Should there be feedback buttons at the bottom of pages?
|
||||
feedback: true
|
||||
|
||||
# Link to a privacy policy in footer, uncomment and define if wanted
|
||||
# privacy: https://domain.com/privacy
|
||||
|
||||
# google-analytics: UA-XXXXXXXXXX
|
||||
# Image and (square) dimension for logo (don't start with /)
|
||||
# If commented, will use material hat theme
|
||||
# logo: "assets/img/logo/SRCC-square-red.png"
|
||||
logo_pixels: 34
|
||||
color: "#2b3035"
|
||||
# color: "#8c1515" # primary color for header, buttons
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
|
||||
# If you add tags to pages, define this variable to link them to some external search
|
||||
# If you want to link to tags locally on the site, leave this commented out
|
||||
# tag_search_endpoint: https://ask.cyberinfrastructure.org/search?q=
|
||||
tag_color: primary # danger, success, warning, primary, info, secondary
|
||||
|
||||
permalink: /:year/:title/
|
||||
markdown: kramdown
|
||||
exclude: [_site, CHANGELOG.md, LICENSE, README.md, vendor]
|
||||
highlighter: rouge
|
||||
exclude: [_site, LICENSE, README.md]
|
||||
|
||||
# Collections
|
||||
collections:
|
||||
docs:
|
||||
output: true
|
||||
permalink: /:collection/:path
|
||||
permalink: /:path/
|
||||
|
||||
# Defaults
|
||||
# Front Matter Defaults
|
||||
defaults:
|
||||
- scope:
|
||||
path: "_docs"
|
||||
@@ -78,4 +35,4 @@ defaults:
|
||||
path: ""
|
||||
type: "pages"
|
||||
values:
|
||||
layout: "page"
|
||||
layout: default
|
||||
@@ -1,2 +0,0 @@
|
||||
- title: Download
|
||||
external_url: https://geysermc.org/download
|
||||
@@ -12,9 +12,9 @@
|
||||
url: "geyser/standalone/"
|
||||
children:
|
||||
- title: Termux (Android)
|
||||
url: "geyser/setup/#termux-android"
|
||||
url: "geyser/standalone/#termux-android"
|
||||
- title: NewTerm 2 (iOS)
|
||||
url: "geyser/setup/#newterm-2-ios"
|
||||
url: "geyser/standalone/#newterm-2-ios"
|
||||
- title: FAQ
|
||||
url: "geyser/faq/"
|
||||
- title: Common Issues
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Floodgate API
|
||||
permalink: /floodgate/api/
|
||||
---
|
||||
|
||||
### Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](/floodgate/forms/)
|
||||
@@ -27,7 +25,6 @@ Floodgate uses the open collaboration repo. The following example is for Maven,
|
||||
```
|
||||
|
||||
The Floodgate API has changed in Floodgate 2.0. The most important change is that the API methods are no longer static and instead instance-based, as shown below.
|
||||
|
||||
---
|
||||
|
||||
The class FloodgateApi is the base class of the API and you need to use it to access any part of the API.<br>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Commands
|
||||
permalink: /floodgate/commands/
|
||||
---
|
||||
|
||||
| Command | Permission | Description |
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Features
|
||||
permalink: /floodgate/features/
|
||||
---
|
||||
|
||||
## Whitelist command
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Forms and Cumulus
|
||||
permalink: /floodgate/forms/
|
||||
---
|
||||
|
||||
# What is Cumulus?
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Issues
|
||||
permalink: /floodgate/issues/
|
||||
---
|
||||
|
||||
# Known Issues & Caveats
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Linking
|
||||
permalink: /floodgate/linking/
|
||||
---
|
||||
|
||||
## What is Global Linking?
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: FloodgatePlayer
|
||||
permalink: /floodgate/player/
|
||||
---
|
||||
|
||||
FloodgatePlayer is something that every player who's connect through Floodgate has.<br>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
layout: page
|
||||
title: Floodgate
|
||||
permalink: /floodgate/
|
||||
---
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Floodgate Setup
|
||||
permalink: /floodgate/setup/
|
||||
---
|
||||
|
||||
## Downloads:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
layout: page
|
||||
title: Anticheat Compatibility
|
||||
permalink: /geyser/anticheat-compatibility/
|
||||
---
|
||||
|
||||
<h3>The AntiCheats listed below have been categorized based on their compatibility with Geyser. This is a community-compiled list and does not indicate any endorsement from GeyserMC. Use them at your own risk!</h3>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
The AntiCheats listed below have been categorized based on their compatibility with Geyser. This is a community-compiled list and does not indicate any endorsement from GeyserMC. Use them at your own risk!
|
||||
</div>
|
||||
|
||||
### AntiCheat compatibility reports
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Commands
|
||||
permalink: /geyser/commands/
|
||||
---
|
||||
|
||||
# Commands and Permissions
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Common Issues
|
||||
permalink: /geyser/common-issues/
|
||||
---
|
||||
|
||||
Commonly, people may have issues with Geyser not showing up in their server list or run into similar issues. This page contains a few common issues people may encounter that you might have as well as potential fixes for them. If you still can't make it work, join [our Discord](https://discord.gg/geysermc) for support.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Creating a Startup Script
|
||||
permalink: /geyser/creating-a-startup-script/
|
||||
---
|
||||
|
||||
**In order for this to work, you MUST have Java 16 (or higher) installed!**
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Current Limitations
|
||||
permalink: /geyser/current-limitations/
|
||||
---
|
||||
|
||||
With Geyser being a protocol translator between two different games with two different codebases, there are a handful of limitations that Geyser is unfortunately unable to handle. Despite Minecraft Bedrock and Java being quite close in comparison, there are some vast differences in many areas.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Custom items with Geyser
|
||||
permalink: /geyser/custom-items/
|
||||
---
|
||||
|
||||
# Custom items with Geyser
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: FAQ
|
||||
permalink: /geyser/faq/
|
||||
---
|
||||
|
||||
## How Does it Work?
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Fixing 'Unable to Connect to World'
|
||||
permalink: /geyser/fixing-unable-to-connect-to-world/
|
||||
---
|
||||
|
||||
*Unable to Connect to World* is by far the most common error people get when attempting to set up Geyser. Here's some steps on how to solve that.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: playit.gg Setup
|
||||
permalink: /geyser/playit-gg/
|
||||
---
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
---
|
||||
layout: page
|
||||
title: Geyser
|
||||
permalink: /geyser/
|
||||
---
|
||||
|
||||
# Geyser
|
||||
[](LICENSE)
|
||||
[](https://ci.nukkitx.com/job/Geyser/job/master/)
|
||||
[](https://github.com/GeyserMC/Geyser/actions/workflows/build.yml)
|
||||
[](https://discord.geysermc.org)
|
||||
|
||||
_A bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition._
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Geyser and Secure Chat
|
||||
permalink: /geyser/secure-chat/
|
||||
---
|
||||
|
||||
In the 1.19 Java Edition updates, a mechanism for reporting player chat messages to Mojang was implemented.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Geyser Setup
|
||||
permalink: /geyser/setup/
|
||||
---
|
||||
|
||||
# Setup
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Standalone Command Line Arguments
|
||||
permalink: /geyser/standalone-command-line-arguments/
|
||||
---
|
||||
|
||||
# General command-line arguments
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Geyser Standalone
|
||||
permalink: /geyser/standalone/
|
||||
---
|
||||
|
||||
# Setup of Geyser Standalone
|
||||
|
||||
@@ -1,16 +1,22 @@
|
||||
---
|
||||
layout: page
|
||||
title: Supported Hosting Providers
|
||||
permalink: /geyser/supported-hosting-providers/
|
||||
---
|
||||
|
||||
This list is incomplete. Please open a [PR](https://github.com/GeyserMC/GeyserWiki/pulls) or contact us on [Discord](https://discord.gg/geysermc) if the information is incorrect or you want to add a new hosting provider!
|
||||
<div class="alert alert-danger" role="alert">
|
||||
This list is incomplete. Please open a <a href="https://github.com/GeyserMC/GeyserWiki/pulls">PR</a> or contact us on <a href="https://discord.gg/geysermc">Discord</a> if the information is incorrect or you want to add a new hosting provider!
|
||||
</div>
|
||||
|
||||
<div class="alert alert-warning" role="alert">
|
||||
It should also be noted that these providers may not be verified by the Geyser team, and the server providers below are reported as working by members of the community.
|
||||
</div>
|
||||
|
||||
**Warning: The below information is for the plugin versions of Geyser unless otherwise specified**
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Using a <i>"Free Host"</i> may not give you the best experience <i>at all</i>. If you want better support, more freedom to control your server, and learn how to run one, PLEASE pay for a server.
|
||||
</div>
|
||||
|
||||
**Warning: Using a *”Free Host”* may not give you the best experience *at all*. If you want better support, more freedom to control your server, and learn how to run one, PLEASE pay for a server.**
|
||||
<div class="alert alert-info" role="alert">
|
||||
The below information is for the plugin versions of Geyser unless otherwise specified
|
||||
</div>
|
||||
|
||||
## Built-in Geyser
|
||||
{% for provider in site.data.providers.built_in %}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Understanding the Config
|
||||
permalink: /geyser/understanding-the-config/
|
||||
---
|
||||
|
||||
This page covers basic information about the Geyser config and what each option does. Though they are explained in the configuration itself, this explains what each option does in more detail.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Using Geyser or Floodgate as a dependency
|
||||
permalink: /geyser/using-geyser-or-floodgate-as-a-dependency/
|
||||
---
|
||||
|
||||
To start, add the Open Collaboration repository to your project:
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Using Geyser with Consoles
|
||||
permalink: /geyser/using-geyser-with-consoles/
|
||||
---
|
||||
|
||||
All consoles can join third-party servers - including Geyser servers - with workarounds. Xbox One, Nintendo Switch, and PS4 systems can join third-party servers using a third-party program called BedrockConnect. For technical information about the program, including how to run your own setup, see [their GitHub repository](https://github.com/Pugmatt/BedrockConnect) (*This program is not affiliated with GeyserMC*). Other methods are also available for use.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Community Geyser Projects
|
||||
permalink: /other/community-geyser-projects/
|
||||
---
|
||||
|
||||
Below is a list of community-compiled plugins, extensions and tools that work with Geyser.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Developer Guide
|
||||
permalink: /other/developer-guide/
|
||||
---
|
||||
|
||||
## Compiling
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Discord Bot Usage
|
||||
permalink: /other/discord-bot-usage/
|
||||
---
|
||||
|
||||
Our discord bot provides some very useful toos to debug/issue track your server. We will go in-depth on how to use the bot commands and its tools.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: GeyserConnect
|
||||
permalink: /other/geyserconnect/
|
||||
---
|
||||
|
||||
GeyserConnect is a extension for Geyser that allows you to join multiple servers using a single GeyserMC proxy.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: GeyserOptionalPack
|
||||
permalink: /other/geyseroptionalpack/
|
||||
---
|
||||
# [Download here](https://ci.opencollab.dev/job/GeyserMC/job/GeyserOptionalPack/job/master/lastSuccessfulBuild/artifact/GeyserOptionalPack.mcpack)
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
layout: page
|
||||
title: Other
|
||||
permalink: /other/
|
||||
---
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
---
|
||||
layout: page
|
||||
title: Test Server
|
||||
permalink: /other/test-server/
|
||||
---
|
||||
|
||||
### Details
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<div class="alert alert-{{ include.type }}" role="alert">
|
||||
<h4 class="alert-heading">{% if include.title %}{{ include.title }}{% else %}{{ include.type }}{% endif %}</h4>
|
||||
{{ include.content }}
|
||||
</div>
|
||||
@@ -1 +0,0 @@
|
||||
<a href="{{ site.baseurl }}/docs/{{ include.path }}">{% if include.name %}{{ include.name }}{% else %}{{ include.path }}{% endif %}</a>
|
||||
@@ -1,6 +0,0 @@
|
||||
<a href="{{ site.repo }}/edit/{% if site.github_branch %}{{ site.github_branch }}{% else %}master{% endif %}/{{ page.path }}" target="_blank"><i class="fa fa-edit fa-fw"></i> Edit this page</a>
|
||||
<a href="{{ site.repo }}/issues/new?labels={% if page.editable %}{{ page.editable }}{% else %}question{% endif %}&title=Question:&body=Question on: {{ site.repo }}/tree/master/{{ page.path }}" target="_blank"><i class="fab fa-github fa-fw"></i> Create Wiki issue/bug report</a>
|
||||
<a href="https://github.com/{{ site.github_user }}/{{ site.github_repo }}/issues/new" target="_blank"><i class="fas fa-tasks fa-fw"></i> Create Geyser issue/bug report</a>
|
||||
<!-- this will parse through the header fields and add a button to open
|
||||
an issue / ask a question on Github. The editable field should be in
|
||||
the post frontend matter, and refer to the label to open the issue for -->
|
||||
@@ -1,44 +0,0 @@
|
||||
{% if site.feedback %}
|
||||
<h5 class="feedback--title">Feedback</h5>
|
||||
<p class="feedback--question">Was this page helpful?</p>
|
||||
<button class="feedback--answer feedback--answer-yes">Yes</button>
|
||||
<button class="feedback--answer feedback--answer-no">No</button>
|
||||
<p class="feedback--response feedback--response-yes">
|
||||
Glad to hear it! Please <a href="{{ site.repo }}/issues/new">tell us how we can improve</a>.
|
||||
</p>
|
||||
<p class="feedback--response feedback--response-no">
|
||||
Sorry to hear that. Please <a href="{{ site.repo }}/issues/new">tell us how we can improve</a>.
|
||||
</p>
|
||||
<script>
|
||||
const yesButton = document.querySelector('.feedback--answer-yes');
|
||||
const noButton = document.querySelector('.feedback--answer-no');
|
||||
const yesResponse = document.querySelector('.feedback--response-yes');
|
||||
const noResponse = document.querySelector('.feedback--response-no');
|
||||
const disableButtons = () => {
|
||||
yesButton.disabled = true;
|
||||
noButton.disabled = true;
|
||||
};
|
||||
const sendFeedback = (value) => {
|
||||
if (typeof ga !== 'function') return;
|
||||
const args = {
|
||||
command: 'send',
|
||||
hitType: 'event',
|
||||
category: 'Helpful',
|
||||
action: 'click',
|
||||
label: window.location.pathname,
|
||||
value: value
|
||||
};
|
||||
ga(args.command, args.hitType, args.category, args.action, args.label, args.value);
|
||||
};
|
||||
yesButton.addEventListener('click', () => {
|
||||
yesResponse.classList.add('feedback--response__visible');
|
||||
disableButtons();
|
||||
sendFeedback(1);
|
||||
});
|
||||
noButton.addEventListener('click', () => {
|
||||
noResponse.classList.add('feedback--response__visible');
|
||||
disableButtons();
|
||||
sendFeedback(0);
|
||||
});
|
||||
</script>{% endif %}<br/>
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
<footer class="py-5 row d-print-none">
|
||||
<div class="container-fluid mx-sm-5">
|
||||
<div class="text-center">
|
||||
<ul class="list-inline mb-0">
|
||||
{% if site.twitter %}
|
||||
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="" aria-label="Twitter" data-original-title="Twitter">
|
||||
<a class="text-white" target="_blank" href="https://twitter.com/{{ site.twitter }}">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if site.linkedin %}
|
||||
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="" aria-label="LinkedIn" data-original-title="LinkedIn">
|
||||
<a class="text-white" target="_blank" href="https://linkedin.com/in/{{ site.linkedin }}">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="" aria-label="GitHub" data-original-title="GitHub">
|
||||
<a class="text-white" target="_blank" href="{{ site.repo }}">
|
||||
<i class="fab fa-github"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<small class="text-white">© {{ 'now' | date: "%Y" }} {{ site.author }} All Rights Reserved</small>
|
||||
{% if site.privacy %}<small class="ml-1"><a href="{{ site.privacy }}" target="_blank">Privacy Policy</a></small>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -1,9 +0,0 @@
|
||||
{% if site.google-analytics %}<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
<script type="application/javascript">
|
||||
var doNotTrack = false;
|
||||
if (!doNotTrack) {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', '{{ site.google-analytics }}', 'auto');
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>{% endif %}
|
||||
@@ -1,40 +0,0 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!-- Copyright 2019-2021 Vanessa Sochat-->
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="generator" content="Hugo 0.55.6" />
|
||||
|
||||
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
|
||||
|
||||
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicons/favicon.ico" >
|
||||
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/favicons/apple-icon-180x180.png" sizes="180x180">
|
||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/android-icon-192x192.png"sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/android-icon-512x512.png"sizes="512x512">
|
||||
<link rel="manifest" href="{{ site.baseurl }}/assets/favicons/site.webmanifest">
|
||||
<link rel="mask-icon" href="{{ site.baseurl }}/assets/favicons/safari-pinned-tab.svg" color="#009000">
|
||||
|
||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
||||
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ site.url }}" />
|
||||
<meta property="og:site_name" content="{{ site.url }}" />
|
||||
|
||||
<meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
||||
<meta itemprop="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/>
|
||||
<meta name="twitter:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"/>
|
||||
|
||||
<meta name="theme-color" content="{{ site.color }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
|
||||
integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ=="
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"></script>
|
||||
</head>
|
||||
@@ -1,46 +0,0 @@
|
||||
<header>
|
||||
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar">
|
||||
<a class="navbar-brand" href="{{ site.baseurl }}/">
|
||||
<span class="navbar-logo"></span><img src="https://geysermc.org/android-chrome-512x512.png" /><span class="text-uppercase font-weight-bold">{{ site.title }}</span>
|
||||
</a>
|
||||
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
|
||||
<ul class="navbar-nav mt-2 mt-md-0">
|
||||
{% for link in site.data.navigation %}
|
||||
<li class="nav-item mr-2 ml-2 mr-md-4 ml-md-0 mb-2 mb-lg-0 text-center">
|
||||
<a class="nav-link" href="{% if link.url %}{{ site.baseurl }}/{{ link.url }}{% else %}{{ link.external_url }}{% endif %}" ><span>{{ link.title }}</span></a>
|
||||
</li>{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navbar-nav d-none d-lg-block">
|
||||
<input type="search" class="form-control td-search-input" placeholder=" Search this site…" aria-label="Search this site…" autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="navbar-nav d-none d-lg-block">
|
||||
<a class="gh-source" data-gh-source="github" href="https://github.com/{{ site.github_user }}/{{ site.github_repo }}" title="Go to repository" data-md-state="done">
|
||||
<div class="gh-source__repository">
|
||||
<i class="fab fa-github fa-2x" style='padding-right:20px; float:left; margin-top:5px'></i>
|
||||
{{ site.github_user }}/{{ site.github_repo }}
|
||||
<ul class="gh-source__facts"><li class="gh-source__fact" id='stars'></li><li id="forks" class="gh-source__fact"></li></ul></div></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var url = "https://api.github.com/search/repositories?q={{ site.github_user }}/{{ site.github_repo }}";
|
||||
fetch(url, {
|
||||
headers: {"Accept":"application/vnd.github.v3+json"}
|
||||
}).then(function(e) {
|
||||
return e.json()
|
||||
}).then(function(r) {
|
||||
if (r.items[0].full_name !== "{{ site.github_user }}/{{ site.github_repo }}") return
|
||||
stars = r.items[0]['stargazers_count']
|
||||
forks = r.items[0]['forks_count']
|
||||
$('#stars').text(stars + " Stars")
|
||||
$('#forks').text(forks + " Forks")
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -1,12 +0,0 @@
|
||||
<script>
|
||||
var headers = ["h1", "h2", "h3", "h4"]
|
||||
var colors = ["red", "orange", "green", "blue"]
|
||||
|
||||
$.each(headers, function(i, header){
|
||||
var color = colors[i];
|
||||
$(header).each(function () {
|
||||
var href=$(this).attr("id");
|
||||
$(this).append('<a class="headerlink" style="color:' + color + '" href="#' + href + '" title="Permanent link">¶</a>')
|
||||
});
|
||||
})
|
||||
</script>
|
||||
@@ -1,3 +0,0 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
||||
<script src="{{ site.baseurl }}/assets/js/main.js"></script>
|
||||
@@ -1,20 +0,0 @@
|
||||
<button onclick="topFunction()" id="scrolltop" title="Go to top">🔝</button>
|
||||
|
||||
<script>
|
||||
// When the user scrolls down 20px from the top of the document, show the button
|
||||
window.onscroll = function() {scrollFunction()};
|
||||
|
||||
function scrollFunction() {
|
||||
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
||||
document.getElementById("scrolltop").style.display = "block";
|
||||
} else {
|
||||
document.getElementById("scrolltop").style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
// When the user clicks on the button, scroll to the top of the document
|
||||
function topFunction() {
|
||||
document.body.scrollTop = 0; // For Safari
|
||||
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,29 @@
|
||||
<nav class="navbar navbar-expand-md">
|
||||
<div class="container-fluid">
|
||||
<div class="d-block d-md-none">Wiki Navigation</div>
|
||||
<button class="navbar-toggler mb-2" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarNav" aria-controls="sidebarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse flex-column align-items-start" id="sidebarNav">
|
||||
{% for section in site.data.toc %}
|
||||
<a class="fw-bold" href="{% if section.url %}{{ site.baseurl }}/{{ section.url }}{% else %}{{ section.external_url }}{% endif %}">{{ section.title }}</a>
|
||||
<ul class="pe-3">
|
||||
{% for entry in section.links %}
|
||||
<li>
|
||||
<a href="{% if entry.url %}{{ site.baseurl }}/{{ entry.url }}{% else %}{{ entry.external_url }}{% endif %}">{{ entry.title }}</a>
|
||||
{% if entry.children %}
|
||||
<ul>
|
||||
{% for child in entry.children %}
|
||||
<li>
|
||||
<a href="{% if child.url %}{{ site.baseurl }}/{{ child.url }}{% else %}{{ child.external_url }}{% endif %}">{{ child.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -0,0 +1,5 @@
|
||||
<a class="d-block text-decoration-none" href="{{ site.repo }}/edit/{% if site.github_branch %}{{ site.github_branch }}{% else %}master{% endif %}/{{ page.path }}" target="_blank"><i class="bi bi-pencil"></i> Edit this page</a>
|
||||
<a class="d-block text-decoration-none" href="{{ site.repo }}/issues/new?labels={% if page.editable %}{{ page.editable }}{% else %}question{% endif %}&title=Question:&body=Question on: {{ page.path }}" target="_blank"><i class="bi bi-github"></i> Create Wiki issue/bug report</a>
|
||||
<a class="d-block text-decoration-none" href="{{ page.repo }}/issues/new" target="_blank"><i class="bi bi-list-check"></i> Create Geyser issue/bug report</a>
|
||||
|
||||
<div id="page-nav" class="py-3"></div>
|
||||
@@ -1,54 +0,0 @@
|
||||
<div id="td-sidebar-menu" class="td-sidebar__inner">
|
||||
|
||||
<form class="td-sidebar__search d-flex align-items-center">
|
||||
<input type="search" class="form-control td-search-input" placeholder=" Search this site…" aria-label="Search this site…" autocomplete="off">
|
||||
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<nav class="collapse td-sidebar-nav pt-2 pl-4" id="td-section-nav">
|
||||
{% for section in site.data.toc %}
|
||||
<ul class="td-sidebar-nav__section pr-md-3">
|
||||
{% capture sectionUrl %}
|
||||
{{ section.url | replace: "/", "" }}
|
||||
{% endcapture %}
|
||||
{% capture pageUrl %}
|
||||
{{ page.url | replace: "/", "" }}
|
||||
{% endcapture %}
|
||||
|
||||
<li class="td-sidebar-nav__section-title">
|
||||
<a href="{% if section.url %}{{ site.baseurl }}/{{ section.url }}{% else %}{{ section.external_url }}{% endif %}" class="align-left pl-0 pr-2 active td-sidebar-link td-sidebar-link__section">{{ section.title }}</a>
|
||||
</li>
|
||||
{% if section.links %}
|
||||
<ul>
|
||||
<li class="collapse show" id="{{ section.title | slugify }}">
|
||||
<ul class="td-sidebar-nav__section pr-md-3">
|
||||
{% for entry in section.links %}
|
||||
<li class="td-sidebar-nav__section-title">
|
||||
<a href="{% if entry.url %}
|
||||
{{ site.baseurl }}/{{ entry.url }}
|
||||
{% else %}
|
||||
{{ entry.external_url }}
|
||||
{% endif %}"
|
||||
class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">{{ entry.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% if page.url contains entry.url or pageUrl == sectionUrl %}
|
||||
<ul>
|
||||
<li class="collapse show" id="{{ child.title | slugify }}">
|
||||
{% if entry.children %}
|
||||
{% for child in entry.children %}
|
||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-{{ section.title | slugify }}-{{ entry.title | slugify }}-{{ child.title | slugify }}" href="{% if child.url %}{{ site.baseurl }}/{{ child.url }}{% else %}{{ child.external_url }}{% endif %}">{{ child.title }}</a>{% endfor %}
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</div>
|
||||
@@ -1,2 +0,0 @@
|
||||
{% if page.tags %}<script>
|
||||
$('h1').first().append('<div>{% for tag in page.tags %}<span style="font-size:12px" class="badge badge-{{ site.tag_color }}"><a style="cursor:pointer; color:white" href="{% if site.tag_search_endpoint %}{{ site.tag_search_endpoint }}{{ tag }}{% else %}{{ site.url }}{{ site.baseurl }}/tags#{{ tag }} {% endif %}">{{ tag }}</a></span>{% endfor %}</div>')</script>{% endif %}
|
||||
@@ -1,35 +0,0 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
|
||||
integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ=="
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
var toc = $('#TOC');
|
||||
|
||||
// Select each header
|
||||
sections = $('.td-content h1');
|
||||
$.each(sections, function(idx, v) {
|
||||
section = $(v);
|
||||
var div_id = $(section).attr('id');
|
||||
var div_text = section.text().split('¶')[0];
|
||||
var parent = $("#" + div_id)
|
||||
var content = '<li id="link_' + div_id + '" class="md-nav__item"><a class="md-nav__link" href="#' + div_id + '" title="' + div_text +'">' + div_text +'</a></li>';
|
||||
$(toc).append(content);
|
||||
|
||||
// Add section code to subnavigation
|
||||
var children = $('<nav class="md-nav"><ul class="md-nav__list"></nav></ul>')
|
||||
var contenders = $("#" + div_id).nextUntil("h1");
|
||||
$.each(contenders, function(idx, contender){
|
||||
if($(contender).is('h2') || $(contender).is('h3')) {
|
||||
var contender_id = $(contender).attr('id');
|
||||
var contender_text = $(contender).text().split('¶')[0];
|
||||
var content = '<li class="md-nav__item"><a class="md-nav__link" href="#' + contender_id + '" title="' + contender_text +'">' + contender_text +'</a></li>';
|
||||
children.append(content);
|
||||
}
|
||||
})
|
||||
$("#link_" + div_id).append(children);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -1,58 +1,89 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="no-js">
|
||||
<!-- Copyright 2019-2021 Vanessa Sochat-->
|
||||
{% include head.html %}
|
||||
{% include google-analytics.html %}
|
||||
<body class="td-section">
|
||||
{% include header.html %}
|
||||
<div class="container-fluid td-outer">
|
||||
<div class="td-main">
|
||||
<div class="row flex-xl-nowrap">
|
||||
<div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
|
||||
{% include sidebar.html %}
|
||||
<!doctype html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}</title>
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ '/css/style.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/darcula.css' | relative_url }}">
|
||||
|
||||
<meta name="author" content="{{ site.author }}">
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<meta name="theme-color" content="#2b3035">
|
||||
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ site.url }}">
|
||||
<meta property="og:title" content="{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}">
|
||||
<meta property="og:description" content="{{ site.description }}">
|
||||
<meta property="og:image" content="{{ '/android-chrome-192x192.png' | relative_url }}">
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ 'favicon.ico' | relative_url }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ 'favicon.ico' | relative_url }}">
|
||||
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'favicon-16x16.png' | relative_url }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'favicon-32x32.png' | relative_url }}">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="{{ 'android-chrome-192x192.png' | relative_url }}">
|
||||
<link rel="apple-touch-icon" href="{{ 'apple-touch-icon.png' | relative_url }}">
|
||||
<link rel="mask-icon" href="{{ 'safari-pinned-tab.svg' | relative_url }}" color="#248f00">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary fixed-top">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="/"><img src="{{ 'android-chrome-512x512.png' | relative_url }}" alt="geyser logo" height="32"> {{ site.title }}</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarLinks" aria-controls="navbarLinks" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarLinks">
|
||||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://geysermc.org/"><i class="bi bi-house pe-1"></i> Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://geysermc.org/download"><i class="bi bi-download pe-1"></i> Download</a>
|
||||
</li>
|
||||
</ul>
|
||||
<form class="d-flex" role="search" action="/search/">
|
||||
<div class="input-group">
|
||||
<button class="btn btn-outline-secondary" type="submit" id="button-search"><i class="bi bi-search"></i></button>
|
||||
<input type="text" name="q" class="form-control" placeholder="Search the site..." aria-label="Search the site..." aria-describedby="button-search">
|
||||
</div>
|
||||
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
|
||||
<div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
|
||||
{% include editable.html %}
|
||||
</form>
|
||||
</div>
|
||||
<nav id="TableOfContents"><ul>
|
||||
<li><ul id="TOC">
|
||||
<!-- Links will be appended here-->
|
||||
</ul></li>
|
||||
</ul></nav>
|
||||
</div>
|
||||
<main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
|
||||
<nav aria-label="breadcrumb" class="d-none d-md-block d-print-none">
|
||||
<ol class="breadcrumb spb-1">
|
||||
{% assign crumbs = page.url | append: "/" | replace: '//', '/' | split: '/' %}
|
||||
{% for crumb in crumbs offset: 1 %}{% if crumb != "index" %}{% if forloop.last %}
|
||||
<li class="breadcrumb-item active" aria-current="page">
|
||||
<a href="{{ site.url }}{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a>
|
||||
</li>{% else %}
|
||||
{% if page.url != "/docs/" %}<li class="breadcrumb-item">
|
||||
<a href="{{ site.url }}{{ site.baseurl }}{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{% if crumb == "docs" %}Documentation{% else %}{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}{% endif %}</a>
|
||||
</li>{% endif %}{% endif %}
|
||||
{% endif %}{% endfor %}
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="td-content">
|
||||
</header>
|
||||
<div id="page-content" class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-3 col-xl-2">
|
||||
<div class="sticky-top">
|
||||
<div class="sidebar py-2 text-break">
|
||||
{% include sidebar-nav.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<main class="col-12 col-md-9 col-xl-8" role="main">
|
||||
{{ content }}
|
||||
{% if section.links %}<div class="section-index">
|
||||
<hr class="panel-line">{% for child in section.links %}
|
||||
<div class="entry">
|
||||
<h5>
|
||||
<a href="{% if child.url %}{{ site.baseurl }}{{ child.url }}{% else %}{{ child.external_url }}{% endif %}">{{ child.title }}</a>
|
||||
</h5>
|
||||
<p>{{ child.description }}</p>
|
||||
</div>{% endfor %}
|
||||
</div>{% endif %}
|
||||
{% include feedback.html %}
|
||||
</div>
|
||||
</main>
|
||||
<div class="col-2 d-none d-xl-block">
|
||||
<div class="sticky-top">
|
||||
<div class="sidebar py-2">
|
||||
{% include sidebar-page.html %}
|
||||
</div>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
</div>
|
||||
{% include scripts.html %}
|
||||
</div>
|
||||
</div>
|
||||
<footer class="p-4 text-center bg-body-tertiary">
|
||||
© {{ 'now' | date: "%Y" }} {{ site.author }}
|
||||
</footer>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
|
||||
<script src="{{ '/js/page-nav.js' | relative_url }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,18 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
{% assign crumbs = page.url | append: "/" | replace: '//', '/' | split: '/' %}
|
||||
{% for crumb in crumbs offset: 1 %}
|
||||
{% assign i = forloop.index | plus: 1 %}
|
||||
{% if i == crumbs.size %}
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
|
||||
{% else %}
|
||||
<li class="breadcrumb-item"><a href="{{ site.url }}{{ site.baseurl }}{% for crumb in crumbs limit: i %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace: '-', ' ' | capitalize }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
{{ content }}
|
||||
{% include toc.html %}
|
||||
{% include permalinks.html %}
|
||||
{% include tags.html %}
|
||||
@@ -1,79 +0,0 @@
|
||||
.gh-source {
|
||||
display: block;
|
||||
padding-right: 1.2rem;
|
||||
transition: opacity .25s;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.2;
|
||||
color: #f0f6fc;
|
||||
white-space: nowrap;
|
||||
}
|
||||
[dir=rtl] .gh-source {
|
||||
padding-right: 0;
|
||||
padding-left: 1.2rem;
|
||||
}
|
||||
.gh-source:hover {
|
||||
color: yellow;
|
||||
}
|
||||
.gh-source__icon+.gh-source__repository {
|
||||
margin-left: -4.4rem;
|
||||
padding-left: 4rem;
|
||||
}
|
||||
[dir=rtl] .gh-source__icon+.gh-source__repository {
|
||||
margin-right: -4.4rem;
|
||||
margin-left: 0;
|
||||
padding-right: 4rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
.gh-source__repository {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
margin-left: 1.2rem;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.gh-source__facts {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
list-style-type: none;
|
||||
opacity: .75;
|
||||
overflow: hidden;
|
||||
}
|
||||
[data-md-state=done] .gh-source__facts {
|
||||
-webkit-animation: md-source__facts--done .25s ease-in;
|
||||
animation: md-source__facts--done .25s ease-in;
|
||||
}
|
||||
.gh-source__fact {
|
||||
float: left;
|
||||
}
|
||||
[dir=rtl] .gh-source__fact {
|
||||
float: right;
|
||||
}
|
||||
[data-md-state=done] .gh-source__fact {
|
||||
-webkit-animation: md-source__fact--done .4s ease-out;
|
||||
animation: md-source__fact--done .4s ease-out;
|
||||
}
|
||||
.gh-source-file {
|
||||
display: inline-block;
|
||||
margin: 1em .5em 1em 0;
|
||||
padding-right: .5rem;
|
||||
border-radius: .2rem;
|
||||
background-color: rgba(0, 0, 0, .07);
|
||||
font-size: 1.28rem;
|
||||
list-style-type: none;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
.gh-source-file:before {
|
||||
display: inline-block;
|
||||
margin-right: .5rem;
|
||||
padding: .5rem;
|
||||
background-color: rgba(0, 0, 0, .26);
|
||||
color: #fff;
|
||||
font-size: 1.6rem;
|
||||
content: "\E86F";
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -1,213 +0,0 @@
|
||||
.highlight pre {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.highlight table td { padding: 5px; }
|
||||
.highlight table pre { margin: 0; }
|
||||
.highlight .cm {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .cp {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .c1 {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .cs {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
|
||||
color: #999988;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .err {
|
||||
color: #a61717;
|
||||
background-color: #e3d2d2;
|
||||
}
|
||||
.highlight .gd {
|
||||
color: #000000;
|
||||
background-color: #ffdddd;
|
||||
}
|
||||
.highlight .ge {
|
||||
color: #000000;
|
||||
font-style: italic;
|
||||
}
|
||||
.highlight .gr {
|
||||
color: #aa0000;
|
||||
}
|
||||
.highlight .gh {
|
||||
color: #999999;
|
||||
}
|
||||
.highlight .gi {
|
||||
color: #000000;
|
||||
background-color: #ddffdd;
|
||||
}
|
||||
.highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
.highlight .gp {
|
||||
color: #555555;
|
||||
}
|
||||
.highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .gu {
|
||||
color: #aaaaaa;
|
||||
}
|
||||
.highlight .gt {
|
||||
color: #aa0000;
|
||||
}
|
||||
.highlight .kc {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kd {
|
||||
color: #ff7b72;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kn {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kp {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kr {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .kt {
|
||||
color: #445588;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .k, .highlight .kv {
|
||||
color: #ff7b72;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .mf {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .mh {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .il {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .mi {
|
||||
color: #79c0ff;
|
||||
}
|
||||
.highlight .mo {
|
||||
color: #009999;
|
||||
}
|
||||
.highlight .m, .highlight .mb, .highlight .mx {
|
||||
color: #c9d1d9;
|
||||
}
|
||||
.highlight .sb {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sc {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sd {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .s2 {
|
||||
color: #a5d6ff;
|
||||
}
|
||||
.highlight .se {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sh {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .si {
|
||||
color: #a5d6ff;
|
||||
}
|
||||
.highlight .sx {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .sr {
|
||||
color: #009926;
|
||||
}
|
||||
.highlight .s1 {
|
||||
color: #d14;
|
||||
}
|
||||
.highlight .ss {
|
||||
color: #990073;
|
||||
}
|
||||
.highlight .s, .highlight .sa, .highlight .dl {
|
||||
color: #a5d6ff;
|
||||
}
|
||||
.highlight .na {
|
||||
color: #c9d1d9;
|
||||
}
|
||||
.highlight .bp {
|
||||
color: #999999;
|
||||
}
|
||||
.highlight .nb {
|
||||
color: #c9d1d9;
|
||||
}
|
||||
.highlight .nc {
|
||||
color: #c9d1d9;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .no {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .nd {
|
||||
color: #3c5d5d;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .ni {
|
||||
color: #800080;
|
||||
}
|
||||
.highlight .ne {
|
||||
color: #990000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nf, .highlight .fm {
|
||||
color: #c9d1d9;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nl {
|
||||
color: #990000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .nn {
|
||||
color: #555555;
|
||||
}
|
||||
.highlight .nt {
|
||||
color: #c9d1d9;
|
||||
}
|
||||
.highlight .vc {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .vg {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .vi {
|
||||
color: #008080;
|
||||
}
|
||||
.highlight .nv, .highlight .vm {
|
||||
color: #c9d1d9;
|
||||
}
|
||||
.highlight .ow {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .o {
|
||||
color: #c9d1d9;
|
||||
font-weight: bold;
|
||||
}
|
||||
.highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
.highlight {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
After Width: | Height: | Size: 16 KiB |
@@ -1,26 +0,0 @@
|
||||
---
|
||||
# Only the main Sass file needs front matter (the dashes are enough)
|
||||
---
|
||||
|
||||
$site_color: {{ site.color }};
|
||||
|
||||
// Google font
|
||||
@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i";
|
||||
|
||||
/*!* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com;
|
||||
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)*/
|
||||
// These are kept seperate as using 'all' breaks the search icon on the search boxes
|
||||
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.css";
|
||||
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.css";
|
||||
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.css";
|
||||
|
||||
//noinspection CssUnknownTarget
|
||||
@import "github";
|
||||
|
||||
@import "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css";
|
||||
|
||||
//noinspection CssUnknownTarget
|
||||
@import "extras";
|
||||
|
||||
//noinspection CssUnknownTarget
|
||||
@import "palette";
|
||||
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="./ms-icon-150x150.png"/>
|
||||
<TileColor>#2b5797</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"name": "App",
|
||||
"icons": [
|
||||
{
|
||||
"src": "\/android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image\/png",
|
||||
"density": "4.0"
|
||||
},
|
||||
{
|
||||
"src": "\/android-icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image\/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 5.9 KiB |
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "GeyserMC Wiki",
|
||||
"short_name": "GeyserMC Wiki",
|
||||
"icons": [
|
||||
{
|
||||
"src": "./android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "./android-icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 521 B |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 32 KiB |
@@ -1,60 +0,0 @@
|
||||
---
|
||||
exclude_in_search: true
|
||||
layout: null
|
||||
---
|
||||
(function($) {
|
||||
'use strict';
|
||||
$(function() {
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
$('[data-toggle="popover"]').popover();
|
||||
$('.popover-dismiss').popover({
|
||||
trigger: 'focus'
|
||||
})
|
||||
});
|
||||
|
||||
function bottomPos(element) {
|
||||
return element.offset().top + element.outerHeight();
|
||||
}
|
||||
$(function() {
|
||||
var promo = $(".js-td-cover");
|
||||
if (!promo.length) {
|
||||
return
|
||||
}
|
||||
var promoOffset = bottomPos(promo);
|
||||
var navbarOffset = $('.js-navbar-scroll').offset().top;
|
||||
var threshold = Math.ceil($('.js-navbar-scroll').outerHeight());
|
||||
if ((promoOffset - navbarOffset) < threshold) {
|
||||
$('.js-navbar-scroll').addClass('navbar-bg-onscroll');
|
||||
}
|
||||
$(window).on('scroll', function() {
|
||||
var navtop = $('.js-navbar-scroll').offset().top - $(window).scrollTop();
|
||||
var promoOffset = bottomPos($('.js-td-cover'));
|
||||
var navbarOffset = $('.js-navbar-scroll').offset().top;
|
||||
if ((promoOffset - navbarOffset) < threshold) {
|
||||
$('.js-navbar-scroll').addClass('navbar-bg-onscroll');
|
||||
} else {
|
||||
$('.js-navbar-scroll').removeClass('navbar-bg-onscroll');
|
||||
$('.js-navbar-scroll').addClass('navbar-bg-onscroll--fade');
|
||||
}
|
||||
});
|
||||
});
|
||||
}(jQuery));
|
||||
(function($) {
|
||||
'use strict';
|
||||
var Search = {
|
||||
init: function() {
|
||||
$(document).ready(function() {
|
||||
$(document).on('keypress', '.td-search-input', function(e) {
|
||||
if (e.keyCode !== 13) {
|
||||
return
|
||||
}
|
||||
var query = $(this).val();
|
||||
var searchPage = "{{ site.url }}{{ site.baseurl }}/search/?q=" + query;
|
||||
document.location = searchPage;
|
||||
return false;
|
||||
});
|
||||
});
|
||||
},
|
||||
};
|
||||
Search.init();
|
||||
}(jQuery));
|
||||
@@ -1,108 +0,0 @@
|
||||
---
|
||||
layout: null
|
||||
excluded_in_search: true
|
||||
---
|
||||
(function () {
|
||||
function getQueryVariable(variable) {
|
||||
var query = window.location.search.substring(1),
|
||||
vars = query.split("&");
|
||||
|
||||
for (var i = 0; i < vars.length; i++) {
|
||||
var pair = vars[i].split("=");
|
||||
|
||||
if (pair[0] === variable) {
|
||||
return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getPreview(query, content, previewLength) {
|
||||
previewLength = previewLength || (content.length * 2);
|
||||
|
||||
var parts = query.split(" "),
|
||||
match = content.toLowerCase().indexOf(query.toLowerCase()),
|
||||
matchLength = query.length,
|
||||
preview;
|
||||
|
||||
// Find a relevant location in content
|
||||
for (var i = 0; i < parts.length; i++) {
|
||||
if (match >= 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
match = content.toLowerCase().indexOf(parts[i].toLowerCase());
|
||||
matchLength = parts[i].length;
|
||||
}
|
||||
|
||||
// Create preview
|
||||
if (match >= 0) {
|
||||
var start = match - (previewLength / 2),
|
||||
end = start > 0 ? match + matchLength + (previewLength / 2) : previewLength;
|
||||
|
||||
preview = content.substring(start, end).trim();
|
||||
|
||||
if (start > 0) {
|
||||
preview = "..." + preview;
|
||||
}
|
||||
|
||||
if (end < content.length) {
|
||||
preview = preview + "...";
|
||||
}
|
||||
|
||||
// Highlight query parts
|
||||
preview = preview.replace(new RegExp("(" + parts.join("|") + ")", "gi"), "<strong>$1</strong>");
|
||||
} else {
|
||||
// Use start of content if no match found
|
||||
preview = content.substring(0, previewLength).trim() + (content.length > previewLength ? "..." : "");
|
||||
}
|
||||
|
||||
return preview;
|
||||
}
|
||||
|
||||
function displaySearchResults(results, query) {
|
||||
var searchResultsEl = document.getElementById("search-results"),
|
||||
searchProcessEl = document.getElementById("search-process");
|
||||
|
||||
if (results.length) {
|
||||
var resultsHTML = "";
|
||||
results.forEach(function (result) {
|
||||
|
||||
var item = window.data[result.ref]
|
||||
if (item.title) {
|
||||
contentPreview = getPreview(query, item.content, 170),
|
||||
titlePreview = getPreview(query, item.title);
|
||||
resultsHTML += "<li><h4><a href='{{ site.baseurl }}" + item.url.trim() + "'>" + titlePreview + "</a></h4><p><small>" + contentPreview + "</small></p></li>";
|
||||
}
|
||||
});
|
||||
|
||||
searchResultsEl.innerHTML = resultsHTML;
|
||||
searchProcessEl.innerText = "Showing";
|
||||
} else {
|
||||
searchResultsEl.style.display = "none";
|
||||
searchProcessEl.innerText = "No";
|
||||
}
|
||||
}
|
||||
|
||||
window.index = lunr(function () {
|
||||
this.field("id");
|
||||
this.field("title", {boost: 10});
|
||||
this.field("categories");
|
||||
this.field("url");
|
||||
this.field("content");
|
||||
});
|
||||
|
||||
var query = decodeURIComponent((getQueryVariable("q") || "").replace(/\+/g, "%20")),
|
||||
searchQueryContainerEl = document.getElementById("search-query-container"),
|
||||
searchQueryEl = document.getElementById("search-query");
|
||||
|
||||
searchQueryEl.innerText = query;
|
||||
if (query != ""){
|
||||
searchQueryContainerEl.style.display = "inline";
|
||||
}
|
||||
|
||||
for (var key in window.data) {
|
||||
window.index.add(window.data[key]);
|
||||
}
|
||||
|
||||
displaySearchResults(window.index.search(query), query); // Hand the results off to be displayed
|
||||
})();
|
||||
@@ -0,0 +1,147 @@
|
||||
/**
|
||||
* Syntax highlighting styles
|
||||
* Based on the Darcula theme for JetBrains IDEs
|
||||
* https://github.com/shadowfacts/RougeDarcula
|
||||
* Author: Shadowfacts
|
||||
*/
|
||||
.highlight {
|
||||
background-color: #2B2B2B;
|
||||
margin-bottom: 15px;
|
||||
color: #A9B7C6; }
|
||||
.highlight pre {
|
||||
background-color: #2B2B2B; }
|
||||
.highlight pre code {
|
||||
background-color: #2B2B2B; }
|
||||
.highlight .lineno {
|
||||
color: #888888; }
|
||||
.highlighter-rouge .highlight {
|
||||
background: #2B2B2B; }
|
||||
.highlight .c {
|
||||
color: #808080; }
|
||||
.highlight .err {
|
||||
color: #BC3F3C; }
|
||||
.highlight .k {
|
||||
color: #CC7832; }
|
||||
.highlight .o {
|
||||
color: #A9B7C6; }
|
||||
.highlight .cm {
|
||||
color: #808080; }
|
||||
.highlight .cp {
|
||||
color: #808080;
|
||||
font-style: italic; }
|
||||
.highlight .c1 {
|
||||
color: #808080; }
|
||||
.highlight .cs {
|
||||
color: #629755;
|
||||
font-style: italic; }
|
||||
.highlight .gd {
|
||||
color: #BBBBBB;
|
||||
background-color: #450505;
|
||||
text-decoration: line-through; }
|
||||
.highlight .gd .x {
|
||||
color: #BBBBBB;
|
||||
background-color: #450505;
|
||||
text-decoration: line-through; }
|
||||
.highlight .ge {
|
||||
font-style: italic; }
|
||||
.highlight .gr {
|
||||
color: #BC3F3C; }
|
||||
.highlight .gh {
|
||||
color: #999; }
|
||||
.highlight .gi {
|
||||
background-color: #364135; }
|
||||
.highlight .gi .x {
|
||||
background-color: #364135; }
|
||||
.highlight .go {
|
||||
color: #A9B7C6; }
|
||||
.highlight .gp {
|
||||
color: #007F00; }
|
||||
.highlight .gs {
|
||||
font-weight: bold; }
|
||||
.highlight .gu {
|
||||
color: #aaa; }
|
||||
.highlight .gt {
|
||||
color: #a00; }
|
||||
.highlight .kc {
|
||||
color: #CC7832; }
|
||||
.highlight .kd {
|
||||
color: #CC7832; }
|
||||
.highlight .kn {
|
||||
color: #CC7832; }
|
||||
.highlight .kp {
|
||||
color: #CC7832;
|
||||
font-weight: bold; }
|
||||
.highlight .kr {
|
||||
color: #CC7832; }
|
||||
.highlight .kt {
|
||||
color: #CC7832; }
|
||||
.highlight .m {
|
||||
color: #6897BB; }
|
||||
.highlight .s {
|
||||
color: #6A8759; }
|
||||
.highlight .n {
|
||||
color: #A9B7C6; }
|
||||
.highlight .na {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nb {
|
||||
color: #CC7832; }
|
||||
.highlight .nc {
|
||||
color: #A9B7C6; }
|
||||
.highlight .no {
|
||||
color: #9876AA; }
|
||||
.highlight .ni {
|
||||
color: #9876AA; }
|
||||
.highlight .ne {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nf {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nn {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nt {
|
||||
color: #E8BF6A; }
|
||||
.highlight .nv {
|
||||
color: #A9B7C6; }
|
||||
.highlight .ow {
|
||||
color: #A9B7C6; }
|
||||
.highlight .mf {
|
||||
color: #6897BB; }
|
||||
.highlight .mh {
|
||||
color: #6897BB; }
|
||||
.highlight .mi {
|
||||
color: #6897BB; }
|
||||
.highlight .mo {
|
||||
color: #6897BB; }
|
||||
.highlight .sb {
|
||||
color: #d14; }
|
||||
.highlight .sc {
|
||||
color: #6A8759; }
|
||||
.highlight .sd {
|
||||
color: #6A8759; }
|
||||
.highlight .s2 {
|
||||
color: #6A8759; }
|
||||
.highlight .se {
|
||||
color: #CC7832; }
|
||||
.highlight .sh {
|
||||
color: #6A8759; }
|
||||
.highlight .si {
|
||||
color: #6A8759; }
|
||||
.highlight .sx {
|
||||
color: #6A8759; }
|
||||
.highlight .sr {
|
||||
background-color: #364135; }
|
||||
.highlight .s1 {
|
||||
color: #6A8759; }
|
||||
.highlight .ss {
|
||||
color: #6A8759; }
|
||||
.highlight .bp {
|
||||
color: #CC7832; }
|
||||
.highlight .vc {
|
||||
color: #A9B7C6; }
|
||||
.highlight .vg {
|
||||
color: #A9B7C6; }
|
||||
.highlight .vi {
|
||||
color: #A9B7C6; }
|
||||
.highlight .il {
|
||||
color: #6897BB; }
|
||||
.highlight .p {
|
||||
color: #A9B7C6; }
|
||||
@@ -0,0 +1,57 @@
|
||||
:root {
|
||||
--bs-body-font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
padding-top: 3.75rem;
|
||||
}
|
||||
|
||||
.sticky-top {
|
||||
top: 3.75rem;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
max-height: calc(100vh - 3.75rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
text-decoration: none;
|
||||
--bs-link-color-rgb: var(--bs-body-color);
|
||||
}
|
||||
|
||||
.sidebar a:hover {
|
||||
--bs-link-color-rgb: var(--bs-link-hover-color-rgb);
|
||||
}
|
||||
|
||||
#page-content {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
h1[id]::before, h2[id]::before, h3[id]::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 0;
|
||||
height: 3.75rem;
|
||||
margin-top: -3.75rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 1px solid var(--bs-secondary-color);
|
||||
}
|
||||
|
||||
div.highlight {
|
||||
margin: 1rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
(function () {
|
||||
const toc = document.querySelector('#page-nav')
|
||||
|
||||
// Select each header
|
||||
const sections = document.querySelectorAll('main h1')
|
||||
sections.forEach((section, id) => {
|
||||
// Create the header link
|
||||
toc.innerHTML += '<div id="link_' + section.id + '" class="md-nav__item"><a class="md-nav__link" href="#' + section.id + '" title="' + section.textContent + '">' + section.textContent + '</a></div>'
|
||||
|
||||
// Create the sub links container
|
||||
const children = document.createElement('nav')
|
||||
children.className = 'md-nav'
|
||||
children.innerHTML = '<ul class="md-nav__list"></ul>'
|
||||
|
||||
// Select all the sub headers and add them to the sub links container
|
||||
let contenders = section.nextElementSibling
|
||||
while (contenders && contenders.tagName !== 'H1') {
|
||||
if (contenders.tagName === 'H2' || contenders.tagName === 'H3') {
|
||||
const content = '<li class="md-nav__item"><a class="md-nav__link" href="#' + contenders.id + '" title="' + contenders.textContent + '">' + contenders.textContent + '</a></li>'
|
||||
children.firstElementChild.innerHTML += content
|
||||
}
|
||||
contenders = contenders.nextElementSibling
|
||||
}
|
||||
document.querySelector('#link_' + section.id).appendChild(children)
|
||||
})
|
||||
})()
|
||||
@@ -0,0 +1,102 @@
|
||||
(function () {
|
||||
function getQueryVariable (variable) {
|
||||
const query = window.location.search.substring(1)
|
||||
const vars = query.split('&')
|
||||
|
||||
for (let i = 0; i < vars.length; i++) {
|
||||
const pair = vars[i].split('=')
|
||||
|
||||
if (pair[0] === variable) {
|
||||
return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getPreview (query, content, previewLength) {
|
||||
previewLength = previewLength || (content.length * 2)
|
||||
|
||||
const parts = query.split(' ')
|
||||
let match = content.toLowerCase().indexOf(query.toLowerCase())
|
||||
let matchLength = query.length
|
||||
let preview
|
||||
|
||||
// Find a relevant location in content
|
||||
for (let i = 0; i < parts.length; i++) {
|
||||
if (match >= 0) {
|
||||
break
|
||||
}
|
||||
|
||||
match = content.toLowerCase().indexOf(parts[i].toLowerCase())
|
||||
matchLength = parts[i].length
|
||||
}
|
||||
|
||||
// Create preview
|
||||
if (match >= 0) {
|
||||
const start = match - (previewLength / 2)
|
||||
const end = start > 0 ? match + matchLength + (previewLength / 2) : previewLength
|
||||
|
||||
preview = content.substring(start, end).trim()
|
||||
|
||||
if (start > 0) {
|
||||
preview = '...' + preview
|
||||
}
|
||||
|
||||
if (end < content.length) {
|
||||
preview = preview + '...'
|
||||
}
|
||||
|
||||
// Highlight query parts
|
||||
preview = preview.replace(new RegExp('(' + parts.join('|') + ')', 'gi'), '<strong>$1</strong>')
|
||||
} else {
|
||||
// Use start of content if no match found
|
||||
preview = content.substring(0, previewLength).trim() + (content.length > previewLength ? '...' : '')
|
||||
}
|
||||
|
||||
return preview
|
||||
}
|
||||
|
||||
function displaySearchResults (results, query) {
|
||||
const searchResultsEl = document.getElementById('search-results')
|
||||
const searchProcessEl = document.getElementById('search-process')
|
||||
|
||||
if (results.length) {
|
||||
let resultsHTML = ''
|
||||
results.forEach(function (result) {
|
||||
const item = window.data[result.ref]
|
||||
if (item.title) {
|
||||
const contentPreview = getPreview(query, item.content, 170)
|
||||
const titlePreview = getPreview(query, item.title)
|
||||
resultsHTML += "<li><h4><a href='" + item.url.trim() + "'>" + titlePreview + '</a></h4><p><small>' + contentPreview + '</small></p></li>'
|
||||
}
|
||||
})
|
||||
|
||||
searchResultsEl.innerHTML = resultsHTML
|
||||
searchProcessEl.innerText = 'Showing'
|
||||
} else {
|
||||
searchResultsEl.style.display = 'none'
|
||||
searchProcessEl.innerText = 'No'
|
||||
}
|
||||
}
|
||||
|
||||
window.index = lunr(function () {
|
||||
this.field('id')
|
||||
this.field('title', { boost: 10 })
|
||||
this.field('url')
|
||||
this.field('content')
|
||||
})
|
||||
|
||||
const query = decodeURIComponent((getQueryVariable('q') || '').replace(/\+/g, '%20'))
|
||||
const searchQueryContainerEl = document.getElementById('search-query-container')
|
||||
const searchQueryEl = document.getElementById('search-query')
|
||||
|
||||
searchQueryEl.innerText = query
|
||||
if (query !== '') {
|
||||
searchQueryContainerEl.style.display = 'inline'
|
||||
}
|
||||
|
||||
for (const key in window.data) {
|
||||
window.index.add(window.data[key])
|
||||
}
|
||||
|
||||
displaySearchResults(window.index.search(query), query) // Hand the results off to be displayed
|
||||
})()
|
||||
@@ -1,31 +0,0 @@
|
||||
---
|
||||
layout: null
|
||||
permalink: /feed.xml
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ site.title | xml_escape }}</title>
|
||||
<description>{{ site.description | xml_escape }}</description>
|
||||
<link>{{ site.url }}{{ site.baseurl }}/</link>
|
||||
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
|
||||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||
<generator>Jekyll v{{ jekyll.version }}</generator>
|
||||
{% for post in site.posts limit:10 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
||||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
||||
{% for tag in post.tags %}
|
||||
<category>{{ tag | xml_escape }}</category>
|
||||
{% endfor %}
|
||||
{% for cat in post.categories %}
|
||||
<category>{{ cat | xml_escape }}</category>
|
||||
{% endfor %}
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -1,10 +1,9 @@
|
||||
---
|
||||
layout: page
|
||||
permalink: /
|
||||
---
|
||||
|
||||
<div style="text-align: center;">
|
||||
<img class="logoimg" src="https://geysermc.org/img/geyser.png" alt="geyser logo">
|
||||
<div class="my-3 text-center">
|
||||
<img src="https://geysermc.org/img/geyser.png" alt="geyser logo">
|
||||
</div>
|
||||
<br>
|
||||
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
---
|
||||
title: Search
|
||||
sitemap: false
|
||||
permalink: /search/
|
||||
not_editable: true
|
||||
excluded_in_search: true
|
||||
layout: page
|
||||
---
|
||||
|
||||
<input class="form-control td-search-input" type="search" name="q" id="search-input" placeholder=" Search this site…" style="margin-top:5px" autofocus>
|
||||
<form class="d-flex" role="search" action="/search/">
|
||||
<div class="input-group">
|
||||
<button class="btn btn-outline-secondary" type="submit" id="button-search"><i class="bi bi-search"></i></button>
|
||||
<input type="text" name="q" class="form-control" placeholder="Search the site..." aria-label="Search the site..." aria-describedby="button-search">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<p><span id="search-process">Loading</span> results <span id="search-query-container" style="display: none;">for "<strong id="search-query"></strong>"</span></p>
|
||||
@@ -22,36 +27,7 @@ excluded_in_search: true
|
||||
"{{ post.url | slugify }}": {
|
||||
"id": "{{ post.url | slugify }}",
|
||||
"title": "{{ post.title | xml_escape }}",
|
||||
"categories": "{{ post.categories | join: ", " | xml_escape }}",
|
||||
"url": " {{ post.url | xml_escape }}",
|
||||
"content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
|
||||
}
|
||||
{% assign added = true %}
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% for post in site.posts %}
|
||||
{% unless post.excluded_in_search %}
|
||||
{% if added %},{% endif %}
|
||||
{% assign added = false %}
|
||||
"{{ post.url | slugify }}": {
|
||||
"id": "{{ post.url | slugify }}",
|
||||
"title": "{{ post.title | xml_escape }}",
|
||||
"categories": "{{ post.categories | join: ", " | xml_escape }}",
|
||||
"url": " {{ post.url | xml_escape }}",
|
||||
"content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
|
||||
}
|
||||
{% assign added = true %}
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% for post in site.pages %}
|
||||
{% unless post.excluded_in_search %}
|
||||
{% if added %},{% endif %}
|
||||
{% assign added = false %}
|
||||
"{{ post.url | slugify }}": {
|
||||
"id": "{{ post.url | slugify }}",
|
||||
"title": "{{ post.title | xml_escape }}",
|
||||
"categories": "{{ post.categories | join: ", " | xml_escape }}",
|
||||
"url": " {{ post.url | xml_escape }}",
|
||||
"url": "{{ post.url | xml_escape | relative_url }}",
|
||||
"content": {{ post.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
|
||||
}
|
||||
{% assign added = true %}
|
||||
@@ -62,4 +38,4 @@ excluded_in_search: true
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/0.7.0/lunr.min.js"
|
||||
integrity="sha512-eWBLTdGT/I5jd80U2J0TyF2G+Fja6TiTYR6Ymeva7QgGUCy9EA/qhoppa4B/wYn7yWXZ8azgremVGtBi3EFDvg=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<script src="{{ site.baseurl }}/assets/js/search.js"></script>
|
||||
<script src="{{ '/js/search.js' | relative_url }}"></script>
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
layout: null
|
||||
permalink: /sitemap.xml
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>/</loc>
|
||||
<lastmod>{{ "now" | date: "%Y-%m-%d" }}</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
{% for section in site.data.toc %}<url>
|
||||
<loc>{{ site.baseurl }}{{ section.url }}</loc>
|
||||
<lastmod>{{ "now" | date: "%Y-%m-%d" }}</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
title: Tags Index
|
||||
permalink: /tags/
|
||||
---
|
||||
|
||||
<h1 id="tags-index">Tags Index</h1>
|
||||
{% capture site_tags %}{% for tag in site.tags %}{% if tag %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endif %}{% endfor %}{% endcapture %}{% assign docs_tags = "" %}{% for doc in site.docs %}{% assign ttags = doc.tags | join:',' | append:',' %}{% assign docs_tags = docs_tags | append:ttags %}{% endfor %}
|
||||
{% assign all_tags = site_tags | append:docs_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %}
|
||||
|
||||
{% for tag in tags_list %}{% if tag %}<h3 id="{{ tag | replace: '/', '-' }}" class="linked-section">{{ tag }}</h3>
|
||||
<div class="post-list" style="margin-bottom:40px">
|
||||
{% for post in site.tags[tag] %}<div class="tag-entry">
|
||||
<a href="{{- site.url -}}{{- post.url -}}">{{- post.title -}}</a>
|
||||
<time style="font-style:italic; float:right" datetime="{{- post.date | date_to_xmlschema -}}"> {{- post.date | date: "%B %d, %Y" -}}</time>
|
||||
</div>{%- endfor -%}
|
||||
{% for doc in site.docs %}{% if doc.tags contains tag %}
|
||||
<div class="tag-entry">
|
||||
<a href="{{- site.baseurl -}}{{- doc.url -}}">{{ doc.title }}</a>
|
||||
<time style="font-style:italic; float:right" datetime="{{- doc.date | date_to_xmlschema -}}"> {{- doc.date | date: "%B %d, %Y" -}}</time>
|
||||
</div>{% endif %}{% endfor %}
|
||||
</div>{% endif %}{%- endfor -%}
|
||||