After installing the htmldocs package, you can start using the command line interface (CLI).
init
login
dev
publish <file>
--help
How can I define props specific to the document's preview?
PreviewProps
property to your default export. For example:How do I set up authentication for publishing?
htmldocs login
command to start the authentication process. This will open a browser window where you can select a team and complete the authentication. Once authenticated, your tokens will be securely stored for future use.Where are the built files stored?
dist
directory in your project root. You can customize this location by setting the NEXT_PUBLIC_USER_PROJECT_LOCATION
environment variable.