shiro-site icon indicating copy to clipboard operation
shiro-site copied to clipboard

build: improve shiro-site build performance

Open GaneshPatil7517 opened this issue 9 months ago • 1 comments

Summary

This PR addresses issue #288 "Website Build/Performance Issues" with the following changes:

Build Performance Improvements

  • Optimized Validator.java: Changed from Files.readAllLines() to BufferedReader with 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

GaneshPatil7517 avatar Feb 06 '26 04:02 GaneshPatil7517

ill work on it ...

GaneshPatil7517 avatar Feb 10 '26 03:02 GaneshPatil7517