Skip to content

Doxygen tagfile should link headers #41

Closed

Description

@mikepurvis

The following output from a doxygen source listing:

#include <vector>

Does not link to http://en.cppreference.com/w/cpp/header/vector

Activity

  1. mikepurvis commented on Nov 11, 2016

    @mikepurvis
    ContributorAuthor

    Based on how the rest of the library works, I'd say this index file would need to be expanded to include <sub ... /> entries corresponding to relevant links from the parent page: http://en.cppreference.com/w/cpp/header

    And then in index2doxygen-tag.py, basically just add a sibling function to print_map like print_headers to handle outputting a Doxygen-friendly entry for each one. Which looks approximately like this:

      <compound kind="file">
        <name>vector</name>
        <filename>cpp/header/vector</filename>
        <namespace>std</namespace>
      </compound>
    

    @p12tic Would you entertain a PR for the proposed changes?


    Have validated that the link appears correctly in the source listing and file info pages for file which contain the include. The only oddball thing is that it insists on linking to cpp/header/vector.html, but fortunately the wiki is set up to redirect such links to cpp/header/vector.

  2. p12tic commented on Nov 11, 2016

    @p12tic
    Owner

    Hi, thanks a lot for the investigation. The feature request makes sense, I would be very happy if it's implemented.

  3. PeterFeicht commented on Jun 2, 2019

    @PeterFeicht
    Contributor

    Should this be closed?

  4. p12tic commented on Jun 2, 2019

    @p12tic
    Owner

    Yes, thanks for noticing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions