Skip to content
ohcnetworkPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website

This website is built using Docusaurus, a modern static website generator.

Installation

yarn

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

AI agents and llms.txt

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.py

CI 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 build

Deployment

Using SSH:

USE_SSH=true yarn deploy

Not using SSH:

GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages