Add tools section to Boost library views and templates#2049
Open
julioest wants to merge 8 commits intoboostorg:developfrom
Open
Add tools section to Boost library views and templates#2049julioest wants to merge 8 commits intoboostorg:developfrom
julioest wants to merge 8 commits intoboostorg:developfrom
Conversation
Collaborator
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
requested changes
Jan 14, 2026
Collaborator
gregjkal
left a comment
There was a problem hiding this comment.
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", |
Collaborator
There was a problem hiding this comment.
Have you tested these urls? I would think they should be root-relative, i.e. have a leading slash.
Suggested change
| "url_path": "tools/build/doc/html/index.html", | |
| "url_path": "/tools/build/doc/html/index.html", |
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.