Warning: The source for this has been moved to the
npm/documentation
repo.
Did somebody call a doctor? doctornpm is a friendly fork of the doctocat Gatsby theme from GitHub's design systems team for the npm documentation.
If you need to work on the theme for the npm documentation, this is the place to start. This repository includes both the Gatsby theme itself and the documentation for the theme.
(The latter also serves as a great example site to act as a test site for the theme, so that you can view and validate the changes that you're making.)
Prerequisites: Node.js (LTS) and npm 8.
npm 8 is a requirement since this repository uses workspaces.
If you don't have npm 8 yet, you can npm install -g npm@latest
.
- Clone this repository:
git clone https://github.com/npm/doctornpm
. npm install
in thedoctornpm
directory.npm run develop
to build the site and start a local webserver.- Visit the documentation site in your local instance, http://localhost:8000/
The documentation for the theme is published to the gh-pages
branch
via a GitHub action.
It lives at npm.github.io/doctornpm.