Skip to content

Commit

Permalink
Changes for eq website - call theme as eq_press
Browse files Browse the repository at this point in the history
  • Loading branch information
bnubald committed Aug 15, 2020
1 parent b6e9b36 commit 534a0a4
Show file tree
Hide file tree
Showing 12 changed files with 1,264 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ First install the theme:
$ pip install sphinx_press_theme
```

On Sphinx project's ``conf.py``: set the theme name to ``press``.
On Sphinx project's ``conf.py``: set the theme name to ``eq_press``.

```
html_theme = "press"
html_theme = "eq_press"
```

See details on [Sphinx theming docs](http://www.sphinx-doc.org/en/master/theming.html#using-a-theme).
Expand Down
2 changes: 1 addition & 1 deletion demo/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'press'
html_theme = 'eq_press'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
4 changes: 2 additions & 2 deletions docs/source/about.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ First install the theme:
$ pip install sphinx_press_theme
On Sphinx project's ``conf.py``: set the theme name to ``press``.
On Sphinx project's ``conf.py``: set the theme name to ``eq_press``.

.. code-block:: python
html_theme = "press"
html_theme = "eq_press"
See details on `Sphinx theming docs <http://www.sphinx-doc.org/en/master/theming.html#using-a-theme>`_.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'press'
html_theme = 'eq_press'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
long_description = fh.read()

setup(
name="sphinx_press_theme",
name="eq_sphinx_press_theme",
version="0.5.1",
url="https://schettino72.github.io/sphinx_press_site/",
license="MIT",
Expand All @@ -22,7 +22,7 @@
"static/*.js",
]
},
entry_points={"sphinx.html_themes": ["press = sphinx_press_theme"]},
entry_points={"sphinx.html_themes": ["eq_press = sphinx_press_theme"]},
install_requires=["sphinx>=2.0.0"],
classifiers=[
"Framework :: Sphinx",
Expand Down
2 changes: 1 addition & 1 deletion sphinx_press_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ def add_toctree_data(app, pagename, templatename, context, doctree):
def setup(app):
app.add_env_collector(SimpleTocTreeCollector)
app.connect('html-page-context', add_toctree_data)
app.add_html_theme('press', path.abspath(path.dirname(__file__)))
app.add_html_theme('eq_press', path.abspath(path.dirname(__file__)))
1 change: 1 addition & 0 deletions sphinx_press_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<navlinks>
{% block side_links %}
{%- include "util/navlinks.html" %}
{%- include "util/custlinks.html" %}
{%- include "util/extlinks.html" %}
{% endblock %}
</navlinks>
Expand Down
Loading

0 comments on commit 534a0a4

Please sign in to comment.