Skip to content

Commit

Permalink
Merge pull request #3 from tensorly/example_build
Browse files Browse the repository at this point in the history
fixed examples
  • Loading branch information
JeanKossaifi authored Feb 21, 2024
2 parents ca93c95 + 98a1a99 commit 658c24a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 387 deletions.
15 changes: 7 additions & 8 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
'sphinx.ext.githubpages',
'sphinx.ext.mathjax', #'sphinx.ext.imgmath',
'numpydoc.numpydoc',
# 'sphinx_gallery.gen_gallery',
'sphinx_gallery.gen_gallery',
]

# sphinx_gallery_conf = {
# 'examples_dirs': '../../examples', # path to your example scripts
# 'gallery_dirs': 'auto_examples', # path to where to save gallery generated output
# }
sphinx_gallery_conf = {
'examples_dirs': '../../examples', # path to your example scripts
'gallery_dirs': 'auto_examples', # path to where to save gallery generated output
}


# Add any paths that contain templates here, relative to this directory.
Expand All @@ -58,7 +58,7 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []

# NumPy
# NumPy
numpydoc_class_members_toctree = False
numpydoc_show_class_members = True
numpydoc_show_inherited_class_members = False
Expand Down Expand Up @@ -96,7 +96,7 @@
'nav_links' : [('Install', 'install'),
('User Guide', 'user_guide/index'),
('API', 'modules/api'),
# ('Examples', 'auto_examples/index')
('Examples', 'auto_examples/index')
],
# 'external_nav_links' : [('TensorLy', 'http://tensorly.org/dev')]
}
Expand All @@ -108,4 +108,3 @@

# Remove the permalinks ("¶" symbols)
html_permalinks_icon = ""

8 changes: 8 additions & 0 deletions examples/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Gallery of examples
===================
.. contents:: Contents
:local:
:depth: 1
General examples
----------------
Examples using TLDA.
29 changes: 0 additions & 29 deletions examples/demo_util.py

This file was deleted.

Loading

0 comments on commit 658c24a

Please sign in to comment.