Skip to content

Commit 14dbebe

Browse files
authored
docs: update typedoc config (#3146)
- Use only `@packageDocumentation` for each module's landing page - Do not duplicate headers - Use monorepo readme for home page
1 parent 9f1be67 commit 14dbebe

File tree

88 files changed

+163
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+163
-146
lines changed

doc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"doc-check": "aegir doc-check"
1818
},
1919
"devDependencies": {
20-
"aegir": "^47.0.6"
20+
"aegir": "^47.0.14"
2121
},
2222
"private": true
2323
}

interop/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
"@chainsafe/libp2p-noise": "^16.1.3",
1515
"@chainsafe/libp2p-quic": "^1.1.1",
1616
"@chainsafe/libp2p-yamux": "^7.0.1",
17-
"@libp2p/circuit-relay-v2": "^3.2.12",
18-
"@libp2p/identify": "^3.0.30",
19-
"@libp2p/interface": "^2.10.0",
20-
"@libp2p/mplex": "^11.0.36",
21-
"@libp2p/ping": "^2.0.30",
22-
"@libp2p/tcp": "^10.1.11",
23-
"@libp2p/tls": "^2.2.1",
24-
"@libp2p/webrtc": "^5.2.13",
25-
"@libp2p/websockets": "^9.2.11",
26-
"@libp2p/webtransport": "^5.0.41",
17+
"@libp2p/circuit-relay-v2": "^3.2.14",
18+
"@libp2p/identify": "^3.0.32",
19+
"@libp2p/interface": "^2.10.2",
20+
"@libp2p/mplex": "^11.0.38",
21+
"@libp2p/ping": "^2.0.32",
22+
"@libp2p/tcp": "^10.1.13",
23+
"@libp2p/tls": "^2.2.3",
24+
"@libp2p/webrtc": "^5.2.15",
25+
"@libp2p/websockets": "^9.2.13",
26+
"@libp2p/webtransport": "^5.0.43",
2727
"@multiformats/multiaddr": "^12.4.0",
28-
"aegir": "^47.0.6",
29-
"libp2p": "^2.8.6",
28+
"aegir": "^47.0.14",
29+
"libp2p": "^2.8.8",
3030
"p-event": "^6.0.1",
3131
"redis": "^4.7.1"
3232
}

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"interface-datastore": "^8.3.1"
4747
},
4848
"devDependencies": {
49-
"aegir": "^47.0.6",
49+
"aegir": "^47.0.14",
5050
"datastore-core": "^10.0.2"
5151
},
5252
"sideEffects": false

packages/config/typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"readme": "none",
23
"entryPoints": [
34
"./src/index.ts"
45
]

packages/connection-encrypter-plaintext/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
"devDependencies": {
5858
"@libp2p/crypto": "^5.1.4",
5959
"@libp2p/logger": "^5.1.18",
60-
"aegir": "^47.0.6",
60+
"aegir": "^47.0.14",
6161
"it-pair": "^2.0.6",
62-
"protons": "^7.6.0",
62+
"protons": "^7.6.1",
6363
"sinon": "^20.0.0"
6464
},
6565
"sideEffects": false

packages/connection-encrypter-plaintext/typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"readme": "none",
23
"entryPoints": [
34
"./src/index.ts"
45
]

packages/connection-encrypter-tls/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
},
5858
"devDependencies": {
5959
"@libp2p/logger": "^5.1.18",
60-
"aegir": "^47.0.6",
60+
"aegir": "^47.0.14",
6161
"it-pair": "^2.0.6",
62-
"protons": "^7.6.0",
62+
"protons": "^7.6.1",
6363
"sinon": "^20.0.0",
6464
"sinon-ts": "^2.0.0"
6565
},

packages/connection-encrypter-tls/typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"readme": "none",
23
"entryPoints": [
34
"./src/index.ts"
45
]

packages/crypto/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repo and examine the changes made.
2626

2727
The `libp2p-crypto` library depends on the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) in the browser. Web Crypto is available in all modern browsers, however browsers restrict its usage to [Secure Contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).
2828

29-
*This means you will not be able to use some `@libp2p/crypto` functions in the browser when the page is served over HTTP.*
29+
This means you will not be able to use some `@libp2p/crypto` functions in the browser when the page is served over HTTP.\*
3030

3131
To enable the Web Crypto API and allow `@libp2p/crypto` to work fully, please serve your page over HTTPS.
3232

packages/crypto/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,17 @@
8888
"@libp2p/interface": "^2.10.2",
8989
"@noble/curves": "^1.9.1",
9090
"@noble/hashes": "^1.8.0",
91-
"multiformats": "^13.3.4",
91+
"multiformats": "^13.3.6",
9292
"protons-runtime": "^5.5.0",
9393
"uint8arraylist": "^2.4.8",
9494
"uint8arrays": "^5.1.0"
9595
},
9696
"devDependencies": {
9797
"@types/mocha": "^10.0.10",
98-
"aegir": "^47.0.6",
98+
"aegir": "^47.0.14",
9999
"asn1js": "^3.0.6",
100100
"benchmark": "^2.1.4",
101-
"protons": "^7.6.0"
101+
"protons": "^7.6.1"
102102
},
103103
"browser": {
104104
"./dist/src/ciphers/aes-gcm.js": "./dist/src/ciphers/aes-gcm.browser.js",

0 commit comments

Comments
 (0)