Skip to content

Commit 8a82c59

Browse files
committed
Merge branch '1.20.1-v8.0.0' of https://github.com/GregTechCEu/GregTech-Modern into yo/mui2/merge-nightmare
2 parents ae757a5 + 14ce448 commit 8a82c59

File tree

38 files changed

+311
-167
lines changed

38 files changed

+311
-167
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ name: Publish docs via GitHub Pages
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [1.20.1]
5+
branches: ["1.20.1", "1.21"]
66
paths: ['docs/**']
77

88
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
9+
contents: write
1210

1311
concurrency:
1412
group: 'pages'
@@ -24,33 +22,17 @@ jobs:
2422
steps:
2523
- uses: actions/checkout@v4
2624
with:
27-
ref: '1.20.1'
28-
sparse-checkout: './docs'
25+
ref: '${{ github.ref_name }}'
26+
fetch-depth: 0
2927
- uses: actions/setup-python@v4
3028
with:
3129
python-version: '3.11'
3230
cache: 'pip'
33-
- run: pip install -r ./requirements.txt
34-
- uses: actions/cache@v4
35-
with:
36-
key: 'mkdocs-cache'
37-
path: './docs/.cache'
38-
- name: Build static files
39-
id: mkdocs
40-
run: mkdocs build
41-
- name: Upload pages as artifact
42-
id: artifact
43-
uses: actions/upload-pages-artifact@v3
44-
with:
45-
path: './docs/site/'
46-
47-
deploy:
48-
runs-on: ubuntu-latest
49-
needs: build
50-
environment:
51-
name: github-pages
52-
url: ${{ steps.deployment.outputs.page_url }}
53-
steps:
54-
- name: Deploy Pages
55-
id: deployment
56-
uses: actions/deploy-pages@v4
31+
- name: Install packages
32+
run: pip install -r ./requirements.txt
33+
- name: Set git username and password
34+
run: git config user.name 'github-actions[bot]'; git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
35+
- name: Deploy pages to gh-pages branch
36+
run: mike deploy "${{ github.ref_name }}" --push
37+
- name: Ensure 1.20.1 is the default version
38+
run: mike set-default 1.20.1 --push

docs/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@ mkdocs serve
7979
The following plugins for MkDocs are being used:
8080
- https://squidfunk.github.io/mkdocs-material/
8181
- https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin
82+
83+
## Deployment
84+
The hosted documentation is found on the `gh-pages` branch of the repository. [Mike](https://github.com/jimporter/mike) is used to deploy both the 1.20.1 and 1.21.1 documentation on the same site through Github Actions.
85+
86+
When working on the docs locally, the plain `mkdocs` commands should be used to view the changes made to the version of the docs you are currently working on, like the previously mentioned `mkdocs serve`.

docs/content/Modpacks/Other-Topics/Custom-Sounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import static com.examplemod.common.registry.ExampleRegistration.REGISTRATE;
1717

1818
public class ExampleSound {
1919

20-
public static final SoundEntry MICROVERSE = REGISTRATE.sound("microverse").build();
20+
public static final SoundEntry MICROVERSE = REGISTRATE.sound(ExampleMod.id("microverse")).build();
2121

2222
public static void init() {}
2323
}

docs/content/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ hide:
55
title: Home
66
---
77

8-
9-
# Welcome to GregTech CEu Modern's Documentation!
8+
# Welcome to GregTech CEu Modern's Documentation for 1.20.1!
109

1110
GregTech CEu Modern is a port of [GregTech Community Edition Unofficial](https://github.com/GregTechCEu/GregTech)
1211
to modern Minecraft versions.

docs/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ extra_css:
4747
- stylesheets/extra.css
4848

4949
extra:
50+
version:
51+
provider: mike
5052
social:
5153
- icon: fontawesome/brands/discord
5254
link: https://discord.gg/bWSWuYvURP

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
mkdocs-material
22
mkdocs-awesome-pages-plugin
3+
mike

src/generated/resources/assets/gtceu/lang/en_ud.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2302,8 +2302,10 @@
23022302
"gtceu.electrolyzer": "ɹǝzʎןoɹʇɔǝןƎ",
23032303
"gtceu.electromagnetic_separator": "ɹoʇɐɹɐdǝS ɔıʇǝubɐɯoɹʇɔǝןƎ",
23042304
"gtceu.ender_item_link_cover.title": "ʞuıꞀ ɯǝʇI ɹǝpuƎ",
2305+
"gtceu.ender_item_link_cover.tooltip": "˙ㄥ§ɹǝʌoƆɟ§ sɐ ㄥ§uoıʇɔǝuuoƆ ɟ§ɹǝpuƎp§ ssǝןǝɹıMɟ§ ɐ ɥʇıʍ ㄥ§sɯǝʇIɟ§ sʇɹodsuɐɹ⟘ㄥ§",
23052306
"gtceu.ender_redstone_link_cover.label": "%d :ɹǝʍod ǝuoʇspǝᴚ",
23062307
"gtceu.ender_redstone_link_cover.title": "ʞuıꞀ ǝuoʇspǝᴚ ɹǝpuƎ",
2308+
"gtceu.ender_redstone_link_cover.tooltip": "˙ㄥ§ɹǝʌoƆɟ§ sɐ ㄥ§uoıʇɔǝuuoƆ ɟ§ɹǝpuƎp§ ssǝןǝɹıMɟ§ ɐ ɥʇıʍ ㄥ§sןɐubıs ǝuoʇspǝᴚɟ§ sʇıɯsuɐɹ⟘ㄥ§",
23072309
"gtceu.extractor": "ɹoʇɔɐɹʇxƎ",
23082310
"gtceu.extruder": "ɹǝpnɹʇxƎ",
23092311
"gtceu.fermenter": "ɹǝʇuǝɯɹǝℲ",
@@ -2403,6 +2405,8 @@
24032405
"gtceu.gui.content.units.per_second": "s/",
24042406
"gtceu.gui.content.units.per_tick": "ʇ/",
24052407
"gtceu.gui.cover_setting.title": "sbuıʇʇǝS ɹǝʌoƆ",
2408+
"gtceu.gui.directional_setting.tab_tooltip": "buıʇʇǝS ןɐuoıʇɔǝɹıᗡ ǝbuɐɥƆ",
2409+
"gtceu.gui.directional_setting.title": "buıʇʇǝS ןɐuoıʇɔǝɹıᗡ",
24062410
"gtceu.gui.editor.group.recipe_type": "dɐɔ",
24072411
"gtceu.gui.editor.tips.citation": "suoıʇɐʇıɔ ɟo ɹǝqɯnN",
24082412
"gtceu.gui.fisher_mode.tooltip.0": "sɯǝʇı ʞunظ ǝןbbo⟘",
@@ -3553,6 +3557,10 @@
35533557
"gtceu.placeholder_info.block.0": "˙)█( ןoqɯʎs ʞɔoןq ǝɥʇ suɹnʇǝᴚ",
35543558
"gtceu.placeholder_info.block.1": ":ǝbɐs∩",
35553559
"gtceu.placeholder_info.block.2": ",█, >- }ʞɔoןq{ ",
3560+
"gtceu.placeholder_info.blockNbt.0": "ʎʇıʇuǝ ʞɔoןq ǝɥʇ ɟo ⟘ᗺN ǝɥʇ suɹnʇǝᴚ",
3561+
"gtceu.placeholder_info.blockNbt.1": ":ǝbɐs∩",
3562+
"gtceu.placeholder_info.blockNbt.2": "ʇqu ʎʇıʇuǝ ʞɔoןq ןןnɟ >- }ʇqNʞɔoןq{ ",
3563+
"gtceu.placeholder_info.blockNbt.3": "ʇqu ǝɥʇ ɟo ʇɹɐd >- }˙˙˙ ]ᄅʎǝʞ[ ]Ɩʎǝʞ[ ʇqNʞɔoןq{ ",
35563564
"gtceu.placeholder_info.bufferText.0": "ʇɟɐɹƆɹǝʇndɯoƆ ʎq ǝןqıssǝɔɔɐ ɹǝɟɟnq ɐ ɯoɹɟ ʇxǝʇ ǝɥʇ suɹnʇǝᴚ",
35573565
"gtceu.placeholder_info.bufferText.1": ":ǝbɐs∩",
35583566
"gtceu.placeholder_info.bufferText.2": ")00Ɩ-Ɩ sı ǝuıן( ǝuıן pǝıɟıɔǝds ǝɥʇ uo ɹǝɟɟnq ǝɥʇ ɯoɹɟ ʇxǝʇ >- }>ǝuıן< ʇxǝ⟘ɹǝɟɟnq{ ",
@@ -4755,7 +4763,7 @@
47554763
"item.gtceu.tool.behavior.block_rotation": "sʞɔoןᗺ sǝʇɐʇoᴚɟ§ :ɔıuɐɥɔǝWᄅ§",
47564764
"item.gtceu.tool.behavior.crop_harvesting": "sdoɹƆ sʇsǝʌɹɐHɟ§ :ɹǝʇsǝʌɹɐHɐ§",
47574765
"item.gtceu.tool.behavior.damage_boost": "%s ʇsuıɐbɐ ǝbɐɯɐp ɐɹʇxƎɟ§ :ʇsooᗺ ǝbɐɯɐᗡㄣ§",
4758-
"item.gtceu.tool.behavior.dowse_campfire": "sǝɹıɟdɯɐƆ sǝsʍoᗡɟ§ :ɹǝʇɥbıɟǝɹıℲ§",
4766+
"item.gtceu.tool.behavior.dowse_campfire": "sǝɹıɟdɯɐƆ sǝsʍoᗡɟ§ :ɹǝʇɥbıɟǝɹıℲƖ§",
47594767
"item.gtceu.tool.behavior.grass_path": "sɥʇɐԀ ssɐɹ⅁ sǝʇɐǝɹƆɟ§ :ɹǝdɐɔspuɐꞀǝ§",
47604768
"item.gtceu.tool.behavior.ground_tilling": "punoɹ⅁ sןןı⟘ɟ§ :ɹǝɯɹɐℲǝ§",
47614769
"item.gtceu.tool.behavior.plunger": "spınןℲ suıɐɹᗡɟ§ :ɹǝqɯnןԀ6§",

src/generated/resources/assets/gtceu/lang/en_us.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,8 +2302,10 @@
23022302
"gtceu.electrolyzer": "Electrolyzer",
23032303
"gtceu.electromagnetic_separator": "Electromagnetic Separator",
23042304
"gtceu.ender_item_link_cover.title": "Ender Item Link",
2305+
"gtceu.ender_item_link_cover.tooltip": "§7Transports §fItems§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
23052306
"gtceu.ender_redstone_link_cover.label": "Redstone power: %d",
23062307
"gtceu.ender_redstone_link_cover.title": "Ender Redstone Link",
2308+
"gtceu.ender_redstone_link_cover.tooltip": "§7Transmits §fRedstone signals§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
23072309
"gtceu.extractor": "Extractor",
23082310
"gtceu.extruder": "Extruder",
23092311
"gtceu.fermenter": "Fermenter",
@@ -2403,6 +2405,8 @@
24032405
"gtceu.gui.content.units.per_second": "/s",
24042406
"gtceu.gui.content.units.per_tick": "/t",
24052407
"gtceu.gui.cover_setting.title": "Cover Settings",
2408+
"gtceu.gui.directional_setting.tab_tooltip": "Change Directional Setting",
2409+
"gtceu.gui.directional_setting.title": "Directional Setting",
24062410
"gtceu.gui.editor.group.recipe_type": "cap",
24072411
"gtceu.gui.editor.tips.citation": "Number of citations",
24082412
"gtceu.gui.fisher_mode.tooltip.0": "Toggle junk items",
@@ -3553,6 +3557,10 @@
35533557
"gtceu.placeholder_info.block.0": "Returns the block symbol (█).",
35543558
"gtceu.placeholder_info.block.1": "Usage:",
35553559
"gtceu.placeholder_info.block.2": " {block} -> '█'",
3560+
"gtceu.placeholder_info.blockNbt.0": "Returns the NBT of the block entity",
3561+
"gtceu.placeholder_info.blockNbt.1": "Usage:",
3562+
"gtceu.placeholder_info.blockNbt.2": " {blockNbt} -> full block entity nbt",
3563+
"gtceu.placeholder_info.blockNbt.3": " {blockNbt [key1] [key2] ...} -> part of the nbt",
35563564
"gtceu.placeholder_info.bufferText.0": "Returns the text from a buffer accessible by ComputerCraft",
35573565
"gtceu.placeholder_info.bufferText.1": "Usage:",
35583566
"gtceu.placeholder_info.bufferText.2": " {bufferText <line>} -> text from the buffer on the specified line (line is 1-100)",
@@ -4127,9 +4135,7 @@
41274135
"item.gtceu.ender_fluid_link_cover": "Ender Fluid Link",
41284136
"item.gtceu.ender_fluid_link_cover.tooltip": "§7Transports §fFluids§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
41294137
"item.gtceu.ender_item_link_cover": "Ender Item Link",
4130-
"item.gtceu.ender_item_link_cover.tooltip": "§7Transports §fItems§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
41314138
"item.gtceu.ender_redstone_link_cover": "Ender Redstone Link",
4132-
"item.gtceu.ender_redstone_link_cover.tooltip": "§7Transmits §fRedstone signals§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
41334139
"item.gtceu.energium_dust": "Energium Dust",
41344140
"item.gtceu.energy_cluster": "Energy Cluster",
41354141
"item.gtceu.energy_cluster.tooltip": "§7Reusable Battery",
@@ -4757,7 +4763,7 @@
47574763
"item.gtceu.tool.behavior.block_rotation": "§2Mechanic: §fRotates Blocks",
47584764
"item.gtceu.tool.behavior.crop_harvesting": "§aHarvester: §fHarvests Crops",
47594765
"item.gtceu.tool.behavior.damage_boost": "§4Damage Boost: §fExtra damage against %s",
4760-
"item.gtceu.tool.behavior.dowse_campfire": "§Firefighter: §fDowses Campfires",
4766+
"item.gtceu.tool.behavior.dowse_campfire": "§1Firefighter: §fDowses Campfires",
47614767
"item.gtceu.tool.behavior.grass_path": "§eLandscaper: §fCreates Grass Paths",
47624768
"item.gtceu.tool.behavior.ground_tilling": "§eFarmer: §fTills Ground",
47634769
"item.gtceu.tool.behavior.plunger": "§9Plumber: §fDrains Fluids",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"values": [
3+
"gtceu:lazurite_gem",
4+
"gtceu:sodalite_gem"
5+
]
6+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtceu:programmed_circuit"
4+
]
5+
}

0 commit comments

Comments
 (0)