isocpp / isocpp/CppCoreGuidelines
Finding a guideline by a word in its title
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 45.3k
- Forks
- 5.6k
- PR merge metrics
- No merged PRs in 30d
Description
Here's an issue I encountered recently:
I and a colleague of mine were enabling clang-tidy for our code base using modernize-use-override as the check to verify that it works.
While committing the emerging code changes, we wanted to mention and link to the according core guideline. So I went to the web page, searched for override and found 60 matches, which was too much. I wanted to search in guideline titles, but couldn't, as they are inline with text and aren't extracted to a table of contents (TOC).
Scrolling the document using mouse wheel was too slow, dragging the slider too fast. In the end, we found the guideline but this was a frustrating experience, and it's not a great advertisement for the guidelines.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is identified in the issue. Start by locating how guideline titles are represented in the web document and how its table of contents is generated; then assess a title-focused navigation or search approach. Done means users can find a guideline by a word in its title without scrolling through unrelated body matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100