Add edit docs link

This commit is contained in:
Michael Barz
2020-03-02 21:36:28 +01:00
parent d6e70ea441
commit 515ad1cfe0
6 changed files with 23 additions and 9 deletions
+2 -2
View File
@@ -485,7 +485,7 @@ def changelog(ctx):
}, },
{ {
'name': 'diff', 'name': 'diff',
'image': 'webhippie/golang:1.13', 'image': 'owncloud/alpine:latest',
'pull': 'always', 'pull': 'always',
'commands': [ 'commands': [
'git diff', 'git diff',
@@ -493,7 +493,7 @@ def changelog(ctx):
}, },
{ {
'name': 'output', 'name': 'output',
'image': 'webhippie/golang:1.13', 'image': 'owncloud/alpine:latest',
'pull': 'always', 'pull': 'always',
'commands': [ 'commands': [
'cat CHANGELOG.md', 'cat CHANGELOG.md',
+6 -3
View File
@@ -1,10 +1,10 @@
{{ $allVersions := . }} {{ $allVersions := . }}
{{- range $index, $changes := . }}{{ with $changes -}} {{- range $index, $changes := . }}{{ with $changes -}}
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ .Version }}] ({{ .Date }}) # 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 */ -}} {{/* creating version compare links */ -}}
{{ $next := add1 $index -}} {{ $next := add1 $index -}}
{{ if ne (len $allVersions) $next -}} {{ 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 }} [{{ .Version }}]: https://github.com/owncloud/ocis-accounts/compare/500e303cb544ed93d84153f01219d77eeee44929...v{{ .Version }}
{{ end -}} {{ end -}}
{{- end -}} {{ else -}}
# Changes in {{ .Version }}
{{ end -}}
## Summary ## Summary
{{ range $entry := .Entries }}{{ with $entry }} {{ range $entry := .Entries }}{{ with $entry }}
-1
View File
@@ -1 +0,0 @@
public/
+5 -1
View File
@@ -1,6 +1,10 @@
--- ---
title: Accounts 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. 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" title: "Building"
date: 2018-05-02T00:00:00+00:00 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: 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 >}} {{< highlight txt >}}
+4 -1
View File
@@ -1,7 +1,10 @@
--- ---
title: "Getting Started" title: "Getting Started"
date: 2018-05-02T00:00:00+00:00 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 >}} {{< toc >}}