Skip to content

Commit cf7bea1

Browse files
committed
Do not copy plotting_themes.json
1 parent abc1153 commit cf7bea1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

docs/scripts/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def create_example_documentation(example_dest_dir: str, ignore_examples: bool):
5050
"""
5151
# Folder where the .md files created are stored
5252
examples_directory = pathlib.Path(example_dest_dir)
53-
theme_json = pathlib.Path("plotting_themes.json")
5453

5554
# if the destination directory already exists it is deleted
5655
if examples_directory.is_dir():
@@ -87,8 +86,6 @@ def create_example_documentation(example_dest_dir: str, ignore_examples: bool):
8786
folder_name = sub_directory.stem
8887
formatted = " ".join(word.capitalize() for word in folder_name.split("_"))
8988

90-
# Copy the json file with the themes into the subfolder
91-
shutil.copy(theme_json, sub_directory)
9289
# Create the link to the folder to the top level toctree.
9390
ex_file_entry = formatted + f"<{folder_name}/{folder_name}>\n"
9491
# Add it to the list of examples if it is not already contained

0 commit comments

Comments
 (0)