diff --git a/aviary/docs/examples/intro.ipynb b/aviary/docs/examples/intro.ipynb index 4c24a1ad7..3c3757495 100644 --- a/aviary/docs/examples/intro.ipynb +++ b/aviary/docs/examples/intro.ipynb @@ -12,12 +12,10 @@ "source": [ "# Testing Cell\n", "from aviary.utils.functions import get_path\n", - "from pathlib import Path\n", - "import pkg_resources\n", "from aviary.utils.doctape import glue_variable\n", "\n", - "aviary_base_path = Path(pkg_resources.resource_filename('aviary', '.')).parent\n", - "path=get_path('examples/external_subsystems').relative_to(aviary_base_path)\n", + "aviary_top_dir = get_path('docs').parent.parent\n", + "path=get_path('examples/external_subsystems').relative_to(aviary_top_dir)\n", "glue_variable(str(path),md_code=True)" ] },