This website (https://docs.unlock-protocol.com/) is built using Docusaurus 2, a modern static website generator.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
Deployments are performed automatically by Github.
The docs are using markdown and can be updated in the repo.
Some of the docs are automatically generated.
The docs are generated from the @unlock-protocol.com/contracts
package.
You can modify any .sol
file in the package following the hardhat-dodoc
format.
Once ready, you can easily open a pull request on the docs repo (make sure you also generate a PR for the mono repo or your changes will be overwritten by the next doc update) by using the following script: scripts/docs-contracts-pr.sh
executed at the root of the monorepo.
- Locksmith: TK
- UnlockJs: TK