This is source code for pyroscope.io website. It's based on docusaurus.
To install dependencies run this command. Make sure you have yarn installed before continuing.
yarn installThis command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server:
yarn startFeel free to contribute to the project by forking the repository and submitting pull requests.
Sometimes you might want to change a docusaurus component (for example, Footer). To do that you'll need to copy the component from docusaurus. This process is callsed swizzling and here's the best way to do it:
yarn run swizzle <theme name> [component name]
# for example:
yarn run swizzle @docusaurus/theme-classic FooterYou can learn more about swizzling in docusaurus docs.
The biggest thing you need to keep in mind is that all components that were updated manually (swizzled) have to be updated as well.
aws s3 sync s3://pyroscope.io/videos ./static/videos