diff --git a/docs/contributing/dev-setup.rst b/docs/contributing/dev-setup.rst index 2cbf5ae..b80e9ad 100644 --- a/docs/contributing/dev-setup.rst +++ b/docs/contributing/dev-setup.rst @@ -59,8 +59,8 @@ The easiest & safest way to develop & test TLJH is with `Docker {new_dir}") + shutil.move(old_dir, new_dir) + + +def migrate_config_files(): + """Migrate config files to their new locations""" + # handle old TLJH_DIR/config.yaml location + migrate_file(os.path.join(INSTALL_PREFIX, "config.yaml"), CONFIG_FILE) + migrate_directory( + os.path.join(INSTALL_PREFIX, "jupyterhub_config.d"), + os.path.join(CONFIG_DIR, "jupyterhub_config.d"), + )