This repository contains the source code for the Botpress documentation website.
Issues are disabled in the repository.
If you find any problems in the documentation, have any suggestions for the documentation or Botpress Cloud in general, or want to report a bug, please reach out to us on our discord server.
This is to ensure your issue is addressed as soon as possible and to keep all the information in one place.
If you feel like addressing a documentation issue yourself, you can contribute by raising a Pull Request directly on this Github Repo.
There are two ways to contribute to the documentation:
- Run the documentation locally and make changes to the documentation files.
- Click on the Edit this Page link on the documentation page and make changes directly on the Github Repo. The Feedback and Edit this page links can be found on the bottom right corner of most pages
In both cases you will need to raise a Pull Request to get your changes merged into the main branch.
When you raise a PR, after a few minutes you can inspect the preview link of the change you made. Click on the Visit Preview preview link. 💡 Please make sure you append /docs
at the end of the link.
Before your change is reflected on the live documentation website, your PR has to be approved by two members of the Botpress team. Though we try to act on every PR as soon as possible, in some cases this process might take up to few weeks.
node
: Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.pnpm
: Fast, disk space efficient package manager.Tilt
: A toolkit for fixing the pains of microservice development.docker
: Docker is an OCI container toolkit
-
Install prerequisites
-
Run the following command:
tilt up
A "Tilt started on https://localhost:XYZ/" message will appear in the terminal. You can open the link to see the status.
-
Wait for all resources to have loaded.
-
Open http://localhost:3000/docs with your browser and you should see the local instance of documentation running.
This projects is based on Nextra which is built on top of Next.js. Although knowledge of these is not a prerequisite for contributing, here are some links to quickly get you started on some concepts used in this project: