Skip to content

Commit

Permalink
Merge pull request #2319 from sa2ajj/gerrit-docs
Browse files Browse the repository at this point in the history
Gerrit documentation improvements
  • Loading branch information
tardyp committed Jul 15, 2016
2 parents a7231f1 + f0fb8b8 commit 2319fb8
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 94 deletions.
12 changes: 8 additions & 4 deletions master/docs/conf.py
Expand Up @@ -19,13 +19,17 @@

import pkg_resources

from buildbot.util.raml import RamlSpec

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
here = os.path.abspath('.')
sys.path.append(here)
sys.path.insert(1, os.path.dirname(os.path.abspath(__file__)))

try:
from buildbot.util.raml import RamlSpec
except ImportError:
sys.path.insert(2, os.path.join(os.path.dirname(os.path.abspath(__file__)),
os.pardir))
from buildbot.util.raml import RamlSpec

# -- General configuration -----------------------------------------------
try:
Expand Down

0 comments on commit 2319fb8

Please sign in to comment.