Repository navigation
Conversation
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
|
Hi @milamberspace, could you please review this when you have a moment? In short: Drop section numbers from the user manual index. I think this will be really valuable. You may want to take a look. Thanks! |
|
Does this remove the numbers from all the places? (e.g. from the pages themselves). For example, https://jmeter.apache.org/usermanual/get-started.html looks numbered. Can we rather make |
|
No, this PR only removes the numbers from the link labels in |
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
Section numbers in the JMeter manual's headings are what issue #5915 wants gone, and a patch is attached that takes them out.
Fixes #5915
The "Section Summary" and "Detailed Section List" on the user manual index prefix every entry with a number (1. Getting Started, 3.2.1 Samplers, and so on). As the issue says, these are hard to keep up to date, and they already disagree with each other: the JMS Topic and the programmatic test plan pages are both listed as 11, and the two LDAP pages are 8a and 8b.
This removes the numeric prefix from the 135 link labels in
xdocs/usermanual/index.xml. Nothing else changes: everyhrefand anchor is the same, and no line was added or removed. I read the issue's two suggestions (remove the numbers, or number automatically) and took the first. vlsi wrote that the numbers add no value and that he would not mind autonumbering; autonumbering is not in this PR.Left alone on purpose: the numbered
subsectionnames inside the LDAP tutorial pages,creating-templates.xmlanddevguide-dashboard.xml. Those are small self-contained write-ups with their own numbering, not the manual index the issue is about. No page of the manual refers to the index numbers (I searchedxdocsfor "section N" style references and found only an RFC citation).Checked
xmllint --noout xdocs/usermanual/index.xmlpasses, and a line by line comparison with the previous file shows that every changed line differs only by the removed prefix../gradlew :src:dist:processSiteXslt(Gradle 9 on JDK 25 here) builds the site, and the renderedusermanual/index.htmlhas no numbered link labels.Not run
The full
assembleand test tasks, and the repository CI on this head. I only looked at the rendered index page's link text, not at its layout in a browser.Update after merging master (head aa9f416)
Master gained a numbered entry (
5.3 Testing HTTP/2 Services with HttpClient5, from #6930). I merged master into this branch and kept the unnumbered labels, so that entry is unnumbered too. The result equals master except for the removed number prefixes (checked by comparing each changed line).xmllint --noout xdocs/usermanual/index.xmlexits 0 on this head. TheprocessSiteXsltrun above was on the previous head 949b4f0; I did not rerun it on aa9f416. Repository CI on aa9f416 is still running.