Waku Documentation Portal https://docs.waku.org
Go to file
dependabot[bot] 075700bbf5
Bump webpack from 5.82.0 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.82.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.82.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 14:24:04 +00:00
.github/workflows chore: ugprade GH action to add issues to project (#110) 2023-08-16 15:15:57 +10:00
.vscode Squashed commit of the following: 2022-11-08 10:42:05 +11:00
diagrams add general FAQ (#189) 2024-04-22 17:19:26 +01:00
docs run-docker clarify title (#206) 2024-08-19 20:49:19 +10:00
scripts remove JSON-RPC configuration (#186) 2024-03-20 14:56:30 +01:00
src reorganise docs (#192) 2024-05-16 18:22:15 +01:00
static reorganise docs (#192) 2024-05-16 18:22:15 +01:00
.cspell.json Add security page (#194) 2024-05-17 23:18:21 +09:00
.gitignore Squashed commit of the following: 2022-11-08 10:42:05 +11:00
.huskyrc add: prettier 2022-11-11 19:52:14 +05:30
.lintstagedrc add: prettier 2022-11-11 19:52:14 +05:30
.prettierignore add: prettier 2022-11-11 19:52:14 +05:30
Jenkinsfile feat: use two deploy branches for CI builds 2024-02-20 10:18:26 +01:00
README.md feat: use two deploy branches for CI builds 2024-02-20 10:18:26 +01:00
babel.config.js feat: use Logos theme & plugin (#33) 2023-01-23 15:07:39 +05:30
docusaurus.config.js add all the community links (#197) 2024-06-05 21:43:48 +01:00
fetch-content.js Autogenerate sidebar (#166) 2024-02-19 22:00:32 +11:00
package.json add FAQ sections for nwaku and js-waku docs (#176) 2024-03-05 12:24:23 +01:00
sidebars.js reorganise docs (#192) 2024-05-16 18:22:15 +01:00
tsconfig.json feat: use Logos theme & plugin (#33) 2023-01-23 15:07:39 +05:30
yarn.lock Bump webpack from 5.82.0 to 5.94.0 2024-08-30 14:24:04 +00:00

README.md

Waku Documentation Portal

Waku Documentation Portal

The Waku Documentation Portal can be accessed at https://docs.waku.org/ and was built using Docusaurus 2, a modern static website generator.

Prerequisites

Installation

Clone this repository:

git clone https://github.com/waku-org/docs.waku.org

Install the dependencies:

yarn

# or

yarn install

Running Locally

yarn start # Run 'node fetch-content.js' in the root directory to fetch remote files

Check for spelling errors before deploying:

yarn check:spell

Create a production build locally to check for errors:

yarn build # Runs 'node fetch-content.js' and then 'docusaurus build'
# The 'fetch-content.js' script fetches documents from the nwaku and research repositories.

# test the build
yarn serve

Configuration

Edit the docusaurus.config.js file located in the repository's root directory, and update the businessUnit field within the presets section. Here is a list of valid values for this field:

  • Logos
  • Codex
  • Waku

Example:

presets: [
  [
    '@acid-info/logos-docusaurus-preset',
    {
      businessUnit: 'Waku',
    },
  ],
],

This should suffice since Logos plugins will handle other configurations linked to the designated business unit. However, if you encounter any inaccuracies in the data provided by Logos Plugins, please visit the Logos Docusaurus Plugins page and submit an issue.

Customisation

You can find the instructions on adding more documentation sections, localisation, and versioning on the Docusaurus website.

Note that theme customisation is limited; for further instructions on customizing your theme, head over to Logos Docusaurus Theme.

Troubleshooting

Docusaurus depends heavily on caching to enhance site performance. If you make changes that do not appear in the portal, try clearing the cache by running:

yarn clear

CI/CD

The hosting is done using Caddy server with Git plugin for handling GitHub webhooks.

Information about deployed build can be also found in /build.json available on the website.