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

enhancement env var for extra_template_basedirs #2028

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 3, 2023

  1. env var for extra_template_basedirs

    This commit add the following three items.
    
    - Updates the method `_default_extra_template_basedirs` in the module
      `templateexporter.py` to search for a new environment variable called
      `NBCONVERT_EXTRA_TEMPLATE_BASEDIRS`. This environment variable will be
      added to the basedirs list if it is found, and it exists.
    - Updates the tests to ensure if the new environment variable exists
      then it is included in the `TemplateExporter.template_paths`.
    - Adds a context manager method that modifies the `os.environ`
      dictionary.
    
    Closes jupyter#2026
    ndmlny-qs committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    30af202 View commit details
    Browse the repository at this point in the history