Renaming to `sphinx_sleekcat_theme`

rc1
miili 6 years ago
parent fa85060315
commit 13fc367154

@ -31,7 +31,7 @@ Enhanced Sphinx theme (based on Python 3 docs)
:alt: PyPI Package monthly downloads
:target: https://pypi.python.org/pypi/sphinx-py3doc-enhanced-theme
A theme based on the theme of https://docs.python.org/3/ with some responsive enhancements.
A theme based on https://github.com/ionelmc/sphinx-py3doc-enhanced-theme
* Free software: BSD license
@ -40,15 +40,15 @@ Installation
::
pip install sphinx_py3doc_enhanced_theme
pip install sphinx_sleekcat_theme
Add this in your documentation's ``conf.py``:
.. sourcecode:: python
import sphinx_py3doc_enhanced_theme
html_theme = "sphinx_py3doc_enhanced_theme"
html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()]
import sphinx_sleekcat_theme
html_theme = "sphinx_sleekcat_theme"
html_theme_path = [sphinx_sleekcat_theme.get_html_theme_path()]
Customization
=============
@ -63,7 +63,7 @@ To get the original styling Python 3 docs have add this in you ``conf.py``:
.. sourcecode:: python
html_theme_options = {
'githuburl': 'https://github.com/ionelmc/sphinx-py3doc-enhanced-theme/',
'githuburl': 'https://github.com/pyrocko/pyrocko/',
'bodyfont': '"Lucida Grande",Arial,sans-serif',
'headfont': '"Lucida Grande",Arial,sans-serif',
'codefont': 'monospace,sans-serif',
@ -83,7 +83,7 @@ To have a custom favicon create a ``theme`` directory near your ``conf.py`` and
.. sourcecode:: ini
[theme]
inherit = sphinx_py3doc_enhanced_theme
inherit = sphinx_sleekcat_theme
Then create a ``favicon.png`` in the ``static`` directory.
@ -91,9 +91,9 @@ And then edit your ``conf.py`` to have something like this:
.. sourcecode:: python
import sphinx_py3doc_enhanced_theme
import sphinx_sleekcat_theme
html_theme = "theme"
html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path(), "."]
html_theme_path = [sphinx_sleekcat_theme.get_html_theme_path(), "."]
The final file structure should be like this::

@ -23,14 +23,14 @@ def read(*names, **kwargs):
setup(
name='sphinx-py3doc-enhanced-theme',
version='2.4.0',
name='sphinx-sleekcat-theme',
version='0.1.0',
license='BSD',
description='A theme based on the theme of https://docs.python.org/3/ with some responsive enhancements.',
description='A theme based on the https://github.com/ionelmc/sphinx-py3doc-enhanced-theme',
long_description='%s\n%s' % (read('README.rst'), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))),
author='Ionel Cristian Mărieș',
author='Pyrocko Developer Team',
author_email='contact@ionelmc.ro',
url='https://github.com/ionelmc/sphinx-py3doc-enhanced-theme',
url='https://github.com/pyrocko/spinx-sleekcat-theme',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
@ -56,7 +56,7 @@ setup(
],
entry_points = {
'sphinx_themes': [
'path = sphinx_py3doc_enhanced_theme:get_html_theme_path',
'path = sphinx_sleekcat_theme:get_html_theme_path',
]
},
keywords=[

Loading…
Cancel
Save