Documentation for MandArt
In this docs repo in GitHub, use settings to deploy with Pages. Hint: Settings / Pages / main / docs.
In this repo folder on your machine, delete the docs folder.
Create new documentatation:
-
In the MandArt project in XCode, click Product / Build Documentation.
-
When viewing the generated docs, right-click on MandArt and click "Export".
-
The default name is MandArt.doccarchive.
Run in terminal in MandArt root folder
$(xcrun --find docc) process-archive transform-for-static-hosting ./DerivedData/Build/Products/Debug/MandArt.doccarchive --output-path ./docs --hosting-base-path MandArt-Docs/
Move Mandart/docs folder to MandArt-Docs/docs.
If desired, open this repo in VS Code and format the .html files.
Git add, commit, and push new GitHub MandArt-Docs.
git add .
git commit -m "your message"
git push origin main
Documentation hosted at:
- add theme-settings.json in same folder as favicon.ico