Skip to content

Source code for MongoDB.design, LeafyGreen's official documentation site.

Notifications You must be signed in to change notification settings

SchwartzMPNYC/leafy-green-design

 
 

Repository files navigation

MongoDB.design

license Build Status

This repository houses the NextJS application for mongoDB.design, the public documentation website for MongoDB's Leafygreen UI Library.

Environment Variables

The Contentstack tokens can be found under Settings > Tokens > Delivery Tokens.

Running with linked packages

  1. Run yarn install
  2. If the package you want to link to has not been published yet, create an empty folder inside node_modules/@leafygreen-ui/ with the name of the unpublished package you want to link to. E.g. node_modules/@leafygreen-ui/<unpublished-package-name>
  3. From leafygreen-ui directory, run yarn run link <path/to/design>
  4. Update next.config.ts to build linked files
    • Change line 76 to: const LGModuleRegex = /(.+(node_modules\/@leafygreen-ui))|(.+(leafygreen-ui\/packages))/g;
  5. Run the dev server: yarn dev

About

Source code for MongoDB.design, LeafyGreen's official documentation site.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 3.1%