The Docs workflow publishes Dokka HTML to the gh-pages branch. You only need to point GitHub Pages at that branch once.
- Push to
master, or - Actions → Docs → Run workflow
Wait until the run is green. That creates/updates the gh-pages branch.
- Open https://github.com/saadkhalidkhan/PinFlow/settings/pages
- Build and deployment → Source: Deploy from a branch
- Branch:
gh-pages→ folder/ (root) - Click Save
After 1–2 minutes, API docs should be live at:
https://saadkhalidkhan.github.io/PinFlow/
If the workflow fails with permission errors:
Settings → Actions → General → Workflow permissions → select Read and write permissions → Save.
Why PinFlow needed this (vs ComposeGlassKitTheme)
| ComposeGlassKitTheme | PinFlow (this repo) |
|---|---|
Docs are static Markdown in docs/ (README links only) |
Optional Dokka HTML on GitHub Pages |
CI = tests + build only (android-ci.yml) |
CI also tried Dokka + Pages deploy |
No deploy-pages / Pages API |
First-time Pages setup was required |
ComposeGlassKit did not hit 404 / deploy-pages errors because it never automated hosted API docs. PinFlow’s gh-pages workflow matches that simpler model once Pages points at the branch.
- CI and Maven Central / JitPack do not depend on Pages.
- To skip docs deploys, disable or ignore the Docs workflow.