Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.56 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.56 KB

ink-docs

This is the documentation portal for ink!. The latest version is always available at https://use.ink.

Run it locally via

yarn
yarn start

We want to provide comprehensive documentation for anything you need to work with ink! here.

If you spot gaps in the information provided, or are uncertain about any specific area, please do log an issue or make a pull-request.

We really want to have good documentation here and allow people to be productive right from the start.

Development Notes

If you need to run ReCaptcha on your localhost you will need to add dev.use.ink to your /etc/hosts.

Linux

sudo bash -c 'echo "127.0.0.1 dev.use.ink" >> /etc/hosts'

OSX

sudo bash -c 'echo "::1 dev.use.ink" >> /etc/hosts'

Then visit http://dev.use.ink:8080/ (Don't forget the port number)

Adding a new Version

As we are using redirects from docs to /docs/<latest_version> some manual setup is required. If you want to create a new default version.

  1. change the current setting in docs.versions to point to the version you want as default
  2. the redirect from /docs to /docs/<latest_version> is happening in /src/pages/docs.tsx. Change the two occurences of the version to match your new default
  3. Nav and Footer links directly point hardcode the current version. Change it in src/config.ts to match your latest version.