Skip to content

Commit 7cf041e

Browse files
committed
Fix all links in docs and analyses, and rename resources
- Fixes all paths that do not contain hashes (the link checker can't handle hashes) - Renames `resources` to `templates` and adjusts template files names, dropping the `-template` suffix - Ignores all `.tremor.rs` links since they are no longer valid -- they should have implemented redirects Signed-off-by: Patrice Chalin <[email protected]>
1 parent 55eb6c9 commit 7cf041e

27 files changed

+180
-176
lines changed

.markdown-link-check.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
},
66
{
77
"pattern": "^#"
8+
},
9+
{
10+
"pattern": "^https://(www|docs).tremor.rs"
11+
},
12+
{
13+
"pattern": "\\?no-link-check$"
814
}
915
],
1016
"timeout": "3s",

analyses/0001-contour.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ The assessment is divided into three sections:
2626
- **Website:** branding, website structure, and maintainability
2727

2828
Within each section you receive a rating on different criteria. The full
29-
definition of each criteria is defined in [the criteria](criteria.md). We
30-
recommend reading each criterion’s definition.
29+
definition of each criteria is defined in
30+
[the criteria](../docs/analysis/criteria.md). We recommend reading each
31+
criterion’s definition.
3132

3233
## Project documentation
3334

@@ -44,8 +45,8 @@ recommend reading each criterion’s definition.
4445

4546
- Documentation is feature complete!
4647
- A clear "About" or "What is Contour?" page is missing. It partially exists
47-
on (Architecture)[https://projectcontour.io/docs/v1.13.1/architecture/] and
48-
(Philosophy)[https://projectcontour.io/resources/philosophy/], but it's hard
48+
on [Architecture](https://projectcontour.io/docs/v1.13.1/architecture) and
49+
[Philosophy](https://projectcontour.io/resources/philosophy), but it's hard
4950
to navigate for a new user.
5051
- Task and concept documentation for individual features (configurations and
5152
deployment options) are both feature complete.

analyses/0002-notary-project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Notary Project Docs Assessment
22

3-
Date: 2021-07-31
4-
Project: [Notary Project](https://github.com/notaryproject/)
3+
Date: 2021-07-31 Project: [Notary Project](https://github.com/notaryproject/)
54

65
## Introduction
76

@@ -29,7 +28,8 @@ This assessment is divided into two sections:
2928
- **Contributor documentation:** for new and existing contributors to the
3029
project
3130

32-
Each section rates content based on different [criteria](criteria.md).
31+
Each section rates content based on different
32+
[criteria](../docs/analysis/criteria.md).
3333

3434
Normally, a **website** section would also be a part of a document assessment,
3535
but as there isn't a website for the Notary Project yet, the website assessment
@@ -218,7 +218,7 @@ developed?
218218
https://github.com/notaryproject/notaryproject/issues/77)
219219
- [ ] Develop a maintenance plan for the documentation and its repository
220220
- [ ] Follow the
221-
[CNCF website guidelines checklist](https://github.com/cncf/techdocs/blob/main/howto/website-guidelines-checklist.md)
221+
[CNCF website guidelines checklist](../docs/website-guidelines-checklist.md)
222222
for other required elements
223223

224224
_Note_:

analyses/0003-krator.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ The assessment is divided into three sections:
2727
- **Website:** branding, website structure, and maintainability
2828

2929
Within each section you receive a rating on different criteria. The full
30-
definition of each criteria is defined in [the criteria](criteria.md). We
31-
recommend reading each criterion’s definition.
30+
definition of each criteria is defined in
31+
[Criteria](../docs/analysis/criteria.md). We recommend reading each criterion’s
32+
definition.
3233

3334
## Project documentation
3435

analyses/0004-tremor.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ The assessment is divided into three sections:
2424
project
2525
- **Website:** branding, website structure, and maintainability
2626

27-
Each section rates content based on different [criteria](criteria.md).
27+
Each section rates content based on different
28+
[criteria](../docs/analysis/criteria.md).
2829

2930
## Project documentation
3031

analyses/0005-fluxcd.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ The assessment is divided into three sections:
2525
project
2626
- **Website:** branding, website structure, and maintainability
2727

28-
Each section rates content based on different [criteria](criteria.md).
28+
Each section rates content based on different
29+
[criteria](../docs/analysis/criteria.md).
2930

3031
## Project documentation
3132

@@ -154,7 +155,7 @@ Scale:
154155

155156
- [This file](https://github.com/fluxcd/website/blob/main/hack/import-flux2-assets.sh)
156157
is _very_ fragile, as it points to specific files at their
157-
`https://github.com/fluxcd/website/blob/main/hack/import-flux2-assets.sh` and
158+
<https://github.com/fluxcd/website/blob/main/hack/import-flux2-assets.sh> and
158159
seems to have the potential to make the site build succeed but with
159160
unpredictable results.
160161
- Consider implementing [Hugo Modules](https://gohugo.io/hugo-modules/) to
@@ -166,7 +167,7 @@ Scale:
166167
**Content creation processes**:
167168

168169
- Put
169-
[this information](https://github.com/fluxcd/website/blob/main/content/en/docs/contributing/docs/some-background.md#running-the-site-locally)
170+
[this information](https://github.com/fluxcd/website/blob/main/content/en/docs/contributing/docs/some-background.md#running-the-site-locally?no-link-check)
170171
directly in the README.md of the website repository, because people are lazy.
171172
Kudos on trying to keep everything in one place, however!
172173

@@ -200,7 +201,7 @@ Scale:
200201
[Community repository](https://github.com/fluxcd/community).
201202
- Project governance is [clearly documented](https://fluxcd.io/governance/). The
202203
community repository also includes information on
203-
[Oversight](https://github.com/fluxcd/community/blob/main/OVERSIGHT.md),
204+
[governance](https://github.com/fluxcd/community/blob/main/GOVERNANCE.md),
204205
[Community roles](https://github.com/fluxcd/community/blob/main/community-roles.md),
205206
and more.
206207

@@ -242,7 +243,7 @@ Scale:
242243
fragility, particularly once the original code owners leave the organization.
243244

244245
- Flux meets and exceeds the
245-
[website requirements](https://github.com/cncf/techdocs/blob/main/assessments/criteria.md#minimal-website-requirements)
246+
[website requirements](../docs/analysis/criteria.md#minimal-website-requirements)
246247
for its maturity level, save for the single sourcing requirement as noted
247248
above.
248249

analyses/0006-gateway-api.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ The assessment is divided into three sections:
2626
project
2727
- **Website:** branding, website structure, and maintainability
2828

29-
Each section rates content based on different [criteria](criteria.md).
29+
Each section rates content based on different
30+
[criteria](../docs/analysis/criteria.md).
3031

3132
## Project documentation
3233

@@ -56,7 +57,7 @@ are mentioned in brief, great work!
5657
**New user content**:
5758

5859
We have a great, clearly labelled
59-
[Getting Started](https://gateway-api.sigs.k8s.io/v1alpha2/guides/getting-started/)
60+
[Getting Started](https://gateway-api.sigs.k8s.io/v1alpha2/guides/getting-started/?no-link-check)
6061
page, which is awesome! However, the getting started guide is fairly high level
6162
and doesn't answer some of the following questions:
6263

@@ -97,7 +98,7 @@ as well as where to find them.
9798
- **Prepared a miro board:
9899
[https://miro.com/app/board/uXjVO_1cS9k=/](https://miro.com/app/board/uXjVO_1cS9k=/)**
99100

100-
![information_architecture](/images/gapi_info_arch.png)
101+
![information_architecture](../images/gapi_info_arch.png)
101102

102103
- There are improvements we could make:
103104
- With the collection of guided, step-by-step instructions (tasks, hands-on

analyses/0007-porter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ tags: porter
66
# Notes
77

88
meeting notes:
9-
https://docs.google.com/document/d/12OGtSaUtlc7OA_iPnUvmVaiKg8yM7_QBzFnMgoHvnLw/edit?usp=sharing
10-
website: https://getporter.org/
11-
repos:
9+
https://docs.google.com/document/d/12OGtSaUtlc7OA_iPnUvmVaiKg8yM7_QBzFnMgoHvnLw/edit?usp=sharing
10+
website: https://getporter.org/ repos:
1211

1312
- https://github.com/getporter/porter (main site), site content is in docs/
1413
folder
@@ -45,7 +44,8 @@ The assessment is divided into three sections:
4544
project
4645
- **Website:** branding, website structure, and maintainability
4746

48-
Each section rates content based on different [criteria](criteria.md).
47+
Each section rates content based on different
48+
[criteria](../docs/analysis/criteria.md).
4949

5050
## Project documentation
5151

analyses/0008-backstage/backstage-analysis.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Backstage GitHub repo.
4747
- Website: https://backstage.io
4848
- Documentation: https://backstage.io/docs
4949
- Contributor documentation:
50-
- https://github.com/backstage/backstage/README.md
51-
- https://github.com/backstage/backstage/CONTRIBUTING.md
50+
- https://github.com/backstage/backstage/blob/master/README.md
51+
- https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md
5252
- Website configuration (Docusaurus):
53-
https://github.com/backstage/backstage/microsite
54-
- Website content: https://github.com/backstage/backstage/docs
53+
https://github.com/backstage/backstage/blob/master/microsite
54+
- Website content: https://github.com/backstage/backstage/blob/master/docs
5555

5656
**Out of scope:**
5757

@@ -581,19 +581,20 @@ Improve compliance in these areas:
581581

582582
[backstage-backstage]: https://github.com/backstage/backstage
583583
[backstage-community]: https://backstage.io/community
584-
[backstage-contrib]: https://github.com/backstage/backstage/CONTRIBUTING.md
584+
[backstage-contrib]:
585+
https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md
585586
[backstage-demo]:
586587
https://demo.backstage.io/catalog?filters%5Bkind%5D=component&filters%5Buser%5D=owned
587-
[backstage-discussion]: https://github.com/backstage/backstage/discussions
588+
[backstage-discussion]: https://discord.gg/backstage-687207715902193673
588589
[backstage-doc-contrib]:
589-
https://backstage.io/docs/getting-started/getting-involved#write-documentation-or-improve-the-website
590+
https://backstage.io/docs/contribute/getting-involved#write-documentation-or-improve-the-website
590591
[backstage-doc-deployment]: https://backstage.io/docs/deployment/
591592
[backstage-doc-getting-started]: https://backstage.io/docs/getting-started/
592593
[backstage-doc-rn]: https://backstage.io/docs/releases/v1.17.0
593594
[backstage-github-community]: https://github.com/backstage/community
594595
[backstage-github-project]: https://github.com/backstage
595596
[backstage-governance]:
596-
https://github.com/backstage/backstage/blob/master/GOVERNANCE.md
597+
https://github.com/backstage/community/blob/main/GOVERNANCE.md
597598
[backstage-insights-summary]: ./backstage-insights-summary.md
598599
[backstage-issues]: https://github.com/backstage/backstage/issues
599600
[backstage-io-overview-benefits]:
@@ -603,11 +604,9 @@ Improve compliance in these areas:
603604
[backstage-microsite]:
604605
https://github.com/backstage/backstage/tree/master/microsite
605606
[clotributor]: https://clotributor.dev/
606-
[cncf-doc-criteria]: ../criteria.md
607-
[cncf-doc-criteria]:
608-
https://github.com/cncf/techdocs/blob/main/assessments/criteria.md
609-
[cncf-docs-howto]:
610-
https://github.com/cncf/techdocs/blob/main/assessments/howto.md
607+
[cncf-doc-criteria]: ../../docs/analysis/criteria.md
608+
[cncf-doc-criteria]: ../../docs/analysis/criteria.md
609+
[cncf-docs-howto]: ../../docs/analysis/howto.md
611610
[cncf-maturity-stages]:
612611
https://github.com/cncf/toc/tree/main/process#ii-stages---definitions--expectations
613612
[cncf-servicedesk]: https://servicedesk.cncf.io
@@ -628,7 +627,7 @@ Improve compliance in these areas:
628627

629628
[contrib-doc-rec]: #recommendations-contributor-documentation
630629
[contributor-doc]: #contributor-documentation
631-
[doc-survey]: ./Backstage%20doc%20survey.csv
630+
[doc-survey]: backstage-doc-survey.csv
632631
[implementation]: #implementation
633632
[info-arch-recommend]: #recommendations
634633
[proj-doc-comments]: #comments-project-documentation

analyses/0009-in-toto/in-toto-analysis.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,20 @@ Readers interested only in actionable improvements can skip to the
5858
[implementation recommendations](./in-toto-implementation.md). For more context,
5959
read the recommendations for each of the three areas of analysis:
6060

61-
- [Project documentation recommendations](./assessments#recommendations)
61+
- [Project documentation recommendations](#recommendations-1)
6262

63-
- [Contributor documentation recommendations](./assessments#recommendations-1)
63+
- [Contributor documentation recommendations](#recommendations-2)
6464

65-
- [Website recommendations](./assessments#recommendations-2)
65+
- [Website recommendations](#recommendations-3)
6666

6767
Readers interested in the current state of the documentation and the reasoning
6868
behind the recommendations should start with the analyses:
6969

70-
- [Project documentation](./assessments#project-documentation-analysis)
70+
- [Project documentation](#project-documentation-analysis)
7171

72-
- [Contributor documentation](./assessments#contributor-documentation-analysis)
72+
- [Contributor documentation](#contributor-documentation-analysis)
7373

74-
- [Website](./assessments#website-analysis)
74+
- [Website](#website-analysis)
7575

7676
# Analysis and Recommendations
7777

@@ -138,7 +138,7 @@ sync.
138138
The Contributing and Governance files do not mention changes or additions to
139139
documentation as potential areas of contribution.
140140

141-
### Recommendations
141+
### Recommendations 1
142142

143143
**Information Architecture**
144144

@@ -235,7 +235,7 @@ contribution (such as docs).
235235
**Project governance documentation**: Clearly described and discoverable on
236236
GOVERNANCE page.
237237

238-
### Recommendations
238+
### Recommendations 2
239239

240240
**Communication methods documented**
241241

@@ -333,7 +333,7 @@ correctly.
333333
**Intra-site / local search**: There is no site map or search mechanism; the
334334
only navigation is through a minimal menu bar.
335335

336-
### Recommendations
336+
### Recommendations 3
337337

338338
**Meets min website req. (for Incubating)**, **Intra-site / local search**
339339

0 commit comments

Comments
 (0)