Merge pull request #9 from owncloud/docs-edit

Add edit docs link and change base image to owncloud/alpine:latest
This commit is contained in:
Alex Unger
2020-03-03 09:38:00 +01:00
committed by GitHub
6 changed files with 23 additions and 9 deletions
+2 -2
View File
@@ -485,7 +485,7 @@ def changelog(ctx):
},
{
'name': 'diff',
'image': 'webhippie/golang:1.13',
'image': 'owncloud/alpine:latest',
'pull': 'always',
'commands': [
'git diff',
@@ -493,7 +493,7 @@ def changelog(ctx):
},
{
'name': 'output',
'image': 'webhippie/golang:1.13',
'image': 'owncloud/alpine:latest',
'pull': 'always',
'commands': [
'cat CHANGELOG.md',
+6 -3
View File
@@ -1,10 +1,10 @@
{{ $allVersions := . }}
{{- range $index, $changes := . }}{{ with $changes -}}
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ .Version }}] ({{ .Date }})
The following sections list the changes for {{ .Version }}.
The following sections list the changes in ocis-accounts {{ .Version }}.
{{ if gt (len $allVersions) 1 -}}
{{/* creating version compare links */ -}}
{{ $next := add1 $index -}}
{{ if ne (len $allVersions) $next -}}
@@ -23,7 +23,10 @@ The following sections list the changes for {{ .Version }}.
[{{ .Version }}]: https://github.com/owncloud/ocis-accounts/compare/500e303cb544ed93d84153f01219d77eeee44929...v{{ .Version }}
{{ end -}}
{{- end -}}
{{ else -}}
# Changes in {{ .Version }}
{{ end -}}
## Summary
{{ range $entry := .Entries }}{{ with $entry }}
-1
View File
@@ -1 +0,0 @@
public/
+5 -1
View File
@@ -1,6 +1,10 @@
---
title: Accounts
anchor: ocis-accounts
date: 2018-05-02T00:00:00+00:00
weight: 10
geekdocRepo: https://github.com/owncloud/ocis-accounts
geekdocEditPath: edit/master/docs
geekdocFilePath: _index.md
---
This service provides an inter-operable accounts service that operates on the filesystem by default.
+6 -1
View File
@@ -1,9 +1,14 @@
---
title: "Building"
date: 2018-05-02T00:00:00+00:00
weight: 20
weight: 30
geekdocRepo: https://github.com/owncloud/ocis-accounts
geekdocEditPath: edit/master/docs
geekdocFilePath: building.md
---
{{< toc >}}
As this project is built with Go, so you need to install that first. The installation of Go is out of the scope of this document, please follow the official documentation for [Go](https://golang.org/doc/install), to build this project you have to install Go >= v1.13. After the installation of the required tools you need to get the sources:
{{< highlight txt >}}
+4 -1
View File
@@ -1,7 +1,10 @@
---
title: "Getting Started"
date: 2018-05-02T00:00:00+00:00
weight: 10
weight: 20
geekdocRepo: https://github.com/owncloud/ocis-accounts
geekdocEditPath: edit/master/docs
geekdocFilePath: getting-started.md
---
{{< toc >}}