-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation page (but actually good)
team.md not finalized so not included
- Loading branch information
1 parent
953f843
commit 12a22ab
Showing
16 changed files
with
258 additions
and
10 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,66 @@ | ||
# Sample workflow for building and deploying a VitePress site to GitHub Pages | ||
# | ||
name: Deploy VitePress site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the `main` branch. Change this to `master` if you're | ||
# using the `master` branch as the default branch. | ||
push: | ||
branches: [main] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: pages | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Not needed if lastUpdated is not enabled | ||
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm | ||
# with: | ||
# version: 9 # Not needed if you've set "packageManager" in package.json | ||
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: npm # or pnpm / yarn | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
- name: Install dependencies | ||
run: npm ci # or pnpm install / yarn install / bun install | ||
- name: Build with VitePress | ||
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/.vitepress/dist | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
needs: build | ||
runs-on: ubuntu-latest | ||
name: Deploy | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 @@ | ||
.vuepress/cache | ||
node_modules | ||
dist | ||
package-lock.json |
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,107 @@ | ||
import { defineConfig, HeadConfig } from 'vitepress'; | ||
import { generateSidebar } from 'vitepress-sidebar'; | ||
import { withPwa } from '@vite-pwa/vitepress' | ||
|
||
|
||
export default withPwa(defineConfig({ | ||
title: 'Project Lodestone - Documentation', | ||
description: 'Documentation for Project Lodestone and various file formats and mechanics for many versions and editions of Minecraft.', | ||
lastUpdated: true, | ||
outDir: "dist", | ||
sitemap: { | ||
hostname: 'https://team-lodestone.github.io/Documentation/' | ||
}, | ||
themeConfig: { | ||
siteTitle: false, | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'LCE', link: '/LCE/readme.md' }, | ||
{ text: 'Java', link: '/Java/readme.md' }, | ||
{ text: 'Bedrock', link: '/Bedrock/readme.md' }, | ||
{ text: '3DS', link: '/3DS/readme.md' }, | ||
{ text: 'Pi', link: '/Pi/Pi-Edition-Docs.md' }, | ||
{ text: 'Info', link: '/readme.md' }, | ||
{ text: 'Team', link: '/Team.md' }, | ||
], | ||
|
||
search: { | ||
provider: 'local' | ||
}, | ||
|
||
sidebar: generateSidebar({ | ||
documentRootPath: "/", | ||
collapsed: true, | ||
capitalizeEachWords: true, | ||
rootGroupText: 'Main', | ||
hyphenToSpace: true, | ||
includeEmptyFolder: false | ||
}), | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/Team-Lodestone' }, | ||
{ icon: 'discord', link: 'https://discord.gg/eHdmrW7W6u' } | ||
], | ||
|
||
footer: { | ||
// haha inlining html into a text block | ||
message: '<h1>Contributors</h1><br><a href="https://github.com/Team-Lodestone/Documentation/graphs/contributors" style="display: flex; justify-content: center; align-items: center;" > <img align="center" src="https://contrib.rocks/image?repo=Team-Lodestone/Documentation"/> </a><br><h1>Documentation page was setup by DexrnZacAttack.</h1>', | ||
}, | ||
|
||
logo: './assets/Project_Dexrn_Lodestone_Logo_Made_By_NikStudios.svg' | ||
}, | ||
head: [ | ||
// gotta have all the meta tags | ||
['link', { rel: 'icon', href: '/assets/Lodestone_Favicon.png' }], | ||
['link', { rel: 'shortcut icon', href: '/assets/Lodestone_Favicon.png' }], | ||
['link', { rel: 'apple-touch-icon', sizes: '512x512', href: '/assets/Dexrn_Lodestone_Logo.png' }], | ||
['link', { rel: 'stylesheet', type: 'text/css', href: '/assets/lodestone.css' }], | ||
['meta', { property: 'og:image', content: '/assets/LodestoneBg.jpg' }], | ||
['meta', { property: 'og:type', content: 'website' }], | ||
['meta', { property: 'theme-color', content: '#AD95ED' }], | ||
['meta', { name: 'description', content: 'Documentation for Project Lodestone and various file formats and mechanics for many versions and editions of Minecraft.' }], | ||
// do these even do anything | ||
['meta', { name: 'keywords', content: 'minecraft, lodestone, world converter, converter, legacy console edition, lce, java edition, java, documentation, bedrock edition, bedrock, pi edition, pi, 3ds edition, 3ds' }], | ||
// lol does this mean it can be shoved into the start menu as a "live" tile | ||
['meta', { name: 'msapplication-TileColor', content: '#AD95ED' }], | ||
['meta', { name: 'msapplication-TileImage', content: '/assets/Dexrn_Lodestone_Logo.png' }], | ||
], | ||
vite: { | ||
server: { | ||
host: '0.0.0.0', | ||
port: 80, | ||
} | ||
}, | ||
transformHead: ({ pageData }) => { | ||
const head: HeadConfig[] = [] | ||
|
||
// for other platforms ig | ||
head.push(['meta', { property: 'og:title', content: "Project Lodestone - Documentation > " + pageData.relativePath }]); | ||
head.push(['meta', { property: 'og:description', content: "Documentation for Project Lodestone and various file formats and mechanics for many versions and editions of Minecraft." }]) | ||
head.push(['meta', { property: 'og:url', content: 'https://Team-Lodestone.github.io/Documentation/' + pageData.relativePath }]); // this might be messed up idk | ||
// xitter | ||
head.push(['meta', { name: 'twitter:title', content: "Project Lodestone - Documentation > " + pageData.relativePath }]); | ||
head.push(['meta', { name: 'twitter:description', content: "Documentation for Project Lodestone and various file formats and mechanics for many versions and editions of Minecraft." }]); | ||
head.push(['meta', { name: 'twitter:url', content: 'https://Team-Lodestone.github.io/Documentation/' + pageData.relativePath }]); | ||
head.push(['meta', { name: 'twitter:image', content: '/assets/LodestoneBg.jpg' }]); | ||
|
||
return head | ||
}, | ||
ignoreDeadLinks: true, | ||
pwa: { | ||
registerType: 'autoUpdate', | ||
manifest: { | ||
name: 'Project Lodestone - Documentation', | ||
short_name: 'Project Lodestone Docs', | ||
description: '', | ||
theme_color: '#493189', | ||
icons: [ | ||
{ | ||
src: '/assets/Dexrn_Lodestone_Logo.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
}, | ||
}, | ||
})); | ||
|
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# LCE-Documentation | ||
Documentation about Minecraft: Legacy Console Edition related stuff. | ||
|
||
For basic LCE info such as compression, endianness, etc, check out [Basic Info.md](./Basic%20Info.md) | ||
|
||
# Contributors | ||
List of contributors can be found under [Team.md#Documentation](/Team.md#Documentation) | ||
List of contributors can be found under [Team.md#Documentation](/Team.md#Documentation) |
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 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: home | ||
|
||
hero: | ||
name: "Project Lodestone - Documentation" | ||
tagline: "Documentation for Project Lodestone and various file formats and mechanics for many versions and editions of Minecraft." | ||
features: | ||
- title: Project Info | ||
details: Info about Project Lodestone | ||
link: /readme.md | ||
icon: ℹ️ | ||
- title: Legacy Console Edition | ||
details: Documentation on the Legacy Console Edition (LCE) versions Of Minecraft | ||
link: /LCE/readme.md | ||
icon: 🎮 | ||
- title: Java Edition | ||
details: Documentation on Minecraft Java Edition | ||
link: /Java/readme.md | ||
icon: 🖥️ | ||
- title: Bedrock Edition | ||
details: Documentation on Minecraft Bedrock Edition | ||
link: /Bedrock/readme.md | ||
icon: 📱 | ||
- title: 3DS Edition | ||
details: Documentation on Minecraft 3DS Edition | ||
link: /3DS/readme.md | ||
- title: Pi Edition | ||
details: Documentation on Minecraft Pi Edition | ||
link: /Pi/readme.md | ||
icon: ⌨️ | ||
--- | ||
|
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,12 @@ | ||
{ | ||
"scripts": { | ||
"docs:dev": "vitepress dev", | ||
"docs:build": "vitepress build", | ||
"docs:preview": "vitepress preview" | ||
}, | ||
"devDependencies": { | ||
"@vite-pwa/vitepress": "^0.5.3", | ||
"vitepress": "^1.4.2", | ||
"vitepress-sidebar": "^1.28.0" | ||
} | ||
} |
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.
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,19 @@ | ||
:root.dark { | ||
--vp-home-hero-name-color: rgb(173,149,237); | ||
--vp-nav-bg-color: rgb(25,26,28); | ||
--vp-sidebar-bg-color: rgb(25,26,28); | ||
--vp-c-brand-1: rgb(173,149,237); | ||
--vp-c-accent: rgb(173,149,237); | ||
--vp-c-bg: rgb(18,18,18); | ||
--vp-c-accent: rgb(173,149,237); | ||
} | ||
|
||
:root { | ||
--vp-c-brand-1: rgb(73,49,137); | ||
--vp-c-accent: rgb(73,49,137); | ||
transition: background-color 0.55s; | ||
} | ||
|
||
.VPNav { | ||
background-color: var(--vp-nav-bg-color); | ||
} |