Skip to content

Commit 1e4220b

Browse files
authored
Merge pull request #181 from FritzAndFriends/dev
Adding FormView and Docs
2 parents 6d68c8d + 7eb995f commit 1e4220b

File tree

293 files changed

+4995
-3003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+4995
-3003
lines changed

.gitattributes

Lines changed: 204 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,204 @@
1-
* text=auto
2-
1+
## GITATTRIBUTES FOR WEB PROJECTS
2+
#
3+
# These settings are for any web project.
4+
#
5+
# Details per file setting:
6+
# text These files should be normalized (i.e. convert CRLF to LF).
7+
# binary These files are binary and should be left untouched.
8+
#
9+
# Note that binary is a macro for -text -diff.
10+
######################################################################
11+
12+
# Auto detect
13+
## Handle line endings automatically for files detected as
14+
## text and leave all files detected as binary untouched.
15+
## This will handle all files NOT defined below.
16+
* text=auto
17+
18+
# .NET Code and artifacts
19+
*.cs text diff=csharp
20+
*.razor text diff=html
21+
*.cshtml text diff=html
22+
23+
# Source code
24+
*.bash text eol=lf
25+
*.bat text eol=crlf
26+
*.cmd text eol=crlf
27+
*.coffee text
28+
*.css text
29+
*.htm text diff=html
30+
*.html text diff=html
31+
*.inc text
32+
*.ini text
33+
*.js text
34+
*.json text
35+
*.jsx text
36+
*.less text
37+
*.ls text
38+
*.map text -diff
39+
*.od text
40+
*.onlydata text
41+
*.php text diff=php
42+
*.pl text
43+
*.ps1 text eol=crlf
44+
*.py text diff=python
45+
*.rb text diff=ruby
46+
*.sass text
47+
*.scm text
48+
*.scss text diff=css
49+
*.sh text eol=lf
50+
*.sql text
51+
*.styl text
52+
*.tag text
53+
*.ts text
54+
*.tsx text
55+
*.xml text
56+
*.xhtml text diff=html
57+
58+
# Docker
59+
Dockerfile text
60+
61+
# Documentation
62+
*.ipynb text
63+
*.markdown text
64+
*.md text
65+
*.mdwn text
66+
*.mdown text
67+
*.mkd text
68+
*.mkdn text
69+
*.mdtxt text
70+
*.mdtext text
71+
*.txt text
72+
AUTHORS text
73+
CHANGELOG text
74+
CHANGES text
75+
CONTRIBUTING text
76+
COPYING text
77+
copyright text
78+
*COPYRIGHT* text
79+
INSTALL text
80+
license text
81+
LICENSE text
82+
NEWS text
83+
readme text
84+
*README* text
85+
TODO text
86+
87+
# Templates
88+
*.dot text
89+
*.ejs text
90+
*.haml text
91+
*.handlebars text
92+
*.hbs text
93+
*.hbt text
94+
*.jade text
95+
*.latte text
96+
*.mustache text
97+
*.njk text
98+
*.phtml text
99+
*.tmpl text
100+
*.tpl text
101+
*.twig text
102+
*.vue text
103+
104+
# Configs
105+
*.cnf text
106+
*.conf text
107+
*.config text
108+
.editorconfig text
109+
.env text
110+
.gitattributes text
111+
.gitconfig text
112+
.htaccess text
113+
*.lock text -diff
114+
package-lock.json text -diff
115+
*.toml text
116+
*.yaml text
117+
*.yml text
118+
browserslist text
119+
Makefile text
120+
makefile text
121+
122+
# Heroku
123+
Procfile text
124+
125+
# Graphics
126+
*.ai binary
127+
*.bmp binary
128+
*.eps binary
129+
*.gif binary
130+
*.gifv binary
131+
*.ico binary
132+
*.jng binary
133+
*.jp2 binary
134+
*.jpg binary
135+
*.jpeg binary
136+
*.jpx binary
137+
*.jxr binary
138+
*.pdf binary
139+
*.png binary
140+
*.psb binary
141+
*.psd binary
142+
# SVG treated as an asset (binary) by default.
143+
*.svg text
144+
# If you want to treat it as binary,
145+
# use the following line instead.
146+
# *.svg binary
147+
*.svgz binary
148+
*.tif binary
149+
*.tiff binary
150+
*.wbmp binary
151+
*.webp binary
152+
153+
# Audio
154+
*.kar binary
155+
*.m4a binary
156+
*.mid binary
157+
*.midi binary
158+
*.mp3 binary
159+
*.ogg binary
160+
*.ra binary
161+
162+
# Video
163+
*.3gpp binary
164+
*.3gp binary
165+
*.as binary
166+
*.asf binary
167+
*.asx binary
168+
*.fla binary
169+
*.flv binary
170+
*.m4v binary
171+
*.mng binary
172+
*.mov binary
173+
*.mp4 binary
174+
*.mpeg binary
175+
*.mpg binary
176+
*.ogv binary
177+
*.swc binary
178+
*.swf binary
179+
*.webm binary
180+
181+
# Archives
182+
*.7z binary
183+
*.gz binary
184+
*.jar binary
185+
*.rar binary
186+
*.tar binary
187+
*.zip binary
188+
189+
# Fonts
190+
*.ttf binary
191+
*.eot binary
192+
*.otf binary
193+
*.woff binary
194+
*.woff2 binary
195+
196+
# Executables
197+
*.exe binary
198+
*.pyc binary
199+
200+
# RC files (like .babelrc or .eslintrc)
201+
*.*rc text
202+
203+
# Ignore files (like .npmignore or .gitignore)
204+
*.*ignore text

.github/workflows/docs.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'v*'
8+
tags:
9+
- 'v*'
10+
paths:
11+
- '.github/workflows/docs.yml'
12+
- 'docs/**'
13+
- 'mkdocs.yml'
14+
pull_request:
15+
branches:
16+
- 'main'
17+
- 'v*'
18+
paths:
19+
- '.github/workflows/docs.yml'
20+
- 'docs/**'
21+
- 'mkdocs.yml'
22+
23+
jobs:
24+
publish:
25+
runs-on: ubuntu-latest
26+
steps:
27+
-
28+
name: Checkout
29+
uses: actions/checkout@v2
30+
with:
31+
fetch-depth: 0
32+
-
33+
name: Prepare
34+
id: prepare
35+
run: |
36+
VERSION=edge
37+
RELEASE=false
38+
if [[ $GITHUB_REF == refs/tags/* ]]; then
39+
VERSION=${GITHUB_REF#refs/tags/v}
40+
fi
41+
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
42+
RELEASE=true
43+
fi
44+
echo ::set-output name=release::${RELEASE}
45+
-
46+
name: Build mkdocs Docker image
47+
run: |
48+
docker build -t mkdocs -f ./docs/Dockerfile ./
49+
-
50+
name: Build docs
51+
run: |
52+
docker run --rm -v "$(pwd):/docs" mkdocs build --strict
53+
sudo chown -R $(id -u):$(id -g) ./site
54+
-
55+
name: Check GitHub Pages status
56+
uses: crazy-max/ghaction-github-status@v1
57+
with:
58+
pages_threshold: major_outage
59+
-
60+
name: Deploy
61+
if: success() && github.event_name != 'pull_request' && (endsWith(github.ref, 'main') || steps.prepare.outputs.release == 'true')
62+
uses: crazy-max/[email protected]
63+
with:
64+
target_branch: gh-pages
65+
build_dir: site
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)