diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4413cd4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,34 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: python + commands: + - pip install mkdocs + - pip install mkdocs-bootstrap386 + - mkdocs build + +scp -r ./site user@host:/path/to/server/root + +- name: deploy + image: appleboy/drone-scp + settings: + host: 172.16.85.15 + target: /var/www/h3ndrik.de + source: site/* +# rm: true + strip_components: 1 + username: + from_secret: ssh_username + password: + from_secret: ssh_password + port: + from_secret: ssh_port + when: + branch: + - master + event: + exclude: + - pull_request diff --git a/.gitignore b/.gitignore index d89fa7d..07e70f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,2 @@ -# ---> Hugo -# Generated files by hugo -/public/ -/resources/_gen/ - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - +# ---> MkDocs +site/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a4b1ffc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "mkdocs-bootstrap386"] + path = mkdocs-bootstrap386 + url = https://gitlab.com/lramage/mkdocs-bootstrap386.git diff --git a/README.md b/README.md index 1da8a74..5edbd34 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # h3ndrik.de -homepage \ No newline at end of file +homepage + +[![Build Status](https://drone.xd0.de/api/badges/hendrik/h3ndrik.de/status.svg)](https://drone.xd0.de/hendrik/h3ndrik.de) diff --git a/docs/about.md b/docs/about.md new file mode 100644 index 0000000..d388039 --- /dev/null +++ b/docs/about.md @@ -0,0 +1,17 @@ +# Welcome to MkDocs + +For full documentation visit [mkdocs.org](https://mkdocs.org). + +## Commands + +* `mkdocs new [dir-name]` - Create a new project. +* `mkdocs serve` - Start the live-reloading docs server. +* `mkdocs build` - Build the documentation site. +* `mkdocs help` - Print this help message. + +## Project layout + + mkdocs.yml # The configuration file. + docs/ + index.md # The documentation homepage. + ... # Other markdown pages, images and other files. diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..d388039 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,17 @@ +# Welcome to MkDocs + +For full documentation visit [mkdocs.org](https://mkdocs.org). + +## Commands + +* `mkdocs new [dir-name]` - Create a new project. +* `mkdocs serve` - Start the live-reloading docs server. +* `mkdocs build` - Build the documentation site. +* `mkdocs help` - Print this help message. + +## Project layout + + mkdocs.yml # The configuration file. + docs/ + index.md # The documentation homepage. + ... # Other markdown pages, images and other files. diff --git a/mkdocs-bootstrap386 b/mkdocs-bootstrap386 new file mode 160000 index 0000000..74cf0b8 --- /dev/null +++ b/mkdocs-bootstrap386 @@ -0,0 +1 @@ +Subproject commit 74cf0b8ed935aa8f8b88a1085c938bfcd9f2aa3b diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..0781ebd --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,7 @@ +site_name: h3ndrik.de +nav: + - Home: index.md + - About: about.md +theme: + name: null + custom_dir: 'mkdocs-bootstrap386/mkdocs_bootstrap386'