|
| 1 | +# DocFx 2.78.4 Migration Checklist |
| 2 | + |
| 3 | +This checklist helps verify the DocFx upgrade is working correctly. |
| 4 | + |
| 5 | +## Pre-Merge Verification |
| 6 | + |
| 7 | +### Local Build Test |
| 8 | +- [ ] .NET SDK 6.0+ is installed (`dotnet --version`) |
| 9 | +- [ ] Tool restore works (`dotnet tool restore`) |
| 10 | +- [ ] Build succeeds (`cd docfx && dotnet docfx build docfx.json`) |
| 11 | +- [ ] No warnings or errors in build output |
| 12 | +- [ ] _site folder is generated with all files |
| 13 | + |
| 14 | +### Theme Verification |
| 15 | +- [ ] Cyan header is present (#006064 color) |
| 16 | +- [ ] PnP Samples logo displays correctly |
| 17 | +- [ ] GitHub link in header works |
| 18 | +- [ ] Filter buttons display (All, Modernize, Data, etc.) |
| 19 | +- [ ] Search input is visible |
| 20 | +- [ ] Footer shows "Generated by DocFX with Material UI" |
| 21 | +- [ ] Navigation toggle works on mobile |
| 22 | +- [ ] Custom CSS files loaded (main.css, extra.css, filter.css, site.css) |
| 23 | +- [ ] Custom JS files loaded (main.js, filtersamples.js, loadsamples.js) |
| 24 | + |
| 25 | +### Content Verification |
| 26 | +- [ ] Sample pages render correctly |
| 27 | +- [ ] Images load properly |
| 28 | +- [ ] Code blocks display with syntax highlighting |
| 29 | +- [ ] Links work (internal and external) |
| 30 | +- [ ] TOC (Table of Contents) generates properly |
| 31 | + |
| 32 | +## Post-Merge Verification |
| 33 | + |
| 34 | +### GitHub Actions |
| 35 | +- [ ] Workflow runs successfully |
| 36 | +- [ ] No errors in "Setup .NET" step |
| 37 | +- [ ] No errors in "Install DocFx" step |
| 38 | +- [ ] No errors in "Build docs" step |
| 39 | +- [ ] Site deploys to gh-pages branch |
| 40 | +- [ ] Published site accessible at https://pnp.github.io/script-samples/ |
| 41 | + |
| 42 | +### Live Site Checks |
| 43 | +- [ ] Homepage loads with material theme |
| 44 | +- [ ] Filters work correctly |
| 45 | +- [ ] Search functionality works |
| 46 | +- [ ] Sample pages display properly |
| 47 | +- [ ] Navigation between pages works |
| 48 | +- [ ] Mobile responsive design works |
| 49 | +- [ ] Footer links work |
| 50 | + |
| 51 | +## Rollback Plan (if needed) |
| 52 | + |
| 53 | +If issues arise, rollback steps: |
| 54 | +1. Revert the PR |
| 55 | +2. Previous version used Mono-based DocFx 2.56.7 |
| 56 | +3. Restore from commit before this PR |
| 57 | +4. GitHub Actions will use old workflow |
| 58 | + |
| 59 | +## Key Differences from 2.56.7 |
| 60 | + |
| 61 | +| Aspect | Old (2.56.7) | New (2.78.4) | |
| 62 | +|--------|--------------|--------------| |
| 63 | +| Installation | Download zip, extract, use Mono | `dotnet tool install` | |
| 64 | +| Command | `docfx build` (via Mono) | `dotnet docfx build` | |
| 65 | +| Platform | Requires Mono on Linux/Mac | .NET SDK only | |
| 66 | +| Updates | Manual download | `dotnet tool update` | |
| 67 | +| Plugin Loading | Manual copy to lib folder | Auto-loaded from package | |
| 68 | + |
| 69 | +## Support |
| 70 | + |
| 71 | +Questions or issues? Check: |
| 72 | +- `DOCFX-UPGRADE.md` for detailed documentation |
| 73 | +- DocFx 2.78.4 release notes: https://github.com/dotnet/docfx/releases/tag/v2.78.4 |
| 74 | +- DocFx documentation: https://dotnet.github.io/docfx/ |
| 75 | + |
| 76 | +## Sign-off |
| 77 | + |
| 78 | +- [ ] Local verification complete |
| 79 | +- [ ] Theme confirmed working |
| 80 | +- [ ] Ready to merge |
| 81 | + |
| 82 | +Verified by: ________________ |
| 83 | +Date: ________________ |
0 commit comments