This is a monorepo that contains the source code of the community website and automatically deploys to janus-idp.io.
- pnpm package manager. Installation instructions
After getting the latest website version with git pull
, you need to install the required dependencies with the following command:
pnpm i
Run the following command to start the web server:
pnpm dev --filter=website
Go to the apps/website
folder
To add or update a blog, you need to go to the blog
sub folder. The blog must be in Markdown format (MDX).
To add or update documentation, you need to go to the docs
sub folder. The documentation must be in Markdown format (MD).
To add or update a plugin, you need to edit the content/plugin-list.ts
file. The content of the plugin page is coming from the README of the plugin itself in the plugin repo.
If you need to change the page template for plugins, you may need to update these files:
- apps/website/docusaurus.config.js
- packages/ui/components/plugin-header/plugin-header.tsx
- packages/ui/types/index.ts
The deployment is automated as soon as a PR is merged. The build takes 2 to 3 minutes to build and deploy.
If you do not see your changes, please refresh the page in your browser.