Commit 5451bb64 by Julian Arni

Code cleanup.

    From PR review.
parent 6ee5eb2e
......@@ -25,7 +25,15 @@ import sys, os
BASEDIR = os.path.dirname(os.path.abspath(__file__))
add_base = lambda l: map(lambda x: os.path.join(BASEDIR, x), l)
def add_base(paths):
"""
Returns a list of paths relative to BASEDIR.
paths: a list of paths
"""
return [os.path.join(BASEDIR, x) for x in paths]
# If extensions (or modules to document with autodoc) are in another directory,
......
......@@ -25,7 +25,6 @@ end
desc "Show docs in browser (mac and ubuntu)."
task :showdocs, [:options] do |t, args|
path = "docs"
if args.options == 'dev'
path = "docs/developer"
elsif args.options == 'author'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment