Skip to content

[docsy] Add Contact section #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion content/en/community/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,24 @@
title: Community
menu: { main: { weight: 40 } }
cascade: { type: docs }
contributingUrl: https://github.com/theupdateframework/community
contributingUrl: https://github.com/theupdateframework/community/blob/main/CONTRIBUTING.md
aliases: [/contact]
---

{{% community-lists %}}

## Contact

- **[TUF Google group]** is the best way to reach us.
- **General questions, feedback, and suggestions** are welcome on this low
volume mailing list or the
[#tuf](https://cloud-native.slack.com/archives/C8NMD3QJ3) channel on
[CNCF Slack](https://slack.cncf.io/).
- **Specification**: we strive to make the specification easy to implement, so
if you come across any inconsistencies or experience any difficulty, do let us
know by sending an email, or by [creating an issue in the specification
repo][issue].

[issue]: https://github.com/theupdateframework/specification/issues

[TUF Google group]: {{% param "links.google_group" %}}
7 changes: 6 additions & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@ params:
href="https://github.com/ORG/PROJECT/issues/new">tell us how we can
improve</a>.
links:
google_group: &google_group https://groups.google.com/g/theupdateframework
user:
- name: Contact
url: /community/#contact
icon: fa-solid fa-address-book
desc: Questions, feedback, and suggestions are welcome!
- name: TUF Google group
url: https://groups.google.com/g/theupdateframework
url: *google_group
icon: fa-solid fa-envelope
desc: Sign up for TUF announcements.
- name: Slack channel
Expand Down
15 changes: 8 additions & 7 deletions layouts/shortcodes/community-lists.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{{ $links := .Site.Params.links -}}
{{ $contribUrl := .Page.Params.contributingUrl | default "docs/contribution-guidelines" -}}

<p>{{ T "community_introduce" . }}</p>

## {{ T "community_learn" }}

{{ T "community_using" . }}

{{ with index $links "user"}}
{{ with index $links "user"}}
{{ template "community-links-list" . }}
{{ end }}

## {{ T "community_develop" }}

{{ T "community_contribute" . }}

{{ with index $links "developer"}}
{{ with index $links "developer"}}
{{ template "community-links-list" . }}
{{ end }}

{{ T "community_how_to" . }}{{ T "community_guideline" }}.
{{ T "community_how_to" . }}
[{{ T "community_guideline" }}]({{ $contribUrl | relURL }}).

{{ define "community-links-list" -}}
{{ define "community-links-list" -}}
{{ range . }}

- [<i class="{{ .icon }}"></i> {{ .name }}]({{ .url }}): {{ .desc -}}
{{ end -}}
- [<i class="{{ .icon }}"></i> {{ .name }}]({{ .url }}): {{ .desc -}}
{{ end -}}
{{ end }}