Show More
@@ -122,6 +122,8 b' gh-pages: clean html' | |||
|
122 | 122 | # if VERSION is unspecified, it will be dev |
|
123 | 123 | # For releases, VERSION should be just the major version, |
|
124 | 124 | # e.g. VERSION=2 make gh-pages |
|
125 | # use ARCHIVE=1 VERSION=3 gh-pages to build the | |
|
126 | # docs with a warning that this is not stable docs anymore. | |
|
125 | 127 | python gh-pages.py $(VERSION) |
|
126 | 128 | |
|
127 | 129 | texinfo: |
@@ -75,6 +75,15 b" if iprelease['_version_extra']:" | |||
|
75 | 75 | |
|
76 | 76 | """ |
|
77 | 77 | |
|
78 | elif os.environ.get('ARCHIVE', None): | |
|
79 | rst_prolog = """ | |
|
80 | .. warning:: | |
|
81 | ||
|
82 | This documentation is for an old version of IPython. | |
|
83 | You can find docs for newer versions `here <http://ipython.readthedocs.org/en/stable/>`_. | |
|
84 | ||
|
85 | """ | |
|
86 | ||
|
78 | 87 | # The master toctree document. |
|
79 | 88 | master_doc = 'index' |
|
80 | 89 |
General Comments 0
You need to be logged in to leave comments.
Login now