Skip to content

Commit

Permalink
DOC: Skip notebook files in restify examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jseabold committed May 4, 2013
1 parent 907f2c4 commit 32fb779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/examples_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ def restify(example_file, filehash, fname):

else: # process the whole directory
for root, dirnames, filenames in os.walk(example_dir):
if 'notebooks' in root:
continue
for example in filenames:
example_file = os.path.join(root, example)
whole_file = open(example_file, 'r').read()
Expand Down

0 comments on commit 32fb779

Please sign in to comment.