-
Notifications
You must be signed in to change notification settings - Fork 21
Add tools section to Boost library views and templates #2049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
julioest
commented
Dec 16, 2025
- Introduced a new TOOLS constant in constants.py containing various Boost tools with descriptions and URLs.
- Implemented a get_tools function in utils.py to retrieve and sort the tools.
- Updated LibraryListBase to include tools in the context data for library views.
- Enhanced categorized_list.html, grid_list.html, and vertical_list.html templates to display tools alongside libraries, with appropriate descriptions and formatting.
- Introduced a new TOOLS constant in constants.py containing various Boost tools with descriptions and URLs. - Implemented a get_tools function in utils.py to retrieve and sort the tools. - Updated LibraryListBase to include tools in the context data for library views. - Enhanced categorized_list.html, grid_list.html, and vertical_list.html templates to display tools alongside libraries, with appropriate descriptions and formatting.
- Added a new tool "boostlook" to the TOOLS constant in constants.py with its description and URL. - Modified the get_tools function in utils.py to accept an optional version parameter, allowing for dynamic URL generation for version-specific tools. - Updated LibraryListBase and LibraryCategorized views to pass the selected version to get_tools, ensuring correct URL handling in the context data.
- Updated _tool_categorized_list_item.html, _tool_grid_list_item.html, and _tool_vertical_list_item.html to conditionally render tool URLs, allowing for clickable rows and cards. - Simplified the display logic for tool names and descriptions, ensuring consistent styling and behavior across different list formats. - Enhanced accessibility by adding cursor pointer styles for clickable elements.
596fdda to
62db6a1
Compare
…to the Tools section. Includes tooltip on hover.
gregjkal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - couple of questions/suggested changes.
| "slug": "build", | ||
| "description": "The Boost build system, including the full Boost version of the jam sources.", | ||
| "version_specific": True, | ||
| "url_path": "tools/build/doc/html/index.html", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested these urls? I would think they should be root-relative, i.e. have a leading slash.
| "url_path": "tools/build/doc/html/index.html", | |
| "url_path": "/tools/build/doc/html/index.html", |
Co-authored-by: Greg Kaleka <[email protected]>
Co-authored-by: Greg Kaleka <[email protected]>