chore: refactor ordering/naming of markdown files (#29)

* chore: rename md files and use config ordering

it is unfeasible to track the changes in files labelled as '1.md', '2.md', etc and
way easier when the files are named after their contents.

* fix: hint box render

* fix: markdown links
This commit is contained in:
Danish Arora 2022-12-23 16:59:16 +05:30 committed by GitHub
parent 4413612924
commit 397be651dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 31 additions and 25 deletions

View File

@ -21,6 +21,7 @@ An application using Waku can hardcode the addresses of bootstrap nodes directly
You can choose to use Status' deployed nodes, or run your own.
:::info Developers have the choice to run their own [nwaku](https://github.com/status-im/nim-waku/) nodes. Read [Nwaku Service Node](https://github.com/status-im/nwaku/tree/master/docs/operators) to learn how to run your own node.
::::
**Pros:**

View File

@ -66,4 +66,4 @@ For example:
There are also more experimental libp2p protocols such as
[`WAKU-RLN-RELAY`](https://rfc.vac.dev/spec/17/)
You can find more information on this [here](./6.md).
You can find more information on this [here](./research-in-progress.md).

View File

@ -41,7 +41,7 @@ This property indicates that no adversary can flood the system (i.e., publishing
Spam protection is partly provided in `WAKU2-RELAY` through the [scoring mechanism](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#spam-protection-measures) provided for by GossipSub v1.1.
At a high level, peers utilize a scoring function to locally score the behavior of their connections and remove peers with a low score.
There's also further research being done in this domain, including the designing of (RLN (Rate Limiting Nullifiers))[./7.md]
There's also further research being done in this domain, including the designing of [RLN (Rate Limiting Nullifiers)](./research-in-progress.md)
https://github.com/vacp2p/research/issues/148
@ -50,7 +50,8 @@ https://github.com/vacp2p/research/issues/148
Confidentiality can be addressed through data encryption whereas integrity and authenticity are achievable through digital signatures.
These features are provided for in [WAKU-MESSAGE (version 1)](https://rfc.vac.dev/spec/14#version-1) and [WAKU-NOISE](https://rfc.vac.dev/spec/35/) through payload encryption as well as encrypted signatures.
> `WAKU-NOISE` enables secure channel negotiation over Waku.
:::info `WAKU-NOISE` enables secure channel negotiation over Waku.
:::
## Security Considerations

View File

@ -3,7 +3,7 @@ title: History
---
Waku v1 was a fork of Whisper with some added tweaks for efficiency.
Waku v2 is a completely redesigned suite of protocols designed to address the goals set out [previously](./1.md).
Waku v2 is a completely redesigned suite of protocols designed to address the goals set out [previously](./introduction.md).
### 2013

View File

@ -61,7 +61,7 @@ const config = {
items: [
{
type: "doc",
docId: "Concepts/1",
docId: "Concepts/different-protocols",
position: "left",
label: "Concepts",
},

View File

@ -1,29 +1,33 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{ type: "autogenerated", dirName: "." }]
// But you can create a sidebar manually
/*
tutorialSidebar: [
docs: [
"introduction",
"history",
"motivation-and-goals",
"why-waku",
"who-is-using-waku",
"implementations",
"how-does-it-work",
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
type: "category",
label: "Concepts",
collapsed: false,
collapsible: true,
items: [
"Concepts/different-protocols",
"Concepts/protocols-explained",
"Concepts/protocols-overview-by-example",
"Concepts/discovery-and-bootstrap",
"Concepts/transports-in-waku",
"Concepts/content-topics",
"Concepts/security-features",
"Concepts/research-in-progress",
"Concepts/waku-vs-libp2p",
],
},
],
*/
};
module.exports = sidebars;