8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63405ff commit 2c5ef7bCopy full SHA for 2c5ef7b
doc/make.py
@@ -237,11 +237,18 @@ def all():
237
copy_if_out_of_date('../INSTALL', 'users/installing.rst')
238
239
# Create the examples symlink, if it doesn't exist
240
-if not os.path.exists('mpl_examples'):
241
- if hasattr(os, 'symlink'):
242
- os.symlink('../examples', 'mpl_examples')
243
- else:
244
- shutil.copytree('../examples', 'mpl_examples')
+
+required_symlinks = [
+ ('mpl_examples', '../examples/'),
+ ('mpl_toolkits/axes_grid/examples', '../../../examples/axes_grid/')
+ ]
245
246
+for link, target in required_symlinks:
247
+ if not os.path.exists(link):
248
+ if hasattr(os, 'symlink'):
249
+ os.symlink(target, link)
250
+ else:
251
+ shutil.copytree(os.path.join(link, '..', target), link)
252
253
if len(sys.argv)>1:
254
if '--small' in sys.argv[1:]:
0 commit comments