Skip to content

Commit

Permalink
Merge pull request #1 from Reasonlesss/main
Browse files Browse the repository at this point in the history
Change icons & Sidebar titles
  • Loading branch information
LukynkaCZE authored Aug 18, 2024
2 parents 8946977 + 9addb83 commit 2f1d4fc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ export default defineConfig({
title: "DockyardMC",
description: "Wiki for the DockyardMC Project",
base: '/Wiki/',
head: [
['link', { rel: 'icon', href: '/Wiki/favicon.ico' }]
],
themeConfig: {
logo: { src: '/logo.png', width: 24, height: 24 },
editLink: {
pattern: 'https://github.com/DockyardMC/Wiki/edit/main/:path',
text: 'Edit this page on GitHub'
Expand All @@ -13,7 +17,6 @@ export default defineConfig({
{ text: 'Home', link: '/' },
{ text: 'Documentation', link: 'wiki/quick-start' }
],

sidebar: [
{
text: 'Setup',
Expand All @@ -37,7 +40,7 @@ export default defineConfig({
{
text: 'Events',
items: [
{ text: 'List of all events', link: 'wiki/events' },
{ text: 'List of Events', link: 'wiki/events' },
]
},
{
Expand All @@ -48,8 +51,8 @@ export default defineConfig({
{ text: 'Layering Entity Metadata', link: 'wiki/layering-entity-meta' },
{ text: 'Teams', link: 'wiki/teams' },
{ text: 'Red Screen Tint', link: 'wiki/red-tint' },
{ text: 'Freeze ticks', link: 'wiki/freeze-ticks' },
{ text: 'Is on fire', link: 'wiki/is-on-fire' },
{ text: 'Freeze Ticks', link: 'wiki/freeze-ticks' },
{ text: 'Is On Fire', link: 'wiki/is-on-fire' },
]
},
],
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hero:
text: ""
tagline: An open-source, fast and lightweight Minecraft server software that's written from scratch in Kotlin
image:
src: https://media.discordapp.net/attachments/749300558199783447/1270890969956352082/logo.png?ex=66c330b3&is=66c1df33&hm=287471b6892e0e8ddb0935708456437d5a403854b00f09162f4f960859e378b5&=&format=webp&quality=lossless
src: logo.png
alt: DockyardMC Logo
actions:
- theme: brand
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions wiki/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ next: false

# Quick Start

## Setting upw
## Setting up

Setting up a dockyard server is easy! As DockyardMC is a library and not a standalone program (unlike for example PaperMC), you'll need to integrate it into your Kotlin project.
Setting up a Dockyard server is easy! As DockyardMC is a library and not a standalone program (unlike for example PaperMC), you'll need to integrate it into your Kotlin project.

1. Create a new empty Kotlin project
2. Add following to your `build.gradle.kts`:
Expand Down Expand Up @@ -42,4 +42,4 @@ val customWorld = WorldManager.create("custom_world", FlatWorldGenerator(), Dime
Events.on<PlayerPreSpawnWorldSelectionEvent> {
it.world = customWorld
}
```
```

0 comments on commit 2f1d4fc

Please sign in to comment.