Skip to content

Commit 7d89ebb

Browse files
committed
feat: add linkcheckers lychee/mdbook
fix: broken links chore: improve clarity
1 parent e05673b commit 7d89ebb

16 files changed

Lines changed: 117 additions & 21 deletions

File tree

.lycheeignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Pages excluded from link checking (see scripts/lychee-book.sh)
2+
# print.html aggregates the whole book and repeats links; excluding it is required.
3+
^https?://[^/]+/print\.html
4+
# External sites that block or throttle link checkers
5+
https://pixabay.com/users/bru-no-1161770/
6+
https://pixabay.com/service/license-summary/
7+
https://www.sap.com/
8+
# Built book may serve this chapter at README.html or index.html; ignore if 404
9+
^https?://[^/]+/measuring/gqm_example/README\.html

CONTRIBUTING.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This book uses the [Goal-Question-Metric] approach to documenting InnerSource me
2323
The full graph of relationships is visible in this [graph].
2424

2525
Add in your scenarios by copying this [goal template], [question template], and/or [metric template], filling them out, and submitting them in pull request.
26-
After successful merge, a [Trusted Committer](https://github.com/orgs/InnerSourceCommons/teams/ispo-working-group-trusted-committers) will manually[^1] add those to the [graph].
26+
After successful merge, a [Trusted Committer](https://github.com/orgs/InnerSourceCommons/teams/ispo-working-group-trusted-committers) will manually add those to the [graph].
2727
If interested, feel free to [edit the MermaidJS source] of the graph on your own!
2828

2929
By adding in your scenarios to the graph, you will be able to see how others approach and interact with them.
@@ -33,9 +33,6 @@ You may get new ideas of what metrics answer the questions you have or what addi
3333

3434
When using titles in Markdown, use # for main title, ## for the second header title, etc. It's just to follow the same style :).
3535

36-
[^1]: [#37](https://github.com/InnerSourceCommons/managing-inner-source-projects/issues/37) will automate the addition of new goals, questions, and metrics to the graph.
37-
At that time this manual step will no longer be needed.
38-
3936
[Goal-Question-Metric]: https://en.wikipedia.org/wiki/GQM
4037
[goals]: https://github.com/InnerSourceCommons/managing-inner-source-projects/tree/main/measuring/goals
4138
[questions]: https://github.com/InnerSourceCommons/managing-inner-source-projects/tree/main/measuring/questions

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Managing InnerSource Projects book
22

3-
![Managing InnerSource Projects](managing-innersource-projects-cover.jpg)
3+
![Managing InnerSource Projects](./managing-innersource-projects-cover.jpg)
44

55
## What is this book about?
66

@@ -40,9 +40,9 @@ Come join us and contribute!
4040
## How Do We Structure Goals, Questions, and Metrics?
4141

4242
Review the [Goal-Question-Metric Approach](./measuring/gqm.md) to further understand how we structure goals, questions, and metrics.
43-
Review [GQM use cases and user journeys](./measuring/gqm_example/README.md) to guide their development.
43+
Review [GQM use cases and user journeys](measuring/gqm_example/README.md) to guide their development.
4444

45-
We document goals, questions, and metrics in separate folders in the [measuring](./measuring) directory.
45+
We document goals, questions, and metrics in separate folders in the [measuring](./measuring/index.md) directory.
4646
You can browse all goals, questions, and metrics in [graph format](./measuring/use_gqm.md).
4747

4848
Add in your own scenarios to the graph!
@@ -60,13 +60,12 @@ Each chapter in the book is authored and reviewed by different people. That info
6060
be found at the beginning of each chapter. This initiative is fostered by the [ISPO Working Group].
6161
For further questions, please contact us in [Slack](https://innersourcecommons.org/slack)!
6262

63-
The book cover was created by [Sebastian Spier](https://spier.hu), using an image by user [Bru-nO](https://pixabay.com/photos/measure-unit-of-measure-meterstab-2737004/), available under the [Pixabay License](https://pixabay.com/service/license/).
63+
The book cover was created by [Sebastian Spier](https://spier.hu), using an image by user [Bru-nO](https://pixabay.com/users/bru-no-1161770/), available under the [Pixabay License](https://pixabay.com/service/license-summary/).
6464

6565
All of the content found in this repository is licensed [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
66-
Please see [LICENSE.txt] in this repository for the full text of the license.
66+
Please see [LICENSE.txt](https://github.com/InnerSourceCommons/managing-inner-source-projects/blob/main/LICENSE.txt) in this repository for the full text of the license.
6767

6868
[Bitergia]: https://bitergia.com/
6969
[ISPO Working Group]: https://innersourcecommons.org/community/#ispo
7070
[InnerSource Commons]: https://innersourcecommons.org/
7171
[InnerSource Patterns]: https://patterns.innersourcecommons.org/
72-
[LICENSE.txt]: ./LICENSE.txt

SUMMARY.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Summary
22

33
* [Summary](README.md)
4+
* [Contributing](CONTRIBUTING.md)
45
* [Introduction](introduction/introduction.md)
56
* [Scenarios](introduction/scenarios.md)
67
* [Framework](introduction/framework.md)
@@ -15,19 +16,23 @@
1516
* [Goals](measuring/goals/index.md)
1617
* [Find InnerSource Projects](measuring/goals/find-projects.md)
1718
* [Reduce Duplication](measuring/goals/reduce-duplication.md)
19+
* [GQM Goal Template](measuring/goals/gqm_goal_template.md)
1820
* [Questions](measuring/questions/index.md)
19-
* [What is the InnerSource Adoption Trend?](measuring/questions/adoption-trend.md)
21+
* [What is the InnerSource Adoption Trend?](measuring/questions/adoption-trend.md)
2022
* [Who contributes to the InnerSource project?](measuring/questions/who-contributes.md)
2123
* [Who Uses](measuring/questions/who-uses.md)
24+
* [GQM Question Template](measuring/questions/gqm_question_template.md)
2225
* [Metrics](measuring/metrics/index.md)
2326
* [Code Contributions](measuring/metrics/code-contributions.md)
2427
* [Contribution Distance](measuring/metrics/contribution-distance.md)
2528
* [Number of InnerSource repositories](measuring/metrics/number-of-innersource-repositories.md)
2629
* [Usage Count](measuring/metrics/usage-count.md)
30+
* [GQM Metric Template](measuring/metrics/gqm_metric_template.md)
2731
* [Areas of Analysis](measuring/areas.md)
2832
* [Goal-Question-Metric Approach](measuring/gqm.md)
2933
* [Strategy](measuring/strategy.md)
3034
* [Examples of Interest](measuring/examples.md)
35+
* [GQM Use Cases and User Journeys](measuring/gqm_example/README.md)
3136
* [References](measuring/references.md)
3237
* [Authors and Reviewers](measuring/authors.md)
3338
* [Governance](governance/governance.md)

book.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ giscus.crossorigin = "anonymous"
2323
# Required for correct asset and 404 paths on GitHub Pages (project site and PR preview subpaths).
2424
site-url = "/managing-innersource-projects/"
2525
additional-js = ["mermaid.min.js", "mermaid-init.js"]
26+
27+
[output.linkcheck2]

governance/governance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ organization and its context and find other goals InnerSource may
250250
contribute towards. Then communicate it and get as much air cover
251251
from your executives as you can.
252252

253-
For how governance and transparency support responsible use of AI in development, see [InnerSource and AI](/innersource-and-ai/innersource-and-ai.md), in particular [Risks and Guardrails](/innersource-and-ai/risks-and-guardrails.md).
253+
For how governance and transparency support responsible use of AI in development, see [InnerSource and AI](../innersource-and-ai/innersource-and-ai.md), in particular [Risks and Guardrails](../innersource-and-ai/risks-and-guardrails.md).
254254

255255
[^1]: http://oss-watch.ac.uk/resources/governancemodels
256256

infrastructure/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ and communication. Even when the developers are in face to face meetings,
147147
those tools should be used as they will leave traces of activity readable
148148
by others within the organization.
149149

150-
![Extended usual software development process](development_workflow_all.jpg)
150+
![Extended usual software development process](./development_workflow_all.jpg)
151151

152152
## Communication Channels Infrastructure
153153

@@ -210,7 +210,7 @@ to their specific needs.
210210
The following is a potential architecture that could help when accessing
211211
the several data layers, from raw information to detailed visualizations.
212212

213-
![Monitoring Infrastructure](monitoring_infrastructure.jpg)
213+
![Monitoring Infrastructure](./monitoring_infrastructure.jpg)
214214

215215
* **Retrieval Platform**: this first part uses as input any of the data
216216
sources already mentioned. Version systems, mailing lists, tickets,

innersource-and-ai/shaping-for-ai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Several open standards are emerging that are relevant to InnerSource programs ad
3434

3535
InnerSource program leads should monitor these standards as they mature. Organizations that adopt them early can shape how agent-to-agent and agent-to-repository interactions work across team boundaries, reinforcing InnerSource collaboration patterns at the tooling level.
3636

37-
For more on infrastructure and tooling in InnerSource, see [Tooling](/tooling/innersource-tooling.md) and [Infrastructure](/infrastructure/infrastructure.md).
37+
For more on infrastructure and tooling in InnerSource, see [Tooling](../tooling/innersource-tooling.md) and [Infrastructure](../infrastructure/infrastructure.md).

introduction/framework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Let's introduce the *InnerSource framework*.
3434

3535
A core aspect of the InnerSource framework is the governance model. Good governance is essential for the success of any project, and InnerSource is no exception.
3636

37-
Pick the right [governance standards and model](/governance/governance.md) for your organization.
37+
Pick the right [governance standards and model](../governance/governance.md) for your organization.
3838

3939
## Technical infrastructure
4040

@@ -115,4 +115,4 @@ Open measurement gives a lot of benefits for our InnerSource community:
115115

116116
## InnerSource and AI
117117

118-
Organizations adopting AI in the workplace—from generative AI assistants to agentic coding tools—can benefit from InnerSource in new ways. Shared repositories, clear boundaries, and collaborative practices help both humans and AI work with the right context and reuse. See the [InnerSource and AI](/innersource-and-ai/innersource-and-ai.md) section for why it matters, how to shape repositories and practices for AI, and what risks and guardrails to consider.
118+
Organizations adopting AI in the workplace—from generative AI assistants to agentic coding tools—can benefit from InnerSource in new ways. Shared repositories, clear boundaries, and collaborative practices help both humans and AI work with the right context and reuse. See the [InnerSource and AI](../innersource-and-ai/innersource-and-ai.md) section for why it matters, how to shape repositories and practices for AI, and what risks and guardrails to consider.

lychee.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Lychee config for checking the built mdbook served at http://localhost:3000/
2+
# Run: scripts/lychee-book.sh or:
3+
# find book/html -name "*.html" -not -path "*/.cargo/*" -not -path "*/.git/*" -not -path "*/.rustup/*" -not -path "*/.github/*" -not -path "*/.claude/*" -not -path "*/.nwave/*" | lychee --base-url "http://localhost:3000/" --files-from -
4+
5+
format = "detailed"
6+
verbose = "info"
7+
# Allow 2xx and 3xx (redirects) as success
8+
accept = "100..=103,200..=399"

0 commit comments

Comments
 (0)