Refactor Rocky Man Page Generator

- Improved logging and error handling in main.py, including better version management and configuration handling.
- Enhanced RepoManager to dynamically switch between pub and vault repositories for package retrieval.
- Updated ManPageConverter to handle symlink detection and generate appropriate redirect HTML.
- Refined WebGenerator to support dynamic version grid layout and improved HTML generation for man pages and indexes.
- Modified templates to remove trademark symbols and enhance styling for version cards.
- Added support for existing versions in the root index generation.

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
Stephen Simpson
2025-12-04 17:04:55 -06:00
parent 89404a2042
commit e356431b72
8 changed files with 427 additions and 550 deletions

View File

@@ -255,10 +255,7 @@
Search by <a href="https://fusejs.io/" target="_blank">Fuse.js</a>
</p>
<p style="margin-top: 0.5rem; font-size: 0.85rem;">
Rocky Linux is a trademark of the Rocky Enterprise Software Foundation.
</p>
<p style="margin-top: 0.5rem; font-size: 0.85rem;">
This tool is open source (MIT License). See THIRD-PARTY-LICENSES.md for attributions.
Rocky Linux is a trademark of the Rocky Enterprise Software Foundation.
</p>
</footer>