diff --git a/docs/source/conf.py b/docs/source/conf.py index bd7d0ac..d2e37b0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,7 +23,7 @@ if ON_RTD: # Mock the presence of matplotlib, which we don't have on RTD # see # http://read-the-docs.readthedocs.org/en/latest/faq.html - + tags.add('rtd') class Mock(object): def __init__(self, *args, **kwargs): pass diff --git a/docs/source/index.txt b/docs/source/index.txt index c344faa..c97d512 100644 --- a/docs/source/index.txt +++ b/docs/source/index.txt @@ -7,7 +7,13 @@ IPython Documentation :Release: |release| :Date: |today| -Welcome to the official IPython documentation. +.. only:: not rtd + + Welcome to the official IPython documentation. + +.. only:: rtd + + This is a partial copy of IPython documentation, please visit `IPython official documentation `_. Contents ========