| 1 |
""" |
| 2 |
cloud_sptheme.ext.relbar_toc -- adds TOC entry (and other links) to relbar. |
| 3 |
NOTE: this has been renamed to 'relbar_links'. this module is left as a legacy alias. |
| 4 |
""" |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
from __future__ import absolute_import, division, print_function |
| 10 |
import warnings |
| 11 |
|
| 12 |
from . import relbar_links |
| 13 |
|
| 14 |
__all__ = [ |
| 15 |
"setup" |
| 16 |
] |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
def setup(app): |
| 22 |
""" |
| 23 |
setup extension for sphinx run |
| 24 |
""" |
| 25 |
|
| 26 |
warnings.warn("'cloud_sptheme.ext.relbar_toc' is deprecated, " |
| 27 |
"use 'cloud_sptheme.ext.relbar_links' instead", |
| 28 |
PendingDeprecationWarning) |
| 29 |
return relbar_links.setup(app) |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|