Browse Source

mkdocs new

main
Hendrik Langer 5 years ago
parent
commit
a19e12309b
  1. 34
      .drone.yml
  2. 12
      .gitignore
  3. 3
      .gitmodules
  4. 2
      README.md
  5. 17
      docs/about.md
  6. 17
      docs/index.md
  7. 1
      mkdocs-bootstrap386
  8. 7
      mkdocs.yml

34
.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

12
.gitignore

@ -1,10 +1,2 @@
# ---> Hugo # ---> MkDocs
# Generated files by hugo site/
/public/
/resources/_gen/
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

3
.gitmodules

@ -0,0 +1,3 @@
[submodule "mkdocs-bootstrap386"]
path = mkdocs-bootstrap386
url = https://gitlab.com/lramage/mkdocs-bootstrap386.git

2
README.md

@ -1,3 +1,5 @@
# h3ndrik.de # h3ndrik.de
homepage homepage
[![Build Status](https://drone.xd0.de/api/badges/hendrik/h3ndrik.de/status.svg)](https://drone.xd0.de/hendrik/h3ndrik.de)

17
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.

17
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.

1
mkdocs-bootstrap386

@ -0,0 +1 @@
Subproject commit 74cf0b8ed935aa8f8b88a1085c938bfcd9f2aa3b

7
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'
Loading…
Cancel
Save