diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2015-07-12 10:45:49 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2015-07-12 10:45:49 +0200 |
commit | d13b3cf78c93e54bfe13874d2b3d8681cdef50af (patch) | |
tree | 31cabe371835f6de03ee7bdc3eda0b57841ac4f4 | |
parent | 6a7b821a5d181b3e034c7c28f3fab4f46439376b (diff) | |
download | raven-d13b3cf78c93e54bfe13874d2b3d8681cdef50af.tar.gz |
Started using the sentry doc ext
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | docs/_sentryext | 0 | ||||
-rw-r--r-- | docs/conf.py | 7 |
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12c98df --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "docs/_sentryext"] + path = docs/_sentryext + url = https://github.com/getsentry/sentry-doc-support.git diff --git a/docs/_sentryext b/docs/_sentryext new file mode 160000 +Subproject e9b477ffbbb5b50c2a1ccdf4ff845ac1ffbce96 diff --git a/docs/conf.py b/docs/conf.py index 2a4bc6c..f5e2d2e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,6 +11,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import os +import sys import datetime # If extensions (or modules to document with autodoc) are in another directory, @@ -222,3 +224,8 @@ man_pages = [ ('index', 'raven', u'Raven Documentation', [u'David Cramer'], 1) ] + +if os.environ.get('SENTRY_FEDERATED_DOCS') != '1': + sys.path.insert(0, os.path.abspath('_sentryext')) + import sentryext + sentryext.activate() |