Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ venv/
run/
run.old/

# Documentation
docs/.vitepress/dist
docs/.vitepress/cache
node_modules

# Generated by Cargo
# will have compiled files and executables
debug/
Expand Down
321 changes: 321 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions docs/.gitignore

This file was deleted.

49 changes: 49 additions & 0 deletions docs/.old/api-examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
outline: deep
---

# Runtime API Examples

This page demonstrates usage of some of the runtime APIs provided by VitePress.

The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:

```md
<script setup>
import { useData } from 'vitepress'

const { theme, page, frontmatter } = useData()
</script>

## Results

### Theme Data
<pre>{{ theme }}</pre>

### Page Data
<pre>{{ page }}</pre>

### Page Frontmatter
<pre>{{ frontmatter }}</pre>
```

<script setup>
import { useData } from 'vitepress'

const { site, theme, page, frontmatter } = useData()
</script>

## Results

### Theme Data
<pre>{{ theme }}</pre>

### Page Data
<pre>{{ page }}</pre>

### Page Frontmatter
<pre>{{ frontmatter }}</pre>

## More

Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
85 changes: 85 additions & 0 deletions docs/.old/markdown-examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Markdown Extension Examples

This page demonstrates some of the built-in markdown extensions provided by VitePress.

## Syntax Highlighting

VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:

**Input**

````md
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
````

**Output**

```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```

## Custom Containers

**Input**

```md
::: info
This is an info box.
:::

::: tip
This is a tip.
:::

::: warning
This is a warning.
:::

::: danger
This is a dangerous warning.
:::

::: details
This is a details block.
:::
```

**Output**

::: info
This is an info box.
:::

::: tip
This is a tip.
:::

::: warning
This is a warning.
:::

::: danger
This is a dangerous warning.
:::

::: details
This is a details block.
:::

## More

Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).
44 changes: 44 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import { defineConfig } from "vitepress"

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Atomic Cloud",
description: "A program that makes it possible to put special game servers in a network",
themeConfig: {
logo: "/icon.png",

nav: [
{ text: "Home", link: "/" },
{ text: "Documentation", link: "/quick-start" }
],

sidebar: [
{
text: "Basics",
items: [
{ text: "Quick Start", link: "/quick-start" }
]
},
{
text: "Configuration",
items: [
{ text: "Introduction", link: "/configuration/introduction" }
]
}
],

socialLinks: [
{ icon: "github", link: "https://github.com/HttpRafa/atomic-cloud" }
],

footer: {
message: 'Released under the GPL-3.0 License.',
copyright: 'Copyright © 2025-present HttpRafa'
},

editLink: {
pattern: 'https://github.com/HttpRafa/atomic-cloud/edit/main/docs/:path',
text: 'Edit this page on GitHub'
}
}
})
5 changes: 0 additions & 5 deletions docs/archetypes/default.md

This file was deleted.

Empty file added docs/configs/intro.md
Empty file.
9 changes: 0 additions & 9 deletions docs/content/de/docs/_index.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/de/docs/overview.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/de/docs/quickstart.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/content/docs/_index.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/docs/overview.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/content/docs/quickstart.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/data/landing.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions docs/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions docs/go.sum

This file was deleted.

Loading