This website is built using Nextra, a modern static website generator.
We try to keep routes consistent to maintain SEO.
-
/docs/: Product documentation (Jan Desktop, Jan Agent). -
/handbook/: Handbook pages. -
/research/: Research content. -
/changelog/: A list of changes made to the Jan application with each release. -
/blog/: The blog index; individual posts live under/post/. -
/download/: Download page. -
/support/: Support page. -
/privacy/: Privacy policy. -
/tokamak/: Tokamak landing page.
Refer to the Contributing Guide for more comprehensive information on how to contribute to the Jan project.
cd jan/docs
yarn install
yarn devThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn buildThis command generates static content into the out directory (next.config.mjs sets output: 'export') and can be served using any static contents hosting service.
There is no yarn deploy script; the jan-docs.yml workflow builds the site and publishes out to Cloudflare Pages.
-
When a pull request is created, the preview URL will be automatically commented on the pull request.
-
The documentation will then be published to https://jan.ai/ when the pull request is merged to
main.