Skip to content

Commit

Permalink
Update to 1.21.4 (FabricMC#242)
Browse files Browse the repository at this point in the history
* Update.ts fixes

* Bump to 1.21.4

* Update to 1.21.4: mod (FabricMC#243)

* Update to 1.21.4: "Getting Started" and "Blocks" (FabricMC#245)

Co-authored-by: Miroma <136986257+its-miroma@users.noreply.github.com>

* Update to 1.21.4: "Rendering" (FabricMC#248)

Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>

* Update to 1.21.4: Items (FabricMC#253)

Co-authored-by: RaphProductions <81994075+RaphProductions@users.noreply.github.com>
Co-authored-by: Miroma <136986257+its-miroma@users.noreply.github.com>

* Update to 1.21.4: Niche Pages (FabricMC#258)

* Exclude `translated` and `versions` from search (FabricMC#259)

Co-authored-by: Calum H. <hendersoncal117@gmail.com>

* Update to 1.21.4: Final crowdin updates for 1.21 (FabricMC#260)

* Enable metaChunk

* fix `/reference/1.21` links (FabricMC#261)

---------

Co-authored-by: Calum H. <hendersoncal117@gmail.com>
Co-authored-by: Miroma <136986257+its-miroma@users.noreply.github.com>
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: RaphProductions <81994075+RaphProductions@users.noreply.github.com>
  • Loading branch information
5 people authored Jan 15, 2025
1 parent faf2fab commit caf30e4
Show file tree
Hide file tree
Showing 716 changed files with 44,478 additions and 893 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Folders
/node_modules
/.vitepress/cache
/.vitepress/.temp
/.vitepress/dist
.idea/
.obsidian/
Expand Down
13 changes: 12 additions & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineVersionedConfig(

lastUpdated: true,

// Reduce the size of the dist by using a separate js file for the metadata.
metaChunk: true,

locales: loadLocales(__dirname),

markdown: {
Expand Down Expand Up @@ -49,14 +52,22 @@ export default defineVersionedConfig(

themeConfig: {
search: {
options: {
_render(src, env, md) {
if (env.frontmatter?.search === false) return "";
if (env.relativePath.startsWith("translated/")) return "";
if (env.relativePath.startsWith("versions/")) return "";
return md.render(src, env);
},
},
provider: "local",
},
},

transformPageData,

versioning: {
latestVersion: "1.21",
latestVersion: "1.21.4",
rewrites: {
localePrefix: "translated",
},
Expand Down
324 changes: 324 additions & 0 deletions .vitepress/sidebars/versioned/1.21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
{
"/players/": [
{
"text": "players.title",
"link": "/players/",
"items": [
{
"text": "players.faq",
"link": "/players/faq"
},
{
"text": "players.installingJava",
"collapsed": true,
"items": [
{
"text": "players.installingJava.windows",
"link": "/players/installing-java/windows"
},
{
"text": "players.installingJava.macOS",
"link": "https://fabricmc.net/wiki/player:tutorials:java:mac",
"process": false
},
{
"text": "players.installingJava.linux",
"link": "/players/installing-java/linux"
}
]
},
{
"text": "players.installingFabric",
"link": "/players/installing-fabric"
},
{
"text": "players.findingMods",
"link": "/players/finding-mods"
},
{
"text": "players.installingMods",
"link": "/players/installing-mods"
},
{
"text": "players.troubleshooting",
"items": [
{
"text": "players.troubleshooting.uploadingLogs",
"link": "/players/troubleshooting/uploading-logs"
},
{
"text": "players.troubleshooting.crashReports",
"link": "/players/troubleshooting/crash-reports"
}
]
},
{
"text": "players.updatingFabric",
"link": "/players/updating-fabric"
}
]
}
],
"/develop/": [
{
"text": "develop.title",
"link": "/develop/",
"collapsed": false,
"items": [
{
"text": "Fabric API GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/fabric"
},
{
"text": "Yarn GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/yarn"
},
{
"text": "Loom GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/fabric-loom"
}
]
},
{
"text": "develop.gettingStarted",
"collapsed": false,
"items": [
{
"text": "develop.gettingStarted.introduction",
"link": "/develop/getting-started/introduction-to-fabric-and-modding"
},
{
"text": "develop.gettingStarted.devEnvSetup",
"link": "/develop/getting-started/setting-up-a-development-environment"
},
{
"text": "develop.gettingStarted.creatingProject",
"link": "/develop/getting-started/creating-a-project"
},
{
"text": "develop.gettingStarted.projectStructure",
"link": "/develop/getting-started/project-structure"
},
{
"text": "develop.gettingStarted.launchGame",
"link": "/develop/getting-started/launching-the-game"
}
]
},
{
"text": "develop.items",
"collapsed": true,
"items": [
{
"text": "develop.items.first-item",
"link": "/develop/items/first-item"
},
{
"text": "develop.items.food",
"link": "/develop/items/food"
},
{
"text": "develop.items.custom-tools",
"link": "/develop/items/custom-tools"
},
{
"text": "develop.items.custom-armor",
"link": "/develop/items/custom-armor"
},
{
"text": "develop.items.custom-item-groups",
"link": "/develop/items/custom-item-groups"
},
{
"text": "develop.items.custom-item-interactions",
"link": "/develop/items/custom-item-interactions"
},
{
"text": "develop.items.custom-enchantment-effects",
"link": "/develop/items/custom-enchantment-effects"
},
{
"text": "develop.items.custom-data-components",
"link": "/develop/items/custom-data-components"
},
{
"text": "develop.items.potions",
"link": "/develop/items/potions"
}
]
},
{
"text": "develop.blocks",
"collapsed": true,
"items": [
{
"text": "develop.blocks.first-block",
"link": "/develop/blocks/first-block"
},
{
"text": "develop.blocks.blockstates",
"link": "/develop/blocks/blockstates"
},
{
"text": "develop.blocks.block-entities",
"link": "/develop/blocks/block-entities",
"items": [
{
"text": "develop.blocks.block-entity-renderer",
"link": "/develop/blocks/block-entity-renderer"
}
]
}
]
},
{
"text": "develop.entities",
"collapsed": true,
"items": [
{
"text": "develop.entities.effects",
"link": "/develop/entities/effects"
},
{
"text": "develop.entities.damage-types",
"link": "/develop/entities/damage-types"
}
]
},
{
"text": "develop.sounds",
"collapsed": true,
"items": [
{
"text": "develop.sounds.using-sounds",
"link": "/develop/sounds/using-sounds"
},
{
"text": "develop.sounds.custom",
"link": "/develop/sounds/custom"
},
{
"text": "develop.sounds.dynamic-sounds",
"link": "/develop/sounds/dynamic-sounds"
}
]
},
{
"text": "develop.commands",
"collapsed": true,
"items": [
{
"text": "develop.commands.basics",
"link": "/develop/commands/basics"
},
{
"text": "develop.commands.arguments",
"link": "/develop/commands/arguments"
},
{
"text": "develop.commands.suggestions",
"link": "/develop/commands/suggestions"
}
]
},
{
"text": "develop.rendering",
"collapsed": true,
"items": [
{
"text": "develop.rendering.basicConcepts",
"link": "/develop/rendering/basic-concepts"
},
{
"text": "develop.rendering.drawContext",
"link": "/develop/rendering/draw-context"
},
{
"text": "develop.rendering.hud",
"link": "/develop/rendering/hud"
},
{
"text": "develop.rendering.gui",
"items": [
{
"text": "develop.rendering.gui.customScreens",
"link": "/develop/rendering/gui/custom-screens"
},
{
"text": "develop.rendering.gui.customWidgets",
"link": "/develop/rendering/gui/custom-widgets"
}
]
},
{
"text": "develop.rendering.particles",
"items": [
{
"text": "develop.rendering.particles.creatingParticles",
"link": "/develop/rendering/particles/creating-particles"
}
]
}
]
},
{
"text": "develop.dataGeneration",
"collapsed": true,
"items": [
{
"text": "develop.dataGeneration.setup",
"link": "/develop/data-generation/setup"
},
{
"text": "develop.dataGeneration.tags",
"link": "/develop/data-generation/tags"
},
{
"text": "develop.dataGeneration.translations",
"link": "/develop/data-generation/translations"
},
{
"text": "develop.dataGeneration.advancements",
"link": "/develop/data-generation/advancements"
},
{
"text": "develop.dataGeneration.recipes",
"link": "/develop/data-generation/recipes"
},
{
"text": "develop.dataGeneration.lootTables",
"link": "/develop/data-generation/loot-tables"
}
]
},
{
"text": "develop.misc",
"collapsed": true,
"items": [
{
"text": "develop.misc.codecs",
"link": "/develop/codecs"
},
{
"text": "develop.misc.events",
"link": "/develop/events"
},
{
"text": "develop.misc.text-and-translations",
"link": "/develop/text-and-translations"
},
{
"text": "develop.misc.ideTipsAndTricks",
"link": "/develop/ide-tips-and-tricks"
},
{
"text": "develop.misc.automatic-testing",
"link": "/develop/automatic-testing"
}
]
}
]
}
2 changes: 1 addition & 1 deletion .vitepress/theme/components/VersionReminder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ref, watchEffect } from "vue";
const data = useData();
const route = useRoute();
const LATEST = "1.21";
const LATEST = "1.21.4";
const path = ref<string>("");
const text = ref<string>("");
Expand Down
Loading

0 comments on commit caf30e4

Please sign in to comment.