Skip to content

Commit

Permalink
docs/reference: deduplicate code of conduct
Browse files Browse the repository at this point in the history
This removes the copy of the CUE code of conduct at /community/conduct/,
and adds this path as an alias to the other copy at
/docs/reference/code-of-conduct/.

Links across the site are updated to reflect the canonical path.

Preview-Path: /community/conduct/
Preview-Path: /community/
Preview-Path: /community/contribution-guidelines/
Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com>
Change-Id: Ic84cf9df927a52137c75aca9527ae96051cffdc1
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1187794
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
  • Loading branch information
jpluscplusm committed Apr 2, 2024
1 parent d23844f commit 5483524
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 402 deletions.
2 changes: 1 addition & 1 deletion content/community/_en.html
Expand Up @@ -102,7 +102,7 @@ <h1 class="section__title">Join the CUE community</h1>
</a>
</li>
<li class="nav__item">
<a class="nav__link" href="/community/conduct">
<a class="nav__link" href="/docs/reference/code-of-conduct/">
<span class="nav__text">CUE Code of Conduct</span>
</a>
</li>
Expand Down
196 changes: 0 additions & 196 deletions content/community/conduct/en.md

This file was deleted.

3 changes: 0 additions & 3 deletions content/community/conduct/page.cue

This file was deleted.

4 changes: 2 additions & 2 deletions content/community/contribution-guidelines/en.md
Expand Up @@ -1008,5 +1008,5 @@ flag will now be implied every time a commit is created.
## Code of Conduct

Guidelines for participating in CUE community spaces and a reporting process for
handling issues can be found in the [Code of
Conduct](https://cuelang.org/docs/contribution_guidelines/conduct).
handling issues can be found in the
[Code of Conduct]({{< relref "docs/reference/code-of-conduct" >}}).
2 changes: 2 additions & 0 deletions content/docs/reference/code-of-conduct/en.md
Expand Up @@ -2,6 +2,8 @@
title: Code of Conduct
weight: 100
toc_hide: false
aliases:
- /community/conduct
---

## About
Expand Down
2 changes: 1 addition & 1 deletion hugo/config/_default/menus/menus.en.toml
Expand Up @@ -89,7 +89,7 @@
[[footer]]
parent = "column2"
name = "Code of Conduct"
url = "/community/conduct"
url = "/docs/reference/code-of-conduct/"
weight = 422
[[footer]]
identifier = "column3"
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/en/community/_index.html
Expand Up @@ -102,7 +102,7 @@ <h1 class="section__title">Join the CUE community</h1>
</a>
</li>
<li class="nav__item">
<a class="nav__link" href="/community/conduct">
<a class="nav__link" href="/docs/reference/code-of-conduct/">
<span class="nav__text">CUE Code of Conduct</span>
</a>
</li>
Expand Down

0 comments on commit 5483524

Please sign in to comment.