File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments