shiro-site
shiro-site copied to clipboard
build: improve shiro-site build performance
Summary
This PR addresses issue #288 "Website Build/Performance Issues" with the following changes:
Build Performance Improvements
- Optimized Validator.java: Changed from
Files.readAllLines()toBufferedReaderwith early exit- Only reads first 50 lines (empirically verified: all files have metadata within lines 2-22)
- Exits early when validation passes instead of reading entire files
Documentation Updates
- authenticator.adoc: Replaced TODO stub with comprehensive documentation on Authenticators
- authorizer.adoc: Replaced TODO stub with comprehensive documentation on Authorizers
- forums.adoc: Restored jbake-description metadata and fixed grammar
- community.adoc: Restored jbake-description metadata
Metadata Fixes (Copilot review feedback)
- Restored missing jbake-description metadata for SEO consistency
- Updated jbake-tags for better categorization
Closes #288
ill work on it ...