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

Fix #9481: autosummary: some warnings contain non-existing filenames #9498

Merged
merged 1 commit into from Jul 26, 2021

Commits on Jul 25, 2021

  1. Fix sphinx-doc#9481: autosummary: some warnings contain non-existing …

    …filenames
    
    `SphinxDirective.get_source_info()` returns the pair of fullpath of
    source and current line number.  But our logging module expects one of
    these:
    
    * A string consists of fullpath and current line number
    * A pair of docname and current line number
    
    To show correct location for warnings, this adds `get_location()` method
    that returns the former one.
    
    Note: This also modifies C/C++ domains.
    tk0miya committed Jul 25, 2021
    Copy the full SHA
    774b0b0 View commit details
    Browse the repository at this point in the history