mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
docs: Add a Github workflow for checking dead links (#2406)
Co-authored-by: Sahib Yar <sahib.yar@securiti.ai> Co-authored-by: Marco Munizaga <marco@marcopolo.io>
This commit is contained in:
17
.github/workflows/link-check.yml
vendored
Normal file
17
.github/workflows/link-check.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Markdown Link Checking
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
jobs:
|
||||
check-links:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-quiet-mode: 'yes' # show only broken links
|
||||
use-verbose-mode: 'yes'
|
||||
config-file: .github/workflows/markdown-links-config.json # for removing any false positives
|
22
.github/workflows/markdown-links-config.json
vendored
Normal file
22
.github/workflows/markdown-links-config.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^http://localhost"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://twitter.com/"
|
||||
},
|
||||
{
|
||||
"pattern": "^https://opensource.org/"
|
||||
}
|
||||
],
|
||||
"aliveStatusCodes": [200],
|
||||
"httpHeaders": [
|
||||
{
|
||||
"urls": ["https://docs.github.com/"],
|
||||
"headers": {
|
||||
"Accept-Encoding": "*"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -195,8 +195,8 @@ Fix some test-utils used by https://github.com/libp2p/go-libp2p-kad-dht
|
||||
### Metrics <!-- omit in toc -->
|
||||
|
||||
We've started instrumenting the entire stack. In this release, we're adding metrics for:
|
||||
* the swarm: tracking incoming and outgoing connections, transports, security protocols and stream multiplexers in use: (https://github.com/libp2p/go-libp2p/blob/master/p2p/net/swarm/grafana-dashboards/swarm.json)
|
||||
* the event bus: tracking how different events are propagated through the stack and to external consumers (https://github.com/libp2p/go-libp2p/blob/master/p2p/host/eventbus/grafana-dashboards/eventbus.json)
|
||||
* the swarm: tracking incoming and outgoing connections, transports, security protocols and stream multiplexers in use: (https://github.com/libp2p/go-libp2p/blob/master/dashboards/swarm/swarm.json)
|
||||
* the event bus: tracking how different events are propagated through the stack and to external consumers (https://github.com/libp2p/go-libp2p/blob/master/dashboards/eventbus/eventbus.json)
|
||||
|
||||
Our metrics effort is still ongoing, see https://github.com/libp2p/go-libp2p/issues/1356 for progress. We'll add metrics and dashboards for more libp2p components in a future release.
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Protocol Multiplexing using rpc-style protobufs with libp2p
|
||||
|
||||
This example shows how to use protobufs to encode and transmit information between libp2p hosts using libp2p Streams.
|
||||
This example expects that you are already familiar with the [echo example](https://github.com/libp2p/go-libp2p-examples/tree/master/echo).
|
||||
This example expects that you are already familiar with the [echo example](https://github.com/libp2p/go-libp2p/tree/master/examples/echo).
|
||||
|
||||
## Build
|
||||
|
||||
|
@@ -24,7 +24,7 @@ of these nodes with the other version's interop test.
|
||||
# Running all interop tests locally with Compose
|
||||
|
||||
To run this test against all released libp2p versions you'll need to have the
|
||||
(libp2p/test-plans)[https://github.com/libp2p/test-plans] checked out. Then do
|
||||
[libp2p/test-plans](https://github.com/libp2p/test-plans) checked out. Then do
|
||||
the following (from the root directory of this repository):
|
||||
|
||||
1. Build the image: `docker build -t go-libp2p-head -f test-plans/PingDockerfile .`.
|
||||
|
Reference in New Issue
Block a user