-
Notifications
You must be signed in to change notification settings - Fork 547
Building documentation locally
Note: you only need to do this if you want to preview the API documentation (that is, everything in the API section of the docs). Otherwise skip this and go straight to Building documentation site with VuePress, which will be much faster without the API docs.
To build the API documentation, do the following from the root of the repository:
npm install
npm run build:fast -- --symlink:full --install --all
npm run build:fast -- -s build -s build:docs --nolint
npm run build:gendocs
The build:docs
script will generate a JSON representation of all the TSDoc comments, and then build:gendocs
will
convert that to a tree of markdown files, under docs/api/
. These files should not be committed to git.
You may run the build
and build:docs
scripts from a particular package directory, but build:gendocs
can only be
run from the root.
To build the documentation site, you'll need to switch to the docs/
folder, install the dependencies, and then build the
site.
cd docs
npm install
npm start
npm start
will serve the local documentation from http://localhost:8080/.
This wiki is focused on contributing to the Fluid Framework codebase.
For information on using Fluid Framework or building applications on it, please refer to fluidframework.com.
- Submitting Bugs and Feature Requests
-
Contributing to the Repo
- Repo Basics
- Common Workflows and Patterns
- Managing dependencies
- Client Code
- Server Code
- PR Guidelines
- CI Pipelines
- Breaking vs Non-Breaking Changes
- Branches, Versions, and Releases
- Compatibility & Versioning
- Testing
- Debugging
- npm package scopes
- Maintaining API support levels
- Developer Tooling Maintenance
- API Deprecation
- Working with the Website (fluidframework.com)
- Coding Guidelines
- Documentation Guidelines
- CLA