Permalink
Browse files

Fixes to move *.md files to bin/landslide

  • Loading branch information...
mitotic committed Oct 1, 2012
1 parent d2c6c80 commit b31450dfffa8abd3a635655cf6e16f081637ea44
View
@@ -371,7 +371,7 @@ The ``glandslide`` command, which is a slightly modified version of the
web-based slide slideshow program `Landslide <https://github.com/adamzap/landslide>`_,
can be used to create a slideshow from Markdown (.md) or reStructured
Text (.rst) files. A few sample ``.md`` files are provided in the
-``docs`` directory of the distribution. To view a slideshow about
+``graphterm/bin/landslide`` directory of the distribution. To view a slideshow about
GraphTerm, type::
glandslide -o graphterm-talk1.md | giframe
@@ -96,9 +96,9 @@ def __init__(self, source, **kwargs):
if source and not os.path.exists(source) and not os.path.isabs(source):
# Look in graphterm/docs directory
- docs_source = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "..", "docs", source))
- if os.path.exists(docs_source):
- source = docs_source
+ sample_source = os.path.normpath(os.path.join(os.path.dirname(__file__), source))
+ if os.path.exists(sample_source):
+ source = sample_source
if not source or not os.path.exists(source):
raise IOError(u"Source file/directory %s does not exist"
File renamed without changes.
File renamed without changes.

0 comments on commit b31450d

Please sign in to comment.