Unstoppable Domains Documentation is hosted by Redocly and can be accessed at docs.unstoppabledomains.com.
-
Follow the Google developer documentation style guide. (Unstoppable docs style coming soon!)
-
Files that shouldn't be edited directly:
/reference/smart-contracts/cns-smart-contracts.mddeveloper-toolkit/reference/smart-contracts/uns-smart-contracts.mddeveloper-toolkit/changelogs/*-changelog.md
Clicking Edit at the upper right corner of any page on the documentation site will take you directly to the page in this repository.
-
Click Edit this file on the Github page to begin editing directly in your browser.
-
Make your changes. You can preview standard markdown and HTML in the Preview tab.
.tsxpages and other redocly features will require setting up the Redocly development environment. -
When you're finished with your changes, enter your commit details, create a new branch, and start a pull request.
To preview Redocly-specific features while editing, you will need to clone the repository and set up the Redocly Realm development environment.
- node.js 20.x (specified in
.nvmrc) - nvm (recommended for managing Node versions)
- yarn
- Use the correct Node version:
nvm use- Install dependencies:
yarn installyarn startThe development server will run on http://localhost:4000.
Note: search isn't functional in the development environment.
To build the site for production:
yarn buildIf changes are not reflected in the portal, try clearing your browser cache or restart the development server.