Skip to content

Commit

Permalink
docs: add link checker and fixup broken links (#126)
Browse files Browse the repository at this point in the history
Refs: #115

Signed-off-by: Michael Dawson <[email protected]>
  • Loading branch information
mhdawson authored Nov 2, 2024
1 parent bf5182e commit ae46d82
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ community in this goal.

If you are new to Bee contributing, we recommend you do the following before diving into the code:

- Read [Bee Overview](./docs/overview.md) to understand core concepts.
- Read [Bee Overview](/docs/overview.md) to understand core concepts.
- Read [Code of Conduct](./CODE_OF_CONDUCT.md).

## Style and lint
Expand Down Expand Up @@ -116,7 +116,7 @@ Distributed under the [Apache License, Version 2.0](http://www.apache.org/licens

SPDX-License-Identifier: [Apache-2.0](https://spdx.org/licenses/Apache-2.0)

If you would like to see the detailed LICENSE click [here](LICENSE).
If you would like to see the detailed LICENSE click [here](/LICENSE).

### Developer Certificate of Origin (DCO)

Expand Down
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ community in this goal.

If you are new to Bee contributing, we recommend you do the following before diving into the code:

- Read [Bee Overview](./docs/overview.md) to understand core concepts.
- Read [Bee Overview](/docs/overview.md) to understand core concepts.
- Read [Code of Conduct](./CODE_OF_CONDUCT.md).

## Style and lint
Expand Down Expand Up @@ -116,7 +116,7 @@ Distributed under the [Apache License, Version 2.0](http://www.apache.org/licens

SPDX-License-Identifier: [Apache-2.0](https://spdx.org/licenses/Apache-2.0)

If you would like to see the detailed LICENSE click [here](LICENSE).
If you would like to see the detailed LICENSE click [here](/LICENSE).

### Developer Certificate of Origin (DCO)

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
"start": "tsx --tsconfig tsconfig.examples.json",
"start:bee": "yarn start -- examples/agents/bee.ts",
"docs:build": "embedme --source-root=. docs/**/*.md && cp *.md docs/ && yarn lint:fix docs/ && yarn prettier --write docs/",
"docs:check": "yarn docs:build --verify",
"docs:check": "yarn docs:build --verify && yarn docs:links",
"docs:links": "linkinator \"**/*.md\" --markdown --directory-listing --skip node_modules --skip \"https://ai.meta.com/blog/meta-llama-3-1/\" ",
"docs:watch": "docsify serve ./docs --open",
"lint": "yarn eslint",
"lint:fix": "yarn eslint --fix",
Expand Down Expand Up @@ -217,6 +218,7 @@
"groq-sdk": "^0.7.0",
"husky": "^9.1.6",
"langchain": "~0.3.3",
"linkinator": "^6.1.2",
"lint-staged": "^15.2.10",
"ollama": "^0.5.9",
"openai": "^4.68.1",
Expand Down
114 changes: 112 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2950,6 +2950,7 @@ __metadata:
json-schema-to-typescript: "npm:^15.0.2"
jsonrepair: "npm:^3.9.0"
langchain: "npm:~0.3.3"
linkinator: "npm:^6.1.2"
lint-staged: "npm:^15.2.10"
mathjs: "npm:^13.2.0"
mustache: "npm:^4.2.0"
Expand Down Expand Up @@ -3337,7 +3338,7 @@ __metadata:
languageName: node
linkType: hard

"chalk@npm:5.3.0, chalk@npm:^5.3.0, chalk@npm:~5.3.0":
"chalk@npm:5.3.0, chalk@npm:^5.0.0, chalk@npm:^5.3.0, chalk@npm:~5.3.0":
version: 5.3.0
resolution: "chalk@npm:5.3.0"
checksum: 10c0/8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09
Expand Down Expand Up @@ -4299,6 +4300,44 @@ __metadata:
languageName: node
linkType: hard

"dom-serializer@npm:^2.0.0":
version: 2.0.0
resolution: "dom-serializer@npm:2.0.0"
dependencies:
domelementtype: "npm:^2.3.0"
domhandler: "npm:^5.0.2"
entities: "npm:^4.2.0"
checksum: 10c0/d5ae2b7110ca3746b3643d3ef60ef823f5f078667baf530cec096433f1627ec4b6fa8c072f09d079d7cda915fd2c7bc1b7b935681e9b09e591e1e15f4040b8e2
languageName: node
linkType: hard

"domelementtype@npm:^2.3.0":
version: 2.3.0
resolution: "domelementtype@npm:2.3.0"
checksum: 10c0/686f5a9ef0fff078c1412c05db73a0dce096190036f33e400a07e2a4518e9f56b1e324f5c576a0a747ef0e75b5d985c040b0d51945ce780c0dd3c625a18cd8c9
languageName: node
linkType: hard

"domhandler@npm:^5.0.2, domhandler@npm:^5.0.3":
version: 5.0.3
resolution: "domhandler@npm:5.0.3"
dependencies:
domelementtype: "npm:^2.3.0"
checksum: 10c0/bba1e5932b3e196ad6862286d76adc89a0dbf0c773e5ced1eb01f9af930c50093a084eff14b8de5ea60b895c56a04d5de8bbc4930c5543d029091916770b2d2a
languageName: node
linkType: hard

"domutils@npm:^3.1.0":
version: 3.1.0
resolution: "domutils@npm:3.1.0"
dependencies:
dom-serializer: "npm:^2.0.0"
domelementtype: "npm:^2.3.0"
domhandler: "npm:^5.0.3"
checksum: 10c0/342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887
languageName: node
linkType: hard

"dot-prop@npm:^5.1.0, dot-prop@npm:^5.2.0":
version: 5.3.0
resolution: "dot-prop@npm:5.3.0"
Expand Down Expand Up @@ -4471,6 +4510,13 @@ __metadata:
languageName: node
linkType: hard

"entities@npm:^4.2.0, entities@npm:^4.5.0":
version: 4.5.0
resolution: "entities@npm:4.5.0"
checksum: 10c0/5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250
languageName: node
linkType: hard

"env-paths@npm:^2.2.0, env-paths@npm:^2.2.1":
version: 2.2.1
resolution: "env-paths@npm:2.2.1"
Expand Down Expand Up @@ -4701,7 +4747,7 @@ __metadata:
languageName: node
linkType: hard

"escape-html@npm:~1.0.3":
"escape-html@npm:^1.0.3, escape-html@npm:~1.0.3":
version: 1.0.3
resolution: "escape-html@npm:1.0.3"
checksum: 10c0/524c739d776b36c3d29fa08a22e03e8824e3b2fd57500e5e44ecf3cc4707c34c60f9ca0781c0e33d191f2991161504c295e98f68c78fe7baa6e57081ec6ac0a3
Expand Down Expand Up @@ -5996,6 +6042,18 @@ __metadata:
languageName: node
linkType: hard

"htmlparser2@npm:^9.0.0":
version: 9.1.0
resolution: "htmlparser2@npm:9.1.0"
dependencies:
domelementtype: "npm:^2.3.0"
domhandler: "npm:^5.0.3"
domutils: "npm:^3.1.0"
entities: "npm:^4.5.0"
checksum: 10c0/394f6323efc265bbc791d8c0d96bfe95984e0407565248521ab92e2dc7668e5ceeca7bc6ed18d408b9ee3b25032c5743368a4280d280332d782821d5d467ad8f
languageName: node
linkType: hard

"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.0, http-cache-semantics@npm:^4.1.1":
version: 4.1.1
resolution: "http-cache-semantics@npm:4.1.1"
Expand Down Expand Up @@ -6982,6 +7040,26 @@ __metadata:
languageName: node
linkType: hard

"linkinator@npm:^6.1.2":
version: 6.1.2
resolution: "linkinator@npm:6.1.2"
dependencies:
chalk: "npm:^5.0.0"
escape-html: "npm:^1.0.3"
gaxios: "npm:^6.0.0"
glob: "npm:^10.3.10"
htmlparser2: "npm:^9.0.0"
marked: "npm:^13.0.0"
meow: "npm:^13.0.0"
mime: "npm:^4.0.0"
server-destroy: "npm:^1.0.1"
srcset: "npm:^5.0.0"
bin:
linkinator: build/src/cli.js
checksum: 10c0/9c88355d8fa2a77b7e950016d93ab6c177daee896ff4b84209d8dd84355a92ff8ade55228541ba0ad4b23f329f96826d5dec1942b62b3fb9076cd530ce2d1de4
languageName: node
linkType: hard

"lint-staged@npm:^15.2.10":
version: 15.2.10
resolution: "lint-staged@npm:15.2.10"
Expand Down Expand Up @@ -7393,6 +7471,15 @@ __metadata:
languageName: node
linkType: hard

"marked@npm:^13.0.0":
version: 13.0.3
resolution: "marked@npm:13.0.3"
bin:
marked: bin/marked.js
checksum: 10c0/b1121f420f815206ae5ae109b9b0eb6c21f84d8d459cbe38ffa00543652e091f36a55c2c96ff1414821d8752682af8c0de3f44f0a2a5bd9c8612a4ef520e9b3d
languageName: node
linkType: hard

"mathjs@npm:^13.2.0":
version: 13.2.0
resolution: "mathjs@npm:13.2.0"
Expand Down Expand Up @@ -7955,6 +8042,15 @@ __metadata:
languageName: node
linkType: hard

"mime@npm:^4.0.0":
version: 4.0.4
resolution: "mime@npm:4.0.4"
bin:
mime: bin/cli.js
checksum: 10c0/3046e425ed616613af8c7f4b268ff33ab564baeb24a117ef00475cbb23fbae91369ff2d9918cc6408162b0016bde34ea8cc4041b830fc2c45a8ecaf5b7e3e26f
languageName: node
linkType: hard

"mimic-fn@npm:^2.1.0":
version: 2.1.0
resolution: "mimic-fn@npm:2.1.0"
Expand Down Expand Up @@ -10154,6 +10250,13 @@ __metadata:
languageName: node
linkType: hard

"server-destroy@npm:^1.0.1":
version: 1.0.1
resolution: "server-destroy@npm:1.0.1"
checksum: 10c0/ab771f12b24cde1bc622cce0c14a1365f3ab0685937c641c762916fb43aa7a03d6c577cc4375ea5361d6bc1bb20ab689ec5723086e5798c6781edb61287e24b8
languageName: node
linkType: hard

"set-blocking@npm:^2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
Expand Down Expand Up @@ -10429,6 +10532,13 @@ __metadata:
languageName: node
linkType: hard

"srcset@npm:^5.0.0":
version: 5.0.1
resolution: "srcset@npm:5.0.1"
checksum: 10c0/411e5c8b9db0123f113d374e47a63c08cd3c6f2d43ac70756e5c1aafe64d8b9c9f364f1c1e8e980d81bd6c9a7b1e66138b661989bf032efa1eacd373482a76f6
languageName: node
linkType: hard

"ssri@npm:^10.0.0":
version: 10.0.6
resolution: "ssri@npm:10.0.6"
Expand Down

0 comments on commit ae46d82

Please sign in to comment.