initial commit

This commit is contained in:
Robert Kaussow 2020-01-21 01:46:04 +01:00
commit d072c2eead
7 changed files with 129 additions and 0 deletions

1
.batchfile Normal file
View File

@ -0,0 +1 @@
https://gitea.rknet.org/ansible/xoxys.bitwarden_rs;docs;content/role/bitwarden_rs

73
.drone.yml Normal file
View File

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

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
public/
resources/_gen/
content/**/
themes/

20
LICENSE Normal file
View File

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

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# ansible-galaxy

24
config.yaml Normal file
View File

@ -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

5
content/_index.md Normal file
View File

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