chore: add spec links (#173)

Signed-off-by: Dave Huseby <dwh@protocol.ai>
Co-authored-by: Dave Huseby <dwh@protocol.ai>
This commit is contained in:
Prithvi Shahi
2023-05-15 09:11:41 -07:00
committed by GitHub
parent c9d1c90836
commit 6fc35a2d7e
10 changed files with 50 additions and 25 deletions

View File

@@ -3,7 +3,8 @@
"title": "Secure Communication",
"libs": [
{
"id": "libp2p-noise",
"id": "libp2p-noise 🔗",
"url": "https://github.com/libp2p/specs/blob/master/noise/",
"langs": {
"Go": {
"status": "Done",
@@ -43,7 +44,8 @@
}
},
{
"id": "libp2p-tls",
"id": "libp2p-tls 🔗",
"url": "https://github.com/libp2p/specs/blob/master/tls/tls.md",
"langs": {
"Go": {
"status": "Done",

View File

@@ -3,7 +3,8 @@
"title": "Discovery",
"libs": [
{
"id": "bootstrap",
"id": "bootstrap 🔗",
"url": "https://github.com/libp2p/specs/blob/master/kad-dht/README.md#bootstrap-process",
"langs": {
"Go": {
"status": "Done",
@@ -74,7 +75,8 @@
}
},
{
"id": "mdns-discovery",
"id": "mdns-discovery 🔗",
"url": "https://github.com/libp2p/specs/blob/master/discovery/mdns.md",
"langs": {
"Go": {
"status": "Done",
@@ -110,7 +112,8 @@
}
},
{
"id": "rendezvous",
"id": "rendezvous 🔗",
"url": "https://github.com/libp2p/specs/blob/master/rendezvous/README.md",
"langs": {
"Go": {
"status": "Missing"

View File

@@ -3,7 +3,8 @@
"title": "NAT Traversal",
"libs": [
{
"id": "libp2p-circuit-relay-v1",
"id": "libp2p-circuit-relay-v1 🔗",
"url": "https://github.com/libp2p/specs/blob/master/relay/circuit-v1.md",
"langs": {
"Go": {
"status": "Done",
@@ -38,7 +39,8 @@
}
},
{
"id": "libp2p-circuit-relay-v2",
"id": "libp2p-circuit-relay-v2 🔗",
"url": "https://github.com/libp2p/specs/blob/master/relay/circuit-v2.md",
"langs": {
"Go": {
"status": "Done",
@@ -74,7 +76,8 @@
}
},
{
"id": "libp2p-autonat",
"id": "libp2p-autonat 🔗",
"url": "https://github.com/libp2p/specs/tree/master/autonat",
"langs": {
"Go": {
"status": "Done",
@@ -112,7 +115,8 @@
}
},
{
"id": "libp2p-hole-punching",
"id": "libp2p-hole-punching 🔗",
"url": "https://github.com/libp2p/specs/blob/master/connections/hole-punching.md",
"langs": {
"Go": {
"status": "Done",

View File

@@ -42,7 +42,8 @@
}
},
{
"id": "libp2p-gossipsub",
"id": "libp2p-gossipsub 🔗",
"url": "https://github.com/libp2p/specs/tree/master/pubsub/gossipsub",
"langs": {
"Go": {
"status": "Done",

View File

@@ -3,7 +3,8 @@
"title": "Peer Routing",
"libs": [
{
"id": "libp2p-kad-dht",
"id": "libp2p-kad-dht 🔗",
"url": "https://github.com/libp2p/specs/blob/master/kad-dht/README.md",
"langs": {
"Go": {
"status": "Done",

View File

@@ -3,7 +3,8 @@
"title": "Stream Multiplexing",
"libs": [
{
"id": "libp2p-yamux",
"id": "libp2p-yamux 🔗",
"url": "https://github.com/libp2p/specs/blob/master/yamux/README.md",
"langs": {
"Go": {
"status": "Done",
@@ -41,7 +42,8 @@
}
},
{
"id": "libp2p-mplex",
"id": "libp2p-mplex 🔗",
"url": "https://github.com/libp2p/specs/blob/master/mplex/README.md",
"langs": {
"Go": {
"status": "Done",

View File

@@ -44,7 +44,8 @@
}
},
{
"id": "libp2p-quic",
"id": "libp2p-quic 🔗",
"url": "https://github.com/libp2p/specs/tree/master/quic",
"langs": {
"Go": {
"status": "Done",
@@ -117,7 +118,8 @@
}
},
{
"id": "libp2p-webtransport",
"id": "libp2p-webtransport 🔗",
"url": "https://github.com/libp2p/specs/tree/master/webtransport",
"langs": {
"Go": {
"status": "Done",
@@ -151,7 +153,8 @@
}
},
{
"id": "libp2p-webrtc-browser-to-server",
"id": "libp2p-webrtc-browser-to-server 🔗",
"url": "https://github.com/libp2p/specs/blob/master/webrtc/webrtc-direct.md",
"langs": {
"Go": {
"status": "Unstable",
@@ -219,7 +222,8 @@
}
},
{
"id": "libp2p-webrtc-private-to-private",
"id": "libp2p-webrtc-private-to-private 🔗",
"url": "https://github.com/libp2p/specs/blob/master/webrtc/webrtc.md",
"langs": {
"Go": {
"status": "Missing"

View File

@@ -43,7 +43,8 @@
}
},
{
"id": "libp2p-ping",
"id": "libp2p-ping 🔗",
"url": "https://github.com/libp2p/specs/blob/master/ping/ping.md",
"langs": {
"Go": {
"status": "Done",

View File

@@ -25,15 +25,21 @@
</tr>
{{ range $lib := .libs }}
<tr>
<th class="head-col">{{ .id }}</th>
<th class="head-col">
{{ if .url }}
<a href = "{{ .url }}" target="_blank">{{ .id }}</a>
{{ else }}
{{ .id }}
{{ end }}
</th>
{{ range $impl := $impls }}
<td>
{{ with index $lib.langs $impl }}
{{ with index $lib.langs $impl }}
<a href="{{ .url }}" target="_blank">
{{ partial "status-icon.html" . }}
</a>
{{ else }}
Missing!
{{ else }}
Missing!
{{ end }}
</td>
{{ end }}

View File

@@ -543,19 +543,20 @@ article.implementations-info {
}
}
th {
th, th > a {
font-family: Roboto-Light, SansSerif;
color: #A9B0BC;
border-right: 1px solid #DFE5EE;
width: 99px;
text-align: left;
padding-left: 40px;
text-decoration: none;
@media (max-width: 940px) {
padding-left: 17px;
}
&.head-col {
&.head-col, &.head-col > a {
position: absolute;
left: 0;
top: auto;
@@ -590,7 +591,7 @@ article.implementations-info {
&:not(.empty):not(.head-row):hover {
th {
th, th > a {
color: #21B7EC;
}
td {