commit d072c2eeaded56439da43fda8501f8647dff0ac4 Author: Robert Kaussow Date: Tue Jan 21 01:46:04 2020 +0100 initial commit diff --git a/.batchfile b/.batchfile new file mode 100644 index 0000000..fad568d --- /dev/null +++ b/.batchfile @@ -0,0 +1 @@ +https://gitea.rknet.org/ansible/xoxys.bitwarden_rs;docs;content/role/bitwarden_rs diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b82e9d9 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,73 @@ +--- +kind: pipeline +name: default + +concurrency: + limit: 1 + +steps: +- name: assets + image: byrnedo/alpine-curl + commands: + - mkdir -p docs/themes/hugo-geekdoc/ + - curl -L https://github.com/xoxys/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1 + +- name: sync + image: xoxys/git-batch:latest + commands: + - git-batch + +- name: build + image: klakegg/hugo:0.59.1-ext-alpine + commands: + - hugo-official + +- name: freeze + image: appleboy/drone-ssh + settings: + host: + from_secret: ssh_host + key: + from_secret: ssh_key + script: + - cp -R /var/www/virtual/geeklab/html/galaxy.geekdocs.de/ /var/www/virtual/geeklab/html/galaxy_freeze/ + - ln -sfn /var/www/virtual/geeklab/html/galaxy_freeze /var/www/virtual/geeklab/galaxy.geekdocs.de + username: + from_secret: ssh_username + +- name: publish + image: appleboy/drone-scp + settings: + host: + from_secret: ssh_host + key: + from_secret: ssh_key + rm: true + source: public/* + strip_components: 2 + target: /var/www/virtual/geeklab/html/galaxy.geekdocs.de/ + username: + from_secret: ssh_username + +- name: cleanup + image: appleboy/drone-ssh + settings: + host: + from_secret: ssh_host + key: + from_secret: ssh_key + script: + - ln -sfn /var/www/virtual/geeklab/html/galaxy.geekdocs.de /var/www/virtual/geeklab/galaxy.geekdocs.de + - rm -rf /var/www/virtual/geeklab/html/galaxy_freeze/ + username: + from_secret: ssh_username + +trigger: + ref: + - refs/heads/source + - refs/pull/** +--- +kind: signature +hmac: 39b8bc95d0a47dc66226239995c1c8a308e1cc9e5de9336c304fb7fa39103544 + +... diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e911e4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +public/ +resources/_gen/ +content/**/ +themes/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4675d23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 Robert Kaussow + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f867893 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ansible-galaxy + diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..fe2d798 --- /dev/null +++ b/config.yaml @@ -0,0 +1,24 @@ +--- +baseURL: https://galaxy.geekdocs.de/ +title: Galaxy +theme: hugo-geekdoc +pygmentsUseClasses: true +pygmentsCodeFences: true + +# Geekdoc configuration +disablePathToLower: true + +# Needed for mermaid/katex shortcodes +markup: + goldmark: + renderer: + unsafe: true + tableOfContents: + startLevel: 1 + +params: + geekdocToC: 3 + + geekdocDateFormat: "Jan 2, 2006" + geekdocSearch: true + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..f792fe1 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,5 @@ +--- +title: Documentation +--- + +This project provides documentation for most of my own Ansible roles. The goal is to make it more useful to others without the need to look into the code of each Ansible role.