Skip to content

Is it an issue that nbdev_build_docs does not run all imports? #171

@pete88b

Description

@pete88b

Please see https://github.com/pete88b/decision_tree/blob/master/71_tensor_patch.ipynb

I think we have a few choices

  • leave as-is
  • update ExecuteShowDocPreprocessor to run all imports
    • not complete cells, but any line starting with from or import
  • add a flag to settings.ini to opt-in to new "run all imports" behavior

happy to make a PR either way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions