kou commented on issue #40623:
URL: https://github.com/apache/arrow/issues/40623#issuecomment-2007512707

   Hmm. Sphinx may have a problem:
   
   ```diff
   diff --git a/sphinx/ext/autosummary/__init__.py 
b/sphinx/ext/autosummary/__init__.py
   index 22e616c3f..9a469d23e 100644
   --- a/sphinx/ext/autosummary/__init__.py
   +++ b/sphinx/ext/autosummary/__init__.py
   @@ -770,7 +770,7 @@ class AutoLink(SphinxRole):
    
    def get_rst_suffix(app: Sphinx) -> str | None:
        def get_supported_format(suffix: str) -> tuple[str, ...]:
   -        parser_class = app.registry.get_source_parsers().get(suffix)
   +        parser_class = 
app.registry.get_source_parsers().get(suffix.removeprefix('.'))
            if parser_class is None:
                return ('restructuredtext',)
            return parser_class.supported
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to