Skip to content

Name the exception in exec_show_docs errors, and leave symbol-less modules out of _modidx.py - #1649

Merged
jph00 merged 1 commit into
mainfrom
pr/name-the-exception-in-exec-show-docs-errors-and
Sep 21, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/name-the-exception-in-exec-show-docs-errors-and

Conversation

@jph00

@jph00 jph00 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

exec_show_docs now ends its error with the exception type and message. The last lines of a docs build log then state the cause, such as ModuleNotFoundError: No module named 'httpx'.

_get_modidx returns no entry for a module that has no functions or classes. A generated data file, such as download_checks.py in fastdownload, no longer changes _modidx.py. Projects whose committed _modidx.py has empty 'pkg.mod': {} entries need one nbdev-export and commit after upgrading.

The migration tutorial now downloads files from AnswerDotAI/nbdev3-template.

@jph00 jph00 added the enhancement New feature or request label Sep 21, 2026
@jph00
jph00 merged commit 1f5281c into main Sep 21, 2026
@jph00
jph00 deleted the pr/name-the-exception-in-exec-show-docs-errors-and branch September 21, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant