Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
/ docs Public archive

Nym Mixnet Software Docs built with mdBook

Notifications You must be signed in to change notification settings

nymtech/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nym Documentation (⚠️ARCHIVED⚠️)

⚠️ This repository is archived. Documentation has moved to the Documentation/ directory of the nym monorepo. ⚠️

Documentation for the Nym privacy platform built using the mdBook docs framework.

Documentation can be viewed at https://nymtech.net/docs

Contributing

Contributions to our documentation are very welcome. Please work on your contribution in either a feature/<feature-name> or chore/<chore-name> branch from master and target your pull request at master.

Changes merged to master will be autodeployed to the production site.

Contributing a new translation

To contribute tranlsations in a new language, please get in touch via our Keybase or Discord channels (Matrix coming soon).

Variables

There are some variables that are shared across the entire docs site, such as the current latest software version.

Variables are denoted in the .md files wrapped in {{}} (e.g {{platform_release_version}} is the most recent release), and are located in the book.toml file under the [preprocessor.variables.variables] heading. If you are changing something like the software release version, minimum code versions in prerequisites, etc, check in here first!

Diagrams

Most diagrams are simply ascii. Copies are kept in /diagrams/ for ease of reproducability. Created using textik.

Updating platform version

When updating the version, make sure to change both the version in the title on line 2 of book.toml, as well as the platform_release_version variable in the same file.

In the future this will be dealt with something like a preprocessor widget (todo).

Building

When working locally, it is recommended that you use mdbook serve to have a local version of the docs served on localhost:3000, with hot reloading on any changes made to files in the src/ directory.

You can find other commands in the mdBook CLI tool docs.

I tried to edit files in theme/ and they aren't taking effect / mdbook serve causes a looping reload on file changes after changing fields in [preprocessor.theme] config

Looping reload is a known issue with the mdbook-theme preprocessor used for the table of contents and layout of these docs. As outlined in the mdbook-theme readme one way to mitigate this is to set turn-off = true under [preprocessor.theme]. This means that mdbook serve or mdbook watch ignores changes to the theme/ directory, which is the source of the looping reload. If you have changed or commented out this line, reintroduce it to remove the looping reload. If you are trying to edit the theme of the docs and want to apply the change, see here for more info on how to remove the block, change the theme, and reintroduce the block.

Checking the mdBook version

To check the version of mdBook installed on your system, you can use the mdbook --version command. This will print the version number of mdBook installed on your system in the terminal.

The latest release of the binary of the pre-compiled binaries can be found on GitHub.