Problem
JavaDoc is generated but not published to a publicly accessible website.
Impact
- Severity: LOW
- Category: Documentation/Developer Experience
- Developers must build JavaDoc locally
- No browsable API documentation online
- Reduces discoverability of APIs
Proposed Solution
Publish JavaDoc to GitHub Pages at:
https://flossware.github.io/platform-java/
Implementation
1. Generate JavaDoc Site
2. GitHub Actions Workflow
name: Publish JavaDoc
on:
push:
tags: ['*']
jobs:
javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Generate JavaDoc
run: mvn javadoc:aggregate
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/site/apidocs
3. Enable GitHub Pages
Repository Settings → Pages → Source: gh-pages branch
Additional Enhancements
- Versioned JavaDoc: Separate docs for each release (1.1, 1.2, etc.)
- Search: Enable JavaDoc search feature
- Dark Mode: Custom CSS for dark mode
- Link from README: Add badge and link in README.md
[](https://flossware.github.io/platform-java/)
Examples
Priority
P3 - Low - Nice to have for v1.2, should have for v1.3.
Related
- JavaDoc generation already configured in parent POM ✅
- Maven Site Plugin already configured ✅
Problem
JavaDoc is generated but not published to a publicly accessible website.
Impact
Proposed Solution
Publish JavaDoc to GitHub Pages at:
https://flossware.github.io/platform-java/
Implementation
1. Generate JavaDoc Site
2. GitHub Actions Workflow
3. Enable GitHub Pages
Repository Settings → Pages → Source: gh-pages branch
Additional Enhancements
Examples
Priority
P3 - Low - Nice to have for v1.2, should have for v1.3.
Related