[clazy] [Bug 394237] New: IDE-friendly URLs to documentation pages of checks

Nikolai Kosjar bugzilla_noreply at kde.org
Mon May 14 09:39:07 BST 2018


https://bugs.kde.org/show_bug.cgi?id=394237

            Bug ID: 394237
           Summary: IDE-friendly URLs to documentation pages of checks
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: nikolai.kosjar at qt.io
                CC: smartins at kde.org
  Target Milestone: ---

Having some clazy check like "connect-by-name" it's not easily possible to link
to the documentation page of that check because the level is included in the
url.

Consider:

https://github.com/KDE/clazy/blob/master/src/checks/level0/README-connect-by-name.md

https://github.com/KDE/clazy/blob/master/src/checks/level1/README-connect-3arg-lambda.md

The first one has "level0" and the second one "level1" in the URL. Having only
the check name, we do not know the level and thus can't provide a link to such
a page.

Suggestion: Make the documentation pages accessible without any level in the
URL, ideally with some version:

  <clazy base url>/docs/<version>/checks/<check-name>.md

Having that, we could easily link from e.g. Qt Creator to a documentation page
of a check.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list