Skip to content

Commit

Permalink
Initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
aronmal committed Jul 14, 2022
1 parent f50677a commit 6a13cf1
Show file tree
Hide file tree
Showing 11 changed files with 281 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# Set variables
name=docs
author=CaptaiNiveau
github=CaptaiNiveau/docs
version=$(curl -s https://api.github.com/repos/${github}/releases/latest | grep 'tag_name' | cut -d\" -f4)
packageVER=${version}
packageName=${name}-package-${packageVER}
packagefile=${packageName}.zip
packageURL=https://github.com/${github}/releases/download/${version}/${packagefile}

# Execute
mkdir /github
cd /github
wget ${packageURL}
unzip ${packagefile}
rm -r ${packagefile}
Binary file added docs/assets/images/favicon.ico
Binary file not shown.
Binary file added docs/assets/images/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/titanic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i');
.md-nav {
font-size: 14px;
line-height: 1.4;
}
.md-typeset {
font-size: 14px;
line-height: 1.5;
}
body, input {
font-family: "Source Sans Pro", "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
/* color: black; */
}
code {
display: inline-block;
white-space: pre-wrap;
}
56 changes: 56 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Willkommen hier, Fremder!

![titanic](assets/images/titanic.png)

**How to create your docs?**

## Lorem Ipsum

Kannst du erhalten mit:

```
curl 'https://jaspervdj.be/lorem-markdownum/markdown.txt' > docs/new.md
```

## Meldungen

Es gibt folgende Meldungen:

!!! info
This is a info container.

!!! warning
Pass auf, heiß!

!!! danger "Achtung"
Wenn du etwas **alarmierendes** anmerken möchtest.

!!! tip
Falls es mal einen nützlichen Tipp gibt. ;)
> In der Regel nicht. LoL

### Nginx

This is a nginx configuration example file.

**Take care of highlighted lines.**

``` hl_lines="5 7"
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
root /github/docs;
server_name docs.the-server.eu;
# all ssl related config moved to ssl.conf
include /config/nginx/ssl.conf;
client_max_body_size 0;
index index.html;
location = / {}
}
```
58 changes: 58 additions & 0 deletions docs/page-one.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Page ONE - Ora erat coniunx prohibebere flammaeque arma cinerem

## Iovem cursus monitusque ait

Lorem markdownum probat poscere dedecus solido *crepitantibus* uteri; quam est
**ultima icta**, at sonantia sentit curarum verba femina. Altum humus saepe quae
quondam et artus silva narrat *de flores mixtaeque* quicquam. Membra lateo. Toto
dicta, gracili Iamque retro contrarius mens sidere!

Mare credimus coniunx? Lilia alieno nihil bellum Priameia te fixit facibus,
caput quam priorum mixtus fer sim memoratis artus.

## Latitantem quondam super amando est tuas

Peteret nec ubi crescentis puppe sumptas et similesque terras et moenia tum,
ipsum quaeque, huc non illa. Illa corporis mersit manus mihi crepuscula **iuxta
Scylla** e vehebat tectam discedens non mansit, invida
[extemplo](http://fovebatse.com/). Et densas, succendit est materiam consistere
rivi, quod dextra, cum sensit ablata; derant. Serpens adfectat: vivere [tellus
causam inposito](http://www.aestuatstat.net/) modo secundum Ocyroen; celebrant
nympharum: euntis eripitur. Dum bimari qui celeri ignibus, ex munus miserata
iubeoque, contemptus.

Licet verba viroque teretem Lapitheia matris Saturnia ab socios nudae Iuppiter?
[Putaret cornua](http://excussumet.net/serpensamore) ab fundebat vivum, lateri.

## Tela non putat posita

Iugo amentia est ut sensit avido, *et adfuit*, nunc dies malis bracchia tigno
rettulit deus tulit rursus. Undam [cura manus
moresque](http://www.praeter.net/his) cognoscere litus pulvereamque pater sol
undis est. Cum amnis mente dei o turea servata dulcedine ad sibila enim aquas,
caelum sceleris.

Et ambitae, is, regia *suum* plus: excubias Ilithyiam in deos non nimbis elegit
pro istis. Vestrae nec ante, induit et vicimus *silva*, usus unda! Me hanc ecce,
**tibi** sui, et tunc **monstris**: Melaneus medius illiusque venerit Minervae.
Trahar illis; quod pedes fecunda, inter: et annos poterat illa; manifesta.
Didymeque praemonitus ab iamque est medullis, si mors, creatus.

## Origo regis

Fecit dira figura unum precor **quoque**, conplexa cadat qua mugitus radios
loquendo Egeriae meritam Telchinas alimenta induruit et. Novum prohibete imitata
aliqua ipsi, nobis progenies nec.

> Semper ignotosque **Ianthe**, Numici rapta: cum Lucifer nexis habenis
> indignantem quod retenta. Sed custos Indos. Petunt viae barba hippomene
> Auroram, **negat**, iter. Achille sine anseribus tegis, aura ibat quae
> opprobria pars. Corporis lumina muneris, hoc habebis lege: per cursus
> extemplo, et videt volucris.
Et maximus gradu *aeno* quamcumque adhuc passim, sed mugitibus non meorum,
inveniesque urbem **saevo terrena** stringit! Pede iam prima sola per spirarunt
repperit hiemisque **linguae** vulneris [relinquunt et
liquidi](http://tamen.io/in-non) loquetur pulsat memorantur? Luctibus in talibus
postquam durastis haut. Auctor cives, omnes Gortyniaco quies sororem discedere
contendite evolat fluctus ad. Operum ora videres vixque, praepes!
58 changes: 58 additions & 0 deletions docs/page-two.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Page TWO - Ora erat coniunx prohibebere flammaeque arma cinerem

## Iovem cursus monitusque ait

Lorem markdownum probat poscere dedecus solido *crepitantibus* uteri; quam est
**ultima icta**, at sonantia sentit curarum verba femina. Altum humus saepe quae
quondam et artus silva narrat *de flores mixtaeque* quicquam. Membra lateo. Toto
dicta, gracili Iamque retro contrarius mens sidere!

Mare credimus coniunx? Lilia alieno nihil bellum Priameia te fixit facibus,
caput quam priorum mixtus fer sim memoratis artus.

## Latitantem quondam super amando est tuas

Peteret nec ubi crescentis puppe sumptas et similesque terras et moenia tum,
ipsum quaeque, huc non illa. Illa corporis mersit manus mihi crepuscula **iuxta
Scylla** e vehebat tectam discedens non mansit, invida
[extemplo](http://fovebatse.com/). Et densas, succendit est materiam consistere
rivi, quod dextra, cum sensit ablata; derant. Serpens adfectat: vivere [tellus
causam inposito](http://www.aestuatstat.net/) modo secundum Ocyroen; celebrant
nympharum: euntis eripitur. Dum bimari qui celeri ignibus, ex munus miserata
iubeoque, contemptus.

Licet verba viroque teretem Lapitheia matris Saturnia ab socios nudae Iuppiter?
[Putaret cornua](http://excussumet.net/serpensamore) ab fundebat vivum, lateri.

## Tela non putat posita

Iugo amentia est ut sensit avido, *et adfuit*, nunc dies malis bracchia tigno
rettulit deus tulit rursus. Undam [cura manus
moresque](http://www.praeter.net/his) cognoscere litus pulvereamque pater sol
undis est. Cum amnis mente dei o turea servata dulcedine ad sibila enim aquas,
caelum sceleris.

Et ambitae, is, regia *suum* plus: excubias Ilithyiam in deos non nimbis elegit
pro istis. Vestrae nec ante, induit et vicimus *silva*, usus unda! Me hanc ecce,
**tibi** sui, et tunc **monstris**: Melaneus medius illiusque venerit Minervae.
Trahar illis; quod pedes fecunda, inter: et annos poterat illa; manifesta.
Didymeque praemonitus ab iamque est medullis, si mors, creatus.

## Origo regis

Fecit dira figura unum precor **quoque**, conplexa cadat qua mugitus radios
loquendo Egeriae meritam Telchinas alimenta induruit et. Novum prohibete imitata
aliqua ipsi, nobis progenies nec.

> Semper ignotosque **Ianthe**, Numici rapta: cum Lucifer nexis habenis
> indignantem quod retenta. Sed custos Indos. Petunt viae barba hippomene
> Auroram, **negat**, iter. Achille sine anseribus tegis, aura ibat quae
> opprobria pars. Corporis lumina muneris, hoc habebis lege: per cursus
> extemplo, et videt volucris.
Et maximus gradu *aeno* quamcumque adhuc passim, sed mugitibus non meorum,
inveniesque urbem **saevo terrena** stringit! Pede iam prima sola per spirarunt
repperit hiemisque **linguae** vulneris [relinquunt et
liquidi](http://tamen.io/in-non) loquetur pulsat memorantur? Luctibus in talibus
postquam durastis haut. Auctor cives, omnes Gortyniaco quies sororem discedere
contendite evolat fluctus ad. Operum ora videres vixque, praepes!
69 changes: 69 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
site_name: "It's going down"
site_url: https://docs.the-server.eu/
repo_name: CaptaiNiveau/docs
repo_url: https://github.com/CaptaiNiveau/docs
edit_uri: ./edit/main/docs/
site_author: 'CaptaiNiveau'
copyright: "Copyright © 2022 CaptaiNiveau"

theme:
name: material
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Dark Mode
- scheme: slate
toggle:
icon: material/toggle-switch
name: Light Mode
logo: assets/images/logo.png
favicon: assets/images/favicon.ico
features:
- navigation.top
- navigation.tracking

markdown_extensions:
- attr_list
- admonition
- toc:
permalink: true
- pymdownx.magiclink
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.mark
- pymdownx.tilde
- pymdownx.extra
- footnotes

nav:
- 'Home': 'index.md'
- 'First Chapter':
- 'Page One': 'page-one.md'
- 'Page Two': 'page-two.md'
- 'Version': 'version.md'

plugins:
- search
- git-revision-date-localized:
type: iso_datetime
timezone: Europe/Berlin

extra:
social:
- icon: fontawesome/solid/globe
link: https://the-server.eu
- icon: fontawesome/brands/github
link: https://github.com/CaptaiNiveau
- icon: fontawesome/solid/code
link: https://github.com/CaptaiNiveau/docs
theme:
palette:
primary: indigo
accent: orange
extra_css: [ assets/stylesheets/extra.css ]
# extra_javascript:
# - assets/javascripts/client.js
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdocs-material==8.3.9
mkdocs-redirects==1.0.4
pygments>=2.12
mkdocs-static-i18n==0.46
mkdocs-git-revision-date-localized-plugin==1.1.0

0 comments on commit 6a13cf1

Please sign in to comment.