Use this guide for the MiniScaffold repository or a generated library repository.
The BuildDocs and WatchDocs targets use fsdocs to generate a site from docsSrc/.
global.json specifies.docsSrc/ directory.0-toc.md file.On macOS or Linux, run this command:
|
On Windows, run this command:
|
The target generates the site in docs/.
On macOS or Linux, run this command:
|
On Windows, run this command:
|
The target generates the site in temp/watch-docs/ and starts a local web server.
The server updates the preview when you change the documentation source.
If the browser does not open, open the URL from the terminal output in a browser.
Check each new page and its navigation links.
To stop the server, press Ctrl+C in the terminal.