Aggiunta struttura base del sito e configurato vitepress-sidebar
This commit is contained in:
parent
60bcd8950b
commit
f9deec80f3
37 changed files with 775 additions and 159 deletions
|
|
@ -1,49 +0,0 @@
|
|||
---
|
||||
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).
|
||||
|
|
@ -1,25 +1,23 @@
|
|||
---
|
||||
# https://vitepress.dev/reference/default-theme-home-page
|
||||
layout: home
|
||||
|
||||
hero:
|
||||
name: "Retards Server"
|
||||
text: "New Beginning"
|
||||
tagline: My great project tagline
|
||||
actions:
|
||||
- theme: brand
|
||||
text: Markdown Examples
|
||||
link: /markdown-examples
|
||||
- theme: alt
|
||||
text: API Examples
|
||||
link: /api-examples
|
||||
# tagline: My great project tagline
|
||||
# actions:
|
||||
# - theme: alt
|
||||
# text: Tutorials
|
||||
# link: /tutorials/
|
||||
|
||||
features:
|
||||
- title: Feature A
|
||||
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
- title: Feature B
|
||||
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
- title: Feature C
|
||||
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
- title: Tutorials
|
||||
#details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
link: /tutorials/
|
||||
- title: Wiki
|
||||
#details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
link: /wiki/
|
||||
- title: News
|
||||
#details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||
link: /news/
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,85 +0,0 @@
|
|||
# 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).
|
||||
1
site/news/index.md
Normal file
1
site/news/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Retards News
|
||||
0
site/news/rss.xml
Normal file
0
site/news/rss.xml
Normal file
1
site/tutorials/comandi/index.md
Normal file
1
site/tutorials/comandi/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Comandi
|
||||
1
site/tutorials/index.md
Normal file
1
site/tutorials/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Tutorials
|
||||
3
site/tutorials/minecraft.md
Normal file
3
site/tutorials/minecraft.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Installare Minecraft
|
||||
|
||||
<!-- Guida su come installare Minecraft, copiare da rentry.org/retards-server-2 -->
|
||||
3
site/tutorials/modpack.md
Normal file
3
site/tutorials/modpack.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Il Modpack
|
||||
|
||||
<!-- Guida su come installare ed aggiornare il modpack, copiare da rentry.org/retards-server-2 -->
|
||||
3
site/tutorials/server.md
Normal file
3
site/tutorials/server.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Entrare nel Server
|
||||
|
||||
<!-- Guida su come connettersi al Server, copiare da rentry.org/retards-server-2 -->
|
||||
3
site/tutorials/tasti.md
Normal file
3
site/tutorials/tasti.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Tasti
|
||||
|
||||
<!-- Guida sui tasti del modpack (M per la mappa, C per lo zoom, etc.) -->
|
||||
3
site/tutorials/voicechat.md
Normal file
3
site/tutorials/voicechat.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# VoiceChat
|
||||
|
||||
<!-- Guida su come usare SimpleVoiceChat -->
|
||||
1
site/tutorials/worldedit/index.md
Normal file
1
site/tutorials/worldedit/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# WorldEdit
|
||||
3
site/wiki/eventi/apertura-portale.md
Normal file
3
site/wiki/eventi/apertura-portale.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Apertura del Portale per la Null Timeline
|
||||
|
||||
<!-- Primo evento del Server -->
|
||||
3
site/wiki/eventi/crisi-del-13-settembre.md
Normal file
3
site/wiki/eventi/crisi-del-13-settembre.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# La Crisi del 13 Settembre
|
||||
|
||||
<!-- Grief del 13 settembre. Scrivere che non si sa se sia stata la macchina di firr ad esplodere o se siano stati degli extraterrestri ad attaccarci -->
|
||||
1
site/wiki/eventi/index.md
Normal file
1
site/wiki/eventi/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Eventi
|
||||
1
site/wiki/index.md
Normal file
1
site/wiki/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Wiki
|
||||
1
site/wiki/luoghi/aeroporto.md
Normal file
1
site/wiki/luoghi/aeroporto.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Aeroporto di Andesite (Null)
|
||||
1
site/wiki/luoghi/index.md
Normal file
1
site/wiki/luoghi/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Luoghi
|
||||
3
site/wiki/luoghi/new-retards.md
Normal file
3
site/wiki/luoghi/new-retards.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# New Retards (Null)
|
||||
|
||||
<!-- Città principale in fase di costruzione nella Null Timeline -->
|
||||
3
site/wiki/luoghi/null-timeline.md
Normal file
3
site/wiki/luoghi/null-timeline.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Null Timeline
|
||||
|
||||
<!-- Dimensione creativa recentemente scoperta -->
|
||||
3
site/wiki/luoghi/overworld.md
Normal file
3
site/wiki/luoghi/overworld.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Overworld
|
||||
|
||||
<!-- Mondo in survival, linea temporale principale -->
|
||||
3
site/wiki/luoghi/retards-city.md
Normal file
3
site/wiki/luoghi/retards-city.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Retards City (Overworld)
|
||||
|
||||
<!-- Città inizialmente costruita nell'Overworld, mezza distrutta dalla Crisi del 13 Settembre -->
|
||||
3
site/wiki/luoghi/reuleni.md
Normal file
3
site/wiki/luoghi/reuleni.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reuleni (Overworld)
|
||||
|
||||
<!-- Città dell'Overworld distante da Retards City, oltre le montagne -->
|
||||
3
site/wiki/luoghi/rostovia.md
Normal file
3
site/wiki/luoghi/rostovia.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Rostovia (Overworld)
|
||||
|
||||
<!-- Villaggio accanto a Retards City, danneggiato dalla crisi del 13 Settembre -->
|
||||
3
site/wiki/personaggi/bl4z3.md
Normal file
3
site/wiki/personaggi/bl4z3.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# BL4Z3
|
||||
|
||||
<!-- Villager infuocato -->
|
||||
1
site/wiki/personaggi/brixsbang.md
Normal file
1
site/wiki/personaggi/brixsbang.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# BrixsBang
|
||||
1
site/wiki/personaggi/cheruz.md
Normal file
1
site/wiki/personaggi/cheruz.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Cheruz
|
||||
3
site/wiki/personaggi/corrupted-zombie.md
Normal file
3
site/wiki/personaggi/corrupted-zombie.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Corrupted Zombie
|
||||
|
||||
<!-- Zombie combattuto all'Apertura del Portale per la Null Timeline, prima anomalia riscontrata -->
|
||||
1
site/wiki/personaggi/firr.md
Normal file
1
site/wiki/personaggi/firr.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# firr
|
||||
1
site/wiki/personaggi/index.md
Normal file
1
site/wiki/personaggi/index.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Personaggi
|
||||
1
site/wiki/personaggi/malasaur.md
Normal file
1
site/wiki/personaggi/malasaur.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Malasaur
|
||||
1
site/wiki/personaggi/npz.md
Normal file
1
site/wiki/personaggi/npz.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# NPZ
|
||||
1
site/wiki/personaggi/stef.md
Normal file
1
site/wiki/personaggi/stef.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Stef
|
||||
Loading…
Add table
Add a link
Reference in a new issue