Source code for pyquickhelper.sphinxext.revealjs
# -*- coding: utf-8 -*-
"""
sphinxjp.themes.revealjs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:author: tell-k <ffk2005@gmail.com>
:copyright: tell-k. All Rights Reserved.
Taken from `github/return42 <https://github.com/return42/sphinxjp.themes.revealjs>`_.
:githublink:`%|py|11`
"""
from os import path
from . import directives
__version__ = '0.3.1'
package_dir = path.abspath(path.dirname(__file__))
template_path = path.join(package_dir, 'templates')
[docs]def get_path():
"""
entry-point for sphinx theme.
:githublink:`%|py|22`
"""
return template_path # pragma: no cover
[docs]def setup(app):
"""
entry-point for sphinx directive.
:githublink:`%|py|27`
"""
directives.setup(app) # pragma: no cover