From da738b67f4e064fff71093653b301c83d1ac60fd Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 30 Jan 2024 13:22:37 +0100 Subject: [PATCH] Symlink readme (#109) * Symlink readme * Linter --- README.md | 4 +--- python/voici-core/voici_core/tree_exporter.py | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) mode change 100644 => 120000 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 6c22869..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -```{include} python/voici/README.md - -``` diff --git a/README.md b/README.md new file mode 120000 index 0000000..38ab475 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +python/voici/README.md \ No newline at end of file diff --git a/python/voici-core/voici_core/tree_exporter.py b/python/voici-core/voici_core/tree_exporter.py index a74ce29..2d8caf7 100644 --- a/python/voici-core/voici_core/tree_exporter.py +++ b/python/voici-core/voici_core/tree_exporter.py @@ -51,12 +51,12 @@ def patch_page_config( page_config_copy["fullStaticUrl"] = f"../{'../' * len(relative_path.parts)}build" # Grabbing from the jupyterlite static folders - page_config_copy[ - "settingsUrl" - ] = f"../../{'../' * len(relative_path.parts)}build/schemas" - page_config_copy[ - "fullLabextensionsUrl" - ] = f"../../{'../' * len(relative_path.parts)}extensions" + page_config_copy["settingsUrl"] = ( + f"../../{'../' * len(relative_path.parts)}build/schemas" + ) + page_config_copy["fullLabextensionsUrl"] = ( + f"../../{'../' * len(relative_path.parts)}extensions" + ) # The Themes URL will be joined with the base URL in the # JupyterLite main application