Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional file option prep work #169

Merged
merged 8 commits into from
Jul 17, 2023
Merged

Commits on Jul 8, 2023

  1. docstring: add separate RootDocstring with filename and clang args

    Add a dedicated type for the root docstring returned by the parser, with
    information about filename and clang args used for parsing it.
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    443baa6 View commit details
    Browse the repository at this point in the history
  2. extension: rename docstring cache to hawkmoth_parsed_files

    Follow the hawkmoth naming more consistently with
    s/cautodoc_parsed_files/hawkmoth_parsed_files/
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    5cacf9e View commit details
    Browse the repository at this point in the history
  3. extension: handle -xc++ in __get_clang_args()

    Move all of the parameter handling in __get_clang_args()
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    38d7034 View commit details
    Browse the repository at this point in the history
  4. extension: start splitting parse and docstring insert

    Handle the parsing and docstring insert in two separate steps.
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    fb3d852 View commit details
    Browse the repository at this point in the history
  5. extension: move match handling one layer higher

    Count matches across all files. In the future, we'll be interested in
    more cases than just 0 and 1.
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    96bf9ff View commit details
    Browse the repository at this point in the history
  6. extension: warn if more than one documented symbol matches

    Prepare for multiple matches across multiple files, and warn about them.
    
    Note that the autodoc directive matches all the symbols in a file,
    without filtering by name, so it by design matches multiple
    symbols. Don't warn about that.
    jnikula committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    3ba0197 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. extension: iterate over parsed results with filtering

    In preparation for not requiring the :file: option for directives, start
    iterating over the parsed results, and filtering them using the
    directive specific information.
    jnikula committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    36a65b4 View commit details
    Browse the repository at this point in the history
  2. extension: stop returning the results from the __parse() method

    Now that parsing is a separate step, the results are no longer needed
    while parsing.
    jnikula committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    1125ec3 View commit details
    Browse the repository at this point in the history