Source code for ngrok docs; feel free to suggest changes and improvements to our documentation!
See our Contribution Guidelines for detailed instructions on how to help improve ngrok documentation.
ngrok is built using Docusaurus 3.
Prerequisites required:
We use direnv to assist you with setting up all of the required tooling.
Prefer to install and manage the tooling yourself?
- Install nvm or your node version manager of choice.
- Ensure that
node 20
is installed. Withnvm
, runnvm install
. - Enable
pnpm
withcorepack
:corepack enable pnpm
- Install
pnpm
withcorepack
:corepack install
- Install project dependencies with
pnpm
:pnpm install
First, install direnv
:
OS | command |
---|---|
macOS | brew install direnv |
ubuntu | sudo apt install direnv |
For all other OSes, see the direnv installation guide.
Don't forget to set up direnv integration with your shell.
Next, clone the repo and move into the directory:
git clone https://github.com/ngrok/ngrok-docs.git
cd ngrok-docs
Next, run:
direnv allow
This will install nvm
(if not already installed) as well as set the correct node
and pnpm
versions for you.
Once you have the pre-requisites installed, local development happens by running:
pnpm run start
Our docs mostly use markdown and MDX, you can make yourself familiar with docusaurus documentation for more significant features / changes.
To ensure your changes work before submitting a pr, please run the following before submission:
cd ngrok-docs
pnpm run fmt
pnpm run build
For bug reports, feature request, questions and community support please ooen an issue or discussion in our ngrok Community. To report a problem with our documentation, please open a new Github issue.