Skip to content

Commit 5f0b2c8

Browse files
committed
Use canonical URL to contributing page and simplify aliases
1 parent c03fc16 commit 5f0b2c8

File tree

10 files changed

+17
-24
lines changed

10 files changed

+17
-24
lines changed

docsy.dev/config/_default/hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ params:
116116
desc: Practical questions and curated answers
117117
developer:
118118
- name: Contributing
119-
url: /docs/contribution-guidelines/
119+
url: /docs/contributing/
120120
icon: fa-solid fa-code-fork
121121
desc: How to contribute
122122
- name: Project docs and site info

docsy.dev/config/_default/params.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# version:
77
# status: archived # Then fetch include
88

9-
version: &docsyVersion 0.14.3-dev
10-
tdBuildId: 017-over-main-b4d03ec0
9+
version: &docsyVersion 0.14.4-dev
10+
tdBuildId: 019-over-main-c03fc161
1111
versionLatest: &versionLatest v0.14.3
1212
version_menu: *docsyVersion
1313
version_menu_pagelinks: true

docsy.dev/content/en/about/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ the theme along with the Docsy community.
185185
Visit our [Issues](https://github.com/google/docsy/issues) to see what we're
186186
currently working on. If there's something you'd like to see in Docsy, please
187187
create an issue yourself - or assign yourself an issue if you'd like to fix or
188-
add something! See our [contribution guidelines](/docs/contribution-guidelines/)
189-
for more information.
188+
add something! See our [contribution guidelines](/docs/contributing/) for more
189+
information.
190190

191191
You can find out how to update your site to the latest version of Docsy in
192192
[Keeping the theme up to date](/docs/updating/).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: Community
33
menu: { main: { weight: 40 } }
4+
params:
5+
contributingUrl: /docs/contributing
46
# Content below, if any, will be added to the community page.
57
---

docsy.dev/content/en/docs/_index.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ cSpell:ignore: vsoch
77

88
<!-- markdownlint-disable-next-line no-space-in-links -->
99

10-
[<span class="badge bg-primary text-bg-primary fs-6">v{{% param version %}}
11-
</span>][version]
10+
<span class="badge bg-primary text-bg-primary fs-6">{{% param version %}}
11+
</span>
1212

13-
Welcome to the Docsy theme user guide for version [{{% param version
14-
%}}][version]! This guide shows you how to get started creating technical
15-
documentation sites using Docsy, including site customization and how to use
16-
Docsy's blocks and templates.
17-
18-
[version]: <https://github.com/google/docsy/releases/v{{% param version %}}>
13+
Welcome to the Docsy theme user guide for version `{{% param version %}}`. This
14+
guide shows you how to get started creating technical documentation sites using
15+
Docsy, including site customization and how to use Docsy's blocks and templates.
1916

2017
## What is Docsy?
2118

docsy.dev/content/en/docs/content/repository-links.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ This page shows you how to configure these links.
3535
Currently, Docsy supports only GitHub repository links "out of the box". Since
3636
GitLab can handle the same link scheme, it should work as well. If you are using
3737
another repository such as Bitbucket and would like generated repository links,
38-
feel free to
39-
[add a feature request or update our theme](/docs/contribution-guidelines/).
38+
feel free to [add a feature request or update our theme](/docs/contributing/).
4039

4140
## Link configuration
4241

docsy.dev/content/en/docs/contributing.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: Contribution guidelines
33
description: How to contribute to Docsy
4-
aliases:
5-
- contributing
6-
- contribution-guidelines
7-
- /docs/contribution-guidelines # TODO: drop once redirects are in place. This is only for doc-rooted example site
4+
aliases: [contribution-guidelines]
85
weight: 9
96
---
107

docsy.dev/content/en/docs/get-started/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ description: >-
44
Learn how to get started with Docsy, including the available options for
55
installing and using the Docsy theme.
66
date: 2018-07-30
7-
aliases:
8-
- getting-started
9-
- /docs/get-started # TODO: drop once redirects are in place. This is only for doc-rooted example site
7+
aliases: [getting-started]
108
weight: 2
119
---
1210

docsy.dev/content/en/docs/updating/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 8
55
---
66

77
We hope to continue to make improvements to the theme
8-
[along with the Docsy community](/docs/contribution-guidelines/). If you have
8+
[along with the Docsy community](/docs/contributing/). If you have
99
cloned the example site (or are otherwise using the theme as a Hugo Module or
1010
Git submodule), you can easily update the Docsy theme in your site yourself. If
1111
you have cloned the theme itself into your own project you can also update,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsy",
3-
"version": "0.14.3-dev+017-over-main-b4d03ec0",
3+
"version": "0.14.4-dev+019-over-main-c03fc161",
44
"repository": "github:google/docsy",
55
"homepage": "https://www.docsy.dev",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)