DOCS: Fix js and add ipython (#9995)
* js and ipython * add to suppress warnings * fixes * fixes * fixes * fixes
This commit is contained in:
@@ -11,7 +11,7 @@ def copy_images(input_dir: Path, output_dir: Path):
|
||||
Copy images from doxygen xml folder to sphinx folder
|
||||
"""
|
||||
output_dir.mkdir(parents=True, exist_ok=True)
|
||||
extensions = ('*.png', '*.jpg', '*.svg', '*.gif', '*.PNG', '*.JPG', '*.SVG', '*.GIF')
|
||||
extensions = ('*.png', '*.jpg', '*.jpeg', '*.svg', '*.gif', '*.PNG', '*.JPG', '*.JPEG', '*.SVG', '*.GIF')
|
||||
for extension in extensions:
|
||||
for file in input_dir.glob(extension):
|
||||
shutil.copy(file, output_dir)
|
||||
|
||||
@@ -10,8 +10,8 @@ import logging
|
||||
|
||||
INLINE_LINKS_PATTERN = r'!?\[.*?\]\(([\w\/\-\.]+\.md)\)'
|
||||
REFERENCE_LINKS_PATTERN = r'\[.+\]\:\s*?([\w\/\-\.]+\.md)'
|
||||
INLINE_IMAGES_PATTERN = r'!?\[.*?\]\(([\w\/\-\.]+\.(?:png|jpg|gif|svg))\)'
|
||||
REFERENCE_IMAGES_PATTERN = r'\[.+\]\:\s*?([\w\/\-\.]+\.(?:png|jpg|gif|svg))'
|
||||
INLINE_IMAGES_PATTERN = r'!?\[.*?\]\(([\w\/\-\.]+\.(?:png|jpg|jpeg|gif|svg))\)'
|
||||
REFERENCE_IMAGES_PATTERN = r'\[.+\]\:\s*?([\w\/\-\.]+\.(?:png|jpg|jpeg|gif|svg))'
|
||||
LABEL_PATTERN = r'\{\#(.+)\}'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user