Skip to content

remix-run/react-router-api-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Router API Docs

This repository contains the Typedoc-generated React Router API docs: https://api.reactrouter.com/

These docs are automatically synced from remix-run/react-router nightly via the Update API Documentation workflow. The workflow can also be run manually with workflow_dispatch.

The generated docs are written to the folder matching the major version from packages/react-router/package.json in the checked-out React Router repo:

  • v7/ for React Router 7.x
  • v8/ for React Router 8.x

If you need to update these manually, clone this repository and the React Router repository as sibling folders, then run the following (using the correct version folder name):

cd ../react-router
pnpm run clean
pnpm install
pnpm run build
pnpm run docs:typedoc
mkdir -p "../react-router-api-docs/v8"
cp -r public/dev/* "../react-router-api-docs/v8/"
cd ../react-router-api-docs
git add .
git commit -m 'update the docs'
git push origin main

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors