OpenReplay is an open-source session replay stack that let's you see what users do on your web app, helping you troubleshoot issues faster.
- Deployment: OpenReplay can be deployed anywhere. Follow our step-by-step guides for deploying it on major public clouds and platforms.
- Installation: Setup OpenReplay in minutes and start recording user sessions.
- Configuration: Configure and secure your OpenReplay instance.
- Plugins: Learn about the different plugins to better debug your application's store and queries.
- Integrations: Get the best out of OpenReplay by integrating it with your favorite tools: Sync your backend logs with session replays, report issues to your ticketing system and more.
- Troubleshooting: Dig into our guide for troubleshooting common issues.
- Structure: Understand OpenReplay structure, data model and technical stack.
All MDX pages must go inside the src/pages
folder, and in there, use the folder structure to determine where to add them.
Inside the src/pages
folder you'll find language folders and version folders inside them. The version folders start with vX.Y.Z
, those folder will have a copy of the root of the src/pages
folder (minus themselves, of course).
For every new page that is added, it needs to be duplicated into every version folder to make sure the user is able to switch versions with the version navigation dropdown and still land on the desired page.
If you're adding a page about a feature that is not compatible with all versions, you'll have to:
- Add a frontmatter element inside the pages to signal the compatible version-folder. The element is called
minVersion
and uses a string to signal the minimum version of OpenReplay that is compatible (i.e "1.6.0"). - Add the
<IncompatibleVersionWarning>
component at the top of the document. Signal the minimum compatible version through the use of theminVersion
property. This component is located inside thesrc/components/incompatibleVersionWarning.astro
file.
To add an entire new version to the documentation, use the script at script/add-new-version.mjs
.
This script will assume the new version is the latest version, so don't use it to add past versions.
Note that the script will generate the new version for all active languages.
To run the script:
node scripts/add-new-version.mjs <major>.<minor>.<patch>
If you're looking to add a brand new language to the repo or translate a part of it, check out our detailed guide here.