Skip to content

Commit fb5c6b6

Browse files
techknowlogicklafriks
authored andcommittedNov 26, 2017
Import docs into main repository (go-gitea#2874)
* import docs into main repository Signed-off-by: Matti Ranta <matti@mdranta.net>
1 parent f148a4a commit fb5c6b6

Some content is hidden

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

68 files changed

+3720
-0
lines changed
 

‎.drone.yml

+31
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,37 @@ pipeline:
180180
when:
181181
event: [ push, tag ]
182182

183+
build_docs:
184+
image: webhippie/hugo:latest
185+
pull: true
186+
commands:
187+
- cd docs
188+
- make trans-copy
189+
- make clean
190+
- make build
191+
192+
docker:
193+
image: plugins/docker:17.05
194+
pull: true
195+
secrets: [ docker_username, docker_password ]
196+
repo: gitea/docs
197+
dockerfile: docs/Dockerfile
198+
tags: [ '${DRONE_BRANCH##release/v}' ]
199+
when:
200+
event: [ push ]
201+
branch: [ release/* ]
202+
203+
docker:
204+
image: plugins/docker:17.05
205+
pull: true
206+
secrets: [ docker_username, docker_password ]
207+
repo: gitea/docs
208+
dockerfile: docs/Dockerfile
209+
tags: [ 'latest' ]
210+
when:
211+
event: [ push ]
212+
branch: [ master ]
213+
183214
docker:
184215
image: plugins/docker:17.05
185216
pull: true

‎docs/.editorconfig

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.go]
11+
indent_style = tab
12+
indent_size = 8
13+
14+
[*.{tmpl,html}]
15+
indent_style = tab
16+
indent_size = 4
17+
18+
[*.{less}]
19+
indent_style = space
20+
indent_size = 4
21+
22+
[*.{yml}]
23+
indent_style = space
24+
indent_size = 2
25+
26+
[*.js]
27+
indent_style = space
28+
indent_size = 4
29+
30+
[Makefile]
31+
indent_style = tab
32+
33+
[*.md]
34+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)
Please sign in to comment.