Skip to content

Fix TypeError when docutils can't provide a line #1

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

Open
wants to merge 2 commits into
base: namespace-packages
Choose a base branch
from

Conversation

zeehio
Copy link

@zeehio zeehio commented Sep 22, 2024

Since a namespace pkg does not have a file, we need to fix the line number reporter so it does not try to compute a line number when there is None.

As discussed here:

sphinx-extensions2#69 (comment)

zeehio and others added 2 commits September 22, 2024 09:27
Otherwise I get

  File "<frozen genericpath>", line 152, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'tuple'

When I rerun sphinx-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant