Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes to move *.md files to bin/landslide

  • Loading branch information...
commit b31450dfffa8abd3a635655cf6e16f081637ea44 1 parent d2c6c80
@mitotic authored
View
2  README.rst
@@ -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
View
6 graphterm/bin/landslide/generator.py
@@ -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"
View
0  docs/graphterm-talk1.md → graphterm/bin/landslide/graphterm-talk1.md
File renamed without changes
View
0  docs/landslides.md → graphterm/bin/landslide/landslides.md
File renamed without changes
View
0  docs/tornado-talk.md → graphterm/bin/landslide/tornado-talk.md
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.