Skip to content

Commit

Permalink
fix example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liuanji committed Feb 15, 2024
1 parent 207cfba commit 7732bb4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
'examples_dirs': '../../examples',
# other configuration options
'gallery_dirs': 'getting-started/tutorials',
# thumbnails
'default_thumb_file': 'imgs/juice.png'
}

intersphinx_mapping = {
Expand Down
4 changes: 4 additions & 0 deletions examples/train_hmm.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
"""
Example
=======
dddd
"""

# sphinx_gallery_thumbnail_path = 'imgs/juice.png'

import pyjuice as juice
import torch
import torchvision
Expand Down
4 changes: 4 additions & 0 deletions examples/train_mnist_hclt.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
"""
Example
=======
cccc
"""

# sphinx_gallery_thumbnail_path = 'imgs/juice.png'

import pyjuice as juice
import torch
import torchvision
Expand Down
4 changes: 4 additions & 0 deletions examples/train_mnist_pd.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
"""
Example
=======
bbbb
"""

# sphinx_gallery_thumbnail_path = 'imgs/juice.png'

import pyjuice as juice
import torch
import torchvision
Expand Down
4 changes: 4 additions & 0 deletions examples/train_mnist_pdhclt.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
"""
Example
=======
aaaa
"""

# sphinx_gallery_thumbnail_path = 'imgs/juice.png'

import pyjuice as juice
import torch
import torchvision
Expand Down

0 comments on commit 7732bb4

Please sign in to comment.