-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0029a4
commit c25e96e
Showing
21 changed files
with
220 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: / | ||
schedule: | ||
interval: daily | ||
allow: | ||
- dependency-type: direct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.3' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
- name: Build with Jekyll | ||
run: bundle exec jekyll build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Bepin", | ||
"callouts", | ||
"colour", | ||
"Klux", | ||
"Kofi", | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Guides | ||
nav_order: 2 | ||
has_children: true | ||
--- | ||
|
||
# Guides | ||
|
||
This is the landing page for all Guides. Please use the sidebar to navigate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
title: Lethal Company Modding | ||
description: Thunderstore Community | ||
theme: just-the-docs | ||
color_scheme: dark | ||
url: https://lethalcompanymodding.github.io/Thunderstore/ | ||
|
||
aux_links: | ||
Discord: discord.gg/lcmod | ||
|
||
defaults: | ||
- scope: | ||
path: "" # an empty string here means all files in the project | ||
values: | ||
layout: "default" | ||
|
||
callouts_level: quiet # or loud | ||
callouts: | ||
important: | ||
title: Important! | ||
color: orange | ||
new: | ||
title: New! | ||
color: green | ||
note: | ||
title: Notice! | ||
color: yellow | ||
warning: | ||
title: Warning! | ||
color: red | ||
|
||
search_enabled: true | ||
|
||
search: | ||
# Split pages into sections that can be searched individually | ||
# Supports 1 - 6, default: 2 | ||
heading_level: 2 | ||
# Maximum amount of previews per search result | ||
# Default: 3 | ||
previews: 3 | ||
# Maximum amount of words to display before a matched word in the preview | ||
# Default: 5 | ||
preview_words_before: 5 | ||
# Maximum amount of words to display after a matched word in the preview | ||
# Default: 10 | ||
preview_words_after: 10 | ||
# Set the search token separator | ||
# Default: /[\s\-/]+/ | ||
# Example: enable support for hyphenated search words | ||
tokenizer_separator: /[\s/]+/ | ||
# Display the relative url in search results | ||
# Supports true (default) or false | ||
rel_url: true | ||
# Enable or disable the search button that appears in the bottom right corner of every page | ||
# Supports true or false (default) | ||
button: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
$orange-000: #f99f7e; | ||
$orange-100: #f99f67; | ||
$orange-200: #e9c69f; | ||
$orange-300: #ddb12c; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
layout: null | ||
permalink: /assets/js/search-data.json | ||
--- | ||
{ | ||
{%- assign i = 0 -%} | ||
{%- assign pages_array = "" | split: "" -%} | ||
{%- assign pages_array = pages_array | push: site.html_pages -%} | ||
{%- if site.just_the_docs.collections -%} | ||
{%- for collection_entry in site.just_the_docs.collections -%} | ||
{%- assign collection_key = collection_entry[0] -%} | ||
{%- assign collection_value = collection_entry[1] -%} | ||
{%- assign collection = site[collection_key] -%} | ||
{%- if collection_value.search_exclude != true -%} | ||
{%- assign pages_array = pages_array | push: collection -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- endif -%} | ||
{%- for pages in pages_array -%} | ||
{%- for page in pages -%} | ||
{%- if page.title and page.search_exclude != true -%} | ||
{%- assign page_content = page.content -%} | ||
{%- assign heading_level = site.search.heading_level | default: 2 -%} | ||
{%- for j in (2..heading_level) -%} | ||
{%- assign tag = '<h' | append: j -%} | ||
{%- assign closing_tag = '</h' | append: j -%} | ||
{%- assign page_content = page_content | replace: tag, '<h1' | replace: closing_tag, '</h1' -%} | ||
{%- endfor -%} | ||
{%- assign parts = page_content | split: '<h1' -%} | ||
{%- assign title_found = false -%} | ||
{%- for part in parts offset: 1 -%} | ||
{%- assign titleAndContent = part | split: '</h1>' -%} | ||
{%- assign title = titleAndContent[0] | replace_first: '>', '<h1>' | split: '<h1>' -%} | ||
{%- assign title = title[1] | strip_html -%} | ||
{%- assign content = titleAndContent[1] -%} | ||
{%- assign url = page.url -%} | ||
{%- if title == page.title and parts[0] == '' -%} | ||
{%- assign title_found = true -%} | ||
{%- else -%} | ||
{%- assign id = titleAndContent[0] -%} | ||
{%- assign id = id | split: 'id="' -%} | ||
{%- if id.size == 2 -%} | ||
{%- assign id = id[1] -%} | ||
{%- assign id = id | split: '"' -%} | ||
{%- assign id = id[0] -%} | ||
{%- capture url -%}{{ url | append: '#' | append: id }}{%- endcapture -%} | ||
{%- endif -%} | ||
{%- endif -%} | ||
{%- unless i == 0 -%},{%- endunless -%} | ||
"{{ i }}": { | ||
"doc": {{ page.title | jsonify }}, | ||
"title": {{ title | jsonify }}, | ||
"content": {{ content | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }}, | ||
"url": "{{ url | relative_url }}", | ||
{% include lunr/custom-data.json page=page %} | ||
"relUrl": "{{ url }}" | ||
} | ||
{%- assign i = i | plus: 1 -%} | ||
{%- endfor -%} | ||
{%- unless title_found -%} | ||
{%- unless i == 0 -%},{%- endunless -%} | ||
"{{ i }}": { | ||
"doc": {{ page.title | jsonify }}, | ||
"title": {{ page.title | jsonify }}, | ||
"content": {{ parts[0] | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }}, | ||
"url": "{{ page.url | relative_url }}", | ||
{% include lunr/custom-data.json page=page %} | ||
"relUrl": "{{ page.url }}" | ||
} | ||
{%- assign i = i | plus: 1 -%} | ||
{%- endunless -%} | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- endfor %} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Referendums | ||
nav_order: 3 | ||
has_children: true | ||
--- | ||
|
||
# Referendums | ||
|
||
This is the landing page for all Referendums. Please use the sidebar to navigate |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
title: Home | ||
layout: home | ||
nav_order: 1 | ||
--- | ||
|
||
# Lethal Company Modding Thunderstore Repo | ||
|
||
This repo contains notes, guidelines and other information that may be useful to members of our community. Anyone who uploads to our section is expected to be familiar with and follow our guidelines. | ||
|
||
## Community Thunderstore Policy | ||
|
||
- [Uploading Guidelines](Thunderstore-Guidelines.md) | ||
|
||
## How to Successfully Upload a Mod | ||
|
||
- [Uploading Guide](Thunderstore-Upload-Howto.md) | ||
- [Choosing a License](Choosing-A-License.md) | ||
{: .new} | ||
> Please use the sidebar to navigate between pages |