Skip to content

Commit

Permalink
Merge pull request #325 from satisfactorymodding/Dev
Browse files Browse the repository at this point in the history
Documentation for SML3.8.0
  • Loading branch information
budak7273 authored Oct 10, 2024
2 parents 7f63b11 + 1fb64d2 commit f751da5
Show file tree
Hide file tree
Showing 89 changed files with 2,647 additions and 995 deletions.
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"DavidAnson.vscode-markdownlint",
"medo64.render-crlf",
"andrejunges.Handlebars",
"bierner.markdown-preview-github-styles"
"bierner.markdown-preview-github-styles",
"tamasfe.even-better-toml"
],
// cSpell:enable
"settings": {
"npm.packageManager": "pnpm"
"npm.packageManager": "pnpm",
"asciidoc.antora.enableAntoraSupport": true
}
}
}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
with:
# TODO there surely must be a better way to do this
# exclude the main docs dir from this check to avoid doing work twice
# maybe use separate lychee configs to use their exclude_path option?
args: --verbose --exclude-all-private --no-progress --accept '200,429' --github-token '${{ secrets.LYCHEE_TOKEN }}' './build/site/[!s][!a][!t][!i]*/**/*.html'
fail: false

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
with:
# TODO there surely must be a better way to do this
# exclude the main docs dir from this check to avoid doing work twice
# maybe use separate lychee configs to use their exclude_path option?
args: --verbose --exclude-all-private --no-progress --accept '200,429' --github-token '${{ secrets.LYCHEE_TOKEN }}' './build/site/[!s][!a][!t][!i]*/**/*.html'
fail: false

Expand Down Expand Up @@ -93,3 +94,20 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILD=build:ci
notify:
name: Notify
runs-on: ubuntu-latest
needs:
- build
- image
if: ${{ always() && contains(needs.*.result, 'failure') }}
steps:
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
title: "The docs failed to build :("
noprefix: true
description: "Place your bets on what random link broke this time."
color: 0xA50000
webhook: ${{ secrets.DISCORD_WEBHOOK }}
46 changes: 45 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,52 @@
"isDefault": true
},
"problemMatcher": [],
"label": "yarn: build:dev",
"label": "pnpm: build:dev",
"detail": "antora antora-playbook-dev.yml"
},
{
"type": "shell",
"label": "Hot Rebuild",
"command": "pnpm serve",
"hide": true,
"presentation": {
"group": "hot-rebuild-server"
}
},
{
"type": "shell",
"label": "Webserver",
"command": "pnpm watch:dev",
"hide": true,
"presentation": {
"group": "hot-rebuild-server"
}
},
{
"label": "Open in browser",
"type": "shell",
"windows": {
"command": "Start-Process http://127.0.0.1:8000/"
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Launch hot rebuilding development server",
"group": {
"kind": "none",
"isDefault": true
},
"dependsOn": [
"Hot Rebuild",
"Webserver",
"Open in browser"
],
"command": "echo 'Development server and watch started'",
"problemMatcher": []
}
]
}
2 changes: 1 addition & 1 deletion antora-playbook-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ site:
content:
sources:
- url: ./
branches: HEAD, v3.5.1, v3.4.1, v3.3.2, v3.1.1, v2.2.1, v2.1.1, v2.0.0, v1.0.2
branches: HEAD

- url: https://github.com/CoderDE/FicsIt-Networks.git
branches: master
Expand Down
2 changes: 1 addition & 1 deletion antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ content:
sources:
## Used for prod
- url: https://github.com/satisfactorymodding/Documentation.git
branches: master, v3.6.1, v3.5.1, v3.4.1, v3.3.2, v3.1.1, v2.2.1, v2.1.1, v2.0.0, v1.0.2
branches: master, v3.7.0, v3.6.1, v3.5.1, v3.4.1, v3.3.2, v3.1.1, v2.2.1, v2.1.1, v2.0.0, v1.0.2
edit_url: '{web_url}/blob/{refname}/{path}'

## Used for dev
Expand Down
7 changes: 7 additions & 0 deletions antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ title: Satisfactory Modding Documentation
version: latest
nav:
- modules/ROOT/nav.adoc

asciidoc:
# Custom text replacements. Built-in ones can be found here:
# https://github.com/asciidoctor/asciidoctor/blob/917d3800a08a8f283a8d05beb08bb75af1673de5/lib/asciidoctor.rb#L391
attributes:
# Uses zero-width joiner (U+200D) to avoid being split across lines
cpp: C‍+‍+
9 changes: 8 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
"customizer",
"Deantendo",
"devcontainer",
"Digby",
"disqualifier",
"disqualifiers",
"doggos",
"DOREPCONDITIONAL",
"DOREPLIFETIME",
"FACTORYGAME",
"favorited",
Expand All @@ -45,6 +47,8 @@
"ficsmas",
"FORCEINLINE",
"Forsythe",
"furtue",
"FFGCondReplicatedProperty",
"Headlift",
"HKEY",
"hoverpack",
Expand Down Expand Up @@ -110,13 +114,16 @@
"UKBFL",
"umenuworldmodule",
"undetailed",
"unopenable",
"UOBJECT",
"UPARAM",
"uplugin",
"uproject",
"UPROPERTY",
"usmap",
"USTRUCT",
"utoc",
"utocs",
"VRAM",
"Vulkan",
"webp",
Expand All @@ -137,4 +144,4 @@
"destory",
"conveneint"
]
}
}
14 changes: 7 additions & 7 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ exclude = [
# 403s despite being valid pages
"https://stackoverflow.com/questions/",
"https://www.unrealengine.com/en-US/ue-on-github",
"https://store.epicgames.com/en-US/p/satisfactory",
# 403s despite being valid page, we should try to get this working somehow, since these links can change without warning
"https://docs.unrealengine.com/",
"https://dev.epicgames.com/"
"https://dev.epicgames.com/",
# Times out despite being valid
"https://www.adobe.com/learn/substance-3d-designer/web/the-pbr-guide-part-1",
# Pages often time out and Shouldn't™ ever get deleted anyways
"https://web.archive.org/web/",
]

# Exclude these filesystem paths from getting checked.
# TODO find a better way to handle sub-mods, as they currently must be ignored here
# else they'll fail the the whole build if they have broken links.
exclude_path = [
"./build/site/ficsit-networks/",
"./build/site/ficsitremotemonitoring/"
]
exclude_path = []
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import os
from pathlib import Path

def convert(filename):

my_file = open("./txtp/" + filename, "r")
data = my_file.read()

data_into_list = data.replace('\n', ' ').split(" ")


for i in range(len(data_into_list)):
if data_into_list[i].startswith('wem'):

wavname = "./txtp/" + data_into_list[i].split('.')[0] + '.wav'

if os.path.isfile(wavname):
os.rename(wavname, "./out/" + filename.split('.')[0] + '_' + str(i) + '.wav')
else:
print(wavname + " not found.")

my_file.close()

relevant_path = "./txtp/"
included_extensions = ['txtp']
file_names = [fn for fn in os.listdir(relevant_path)
if any(fn.endswith(ext) for ext in included_extensions)]


for file_name in file_names:
convert(file_name)
Binary file modified modules/ROOT/images/BeginnersGuide/AlpakitReleaseDemo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/BeginnersGuide/BuildTargetSelection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed modules/ROOT/images/BeginnersGuide/PressBuild.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/BeginnersGuide/simpleMod/DirtyBlueprint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/BeginnersGuide/simpleMod/EditPlugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/BeginnersGuide/simpleMod/MakeRootModule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/BeginnersGuide/simpleMod/UnsavedAssetTab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added modules/ROOT/images/FAQ/CreateProfile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/FAQ/SmmImportExport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added modules/ROOT/images/FAQ/SmmSelectInstall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified modules/ROOT/images/FAQ/TurnOffMods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f751da5

Please sign in to comment.