Skip to content

r0hack/api-explorer

 
 

Repository files navigation

api-explorer

Open source components that make up ReadMe's API explorer.

Build

This repo consists of the following npm modules:

Installation

git clone git@github.com:readmeio/api-explorer.git
cd api-explorer
npm install
npx lerna bootstrap

Running the tests

npm test

Usage

To spin up an example server:

npm start

To build the packages for production:

npm run build

To deploy the latest example to gh-pages:

npm run deploy

To publish all modules to npm:

npm run publish

Fetching the latest stylesheet from ReadMe (for the demo site)

# Fetch the latest
curl https://readme.readme.io/css/bundle-hub2.css -o example/bundle-hub2.css

# Remove relative paths for gh-pages
sed -i '' 's/\.\.\///g' example/bundle-hub2.css

Credits

Dom Harrington

License

ISC

About

Open source components that make up ReadMe's API explorer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 51.9%
  • JavaScript 46.4%
  • HTML 1.6%
  • Shell 0.1%