This website is built using Docusaurus, a modern static website generator.
yarnyarn startThis 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 build directory and can be served using any static contents hosting service.
The build also writes the files that AI agents read:
/llms.txt: every page of the latest version, with a one-line summary, grouped like the sidebar./llms-full.txt: every page in one file.- A Markdown copy of every page: the page's URL +
.md, such as/concepts/clinical/patient.md. Each page links to it, and has a Copy page button and Open in Claude and Open in ChatGPT links.
The plugin setup is in docusaurus.config.js and plugins/llms-txt/.
Every page needs a description: in its front matter. It is the page's summary in search results and in /llms.txt. To draft one from the page's first sentence for every page that has none, then read and improve what it wrote:
python3 -I scripts/add_descriptions.pyCI checks that every page has a description and, after the build, that every link in the Markdown files resolves:
python3 -I scripts/add_descriptions.py --check
npm run build && python3 -I scripts/check_llms.py buildUsing SSH:
USE_SSH=true yarn deployNot using SSH:
GIT_USER=<Your GitHub username> yarn deployIf you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.