From af13c00d2eba0e5321c4d5ced0f7bce13d4a1eb5 Mon Sep 17 00:00:00 2001 From: Ishank Arora Date: Wed, 19 Aug 2020 12:26:22 +0200 Subject: [PATCH] Add calens check to check-changelog make rule --- Makefile | 3 ++- .../docs/config/packages/smtpclient/_index.md | 20 +++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a23ea23c79..1c4a41517a 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,8 @@ lint-ci: gen-doc: go run tools/generate-documentation/main.go -check-changelog: +check-changelog: release-deps + `go env GOPATH`/bin/calens > /dev/null go run tools/check-changelog/main.go check-changelog-drone: diff --git a/docs/content/en/docs/config/packages/smtpclient/_index.md b/docs/content/en/docs/config/packages/smtpclient/_index.md index 31839cfdbc..6b1c40b59a 100644 --- a/docs/content/en/docs/config/packages/smtpclient/_index.md +++ b/docs/content/en/docs/config/packages/smtpclient/_index.md @@ -8,8 +8,16 @@ description: > # _struct: SMTPCredentials_ +{{% dir name="sender_login" type="string" default="" %}} +The login to be used by sender. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L36) +{{< highlight toml >}} +[smtpclient] +sender_login = "" +{{< /highlight >}} +{{% /dir %}} + {{% dir name="sender_mail" type="string" default="" %}} -The email to be used to send mails. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L36) +The email to be used to send mails. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L37) {{< highlight toml >}} [smtpclient] sender_mail = "" @@ -17,7 +25,7 @@ sender_mail = "" {{% /dir %}} {{% dir name="sender_password" type="string" default="" %}} -The sender's password. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L37) +The sender's password. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L38) {{< highlight toml >}} [smtpclient] sender_password = "" @@ -25,7 +33,7 @@ sender_password = "" {{% /dir %}} {{% dir name="smtp_server" type="string" default="" %}} -The hostname of the SMTP server. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L38) +The hostname of the SMTP server. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L39) {{< highlight toml >}} [smtpclient] smtp_server = "" @@ -33,7 +41,7 @@ smtp_server = "" {{% /dir %}} {{% dir name="smtp_port" type="int" default=587 %}} -The port on which the SMTP daemon is running. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L39) +The port on which the SMTP daemon is running. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L40) {{< highlight toml >}} [smtpclient] smtp_port = 587 @@ -41,7 +49,7 @@ smtp_port = 587 {{% /dir %}} {{% dir name="disable_auth" type="bool" default=false %}} -Whether to disable SMTP auth. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L40) +Whether to disable SMTP auth. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L41) {{< highlight toml >}} [smtpclient] disable_auth = false @@ -49,7 +57,7 @@ disable_auth = false {{% /dir %}} {{% dir name="local_name" type="string" default="" %}} -The host name to be used for unauthenticated SMTP. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L41) +The host name to be used for unauthenticated SMTP. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/smtpclient/smtpclient.go#L42) {{< highlight toml >}} [smtpclient] local_name = ""