diff --git a/.drone.yml b/.drone.yml index 7fab199..335813a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,18 +13,18 @@ steps: - git lfs fetch --all - name: build - image: python - commands: - - pip install mkdocs - - pip install mkdocs-bootstrap386 - - mkdocs build + image: plugins/hugo + settings: + hugo_version: + url: https://h3ndrik.de + validate: true - name: deploy image: appleboy/drone-scp settings: host: 172.16.85.15 target: /var/www/h3ndrik.de - source: site/* + source: public/* # rm: true strip_components: 1 username: diff --git a/.gitignore b/.gitignore index 07e70f3..15f34da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -# ---> MkDocs -site/ +resources/_gen/ +public/ diff --git a/.gitmodules b/.gitmodules index a4b1ffc..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "mkdocs-bootstrap386"] - path = mkdocs-bootstrap386 - url = https://gitlab.com/lramage/mkdocs-bootstrap386.git diff --git a/docs/about.md b/docs/about.md deleted file mode 100644 index d388039..0000000 --- a/docs/about.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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 deleted file mode 100644 index d388039..0000000 --- a/docs/index.md +++ /dev/null @@ -1,17 +0,0 @@ -# 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 deleted file mode 160000 index 74cf0b8..0000000 --- a/mkdocs-bootstrap386 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 74cf0b8ed935aa8f8b88a1085c938bfcd9f2aa3b diff --git a/mkdocs.yml b/mkdocs.yml deleted file mode 100644 index 0781ebd..0000000 --- a/mkdocs.yml +++ /dev/null @@ -1,7 +0,0 @@ -site_name: h3ndrik.de -nav: - - Home: index.md - - About: about.md -theme: - name: null - custom_dir: 'mkdocs-bootstrap386/mkdocs_bootstrap386'