Skip to content

Commit

Permalink
Renaming from sphinx_pyviz_theme to sphinx_holoviz_theme (#11)
Browse files Browse the repository at this point in the history
* Renaming from sphinx_pyviz_theme to sphinx_holoviz_theme

* Renaming dir
  • Loading branch information
jsignell authored Nov 7, 2019
1 parent a62926b commit a64bdf4
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sphinx_pyviz_theme/_version.py export-subst
sphinx_holoviz_theme/_version.py export-subst
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017-2019, PyViz (pyviz.org)
Copyright (c) 2017-2019, HoloViz (holoviz.org)
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand All @@ -13,7 +13,7 @@ met:
documentation and/or other materials provided with the
distribution.

* Neither the name of PyViz nor the names of its contributors
* Neither the name of HoloViz nor the names of its contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include versioneer.py
include sphinx_pyviz_theme/_version.py
include sphinx_holoviz_theme/_version.py
include LICENSE.txt
include README.md
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# sphinx_pyviz_theme: Theme for building pyviz sites
# sphinx_holoviz_theme: Theme for building HoloViz sites

| | |
| --- | --- |
| Build Status | [![Linux/MacOS Build Status](https://travis-ci.org/pyviz-dev/sphinx_pyviz_theme.svg?branch=master)](https://travis-ci.org/pyviz-dev/sphinx_pyviz_theme) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/pyviz-dev/sphinx_pyviz_theme.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/sphinx_pyviz_theme/tags) |
| Latest release | [![Github release](https://img.shields.io/github/release/pyviz-dev/sphinx_pyviz_theme.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/sphinx_pyviz_theme/releases) [![PyPI version](https://img.shields.io/pypi/v/sphinx_pyviz_theme.svg?colorB=cc77dd)](https://pypi.python.org/pypi/sphinx_pyviz_theme) [![sphinx_pyviz_theme version](https://img.shields.io/conda/v/pyviz/sphinx_pyviz_theme.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/sphinx_pyviz_theme) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/sphinx_pyviz_theme.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/sphinx_pyviz_theme) |
| Build Status | [![Linux/MacOS Build Status](https://travis-ci.org/pyviz-dev/sphinx_holoviz_theme.svg?branch=master)](https://travis-ci.org/pyviz-dev/sphinx_holoviz_theme) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/pyviz-dev/sphinx_holoviz_theme.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/sphinx_holoviz_theme/tags) |
| Latest release | [![Github release](https://img.shields.io/github/release/pyviz-dev/sphinx_holoviz_theme.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/sphinx_holoviz_theme/releases) [![PyPI version](https://img.shields.io/pypi/v/sphinx_holoviz_theme.svg?colorB=cc77dd)](https://pypi.python.org/pypi/sphinx_holoviz_theme) [![sphinx_holoviz_theme version](https://img.shields.io/conda/v/pyviz/sphinx_holoviz_theme.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/sphinx_holoviz_theme) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/sphinx_holoviz_theme.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/sphinx_holoviz_theme) |

## What is it?
sphinx_pyviz_theme is the theme that is used when building sites in the
[pyviz](https://pyviz.org) ecosystem. This theme is best used in conjunction
with [nbsite](https://github/pyviz/nbsite). See the [nbsite docs](https://nbsite.pyviz.org)
sphinx_holoviz_theme is the theme that is used when building sites in the
[HoloViz](https://holoviz.org) ecosystem. This theme is best used in conjunction
with [nbsite](https://github/pyviz-dev/nbsite). See the [nbsite docs](https://nbsite.pyviz.org)
for examples.

## How to use

To use this theme: `pip/conda install sphinx_pyviz_theme` and set html_theme to sphinx_pyviz_theme. To control the look and feel, change html_theme_options in conf.py:
To use this theme: `pip/conda install sphinx_holoviz_theme` and set html_theme to sphinx_holoviz_theme. To control the look and feel, change html_theme_options in conf.py:

```python
html_static_path += ['_static']
html_theme = 'sphinx_pyviz_theme'
html_theme = 'sphinx_holoviz_theme'
html_theme_options = {
'custom_css': 'site.css',
'logo': 'nbsite-logo.png',
Expand All @@ -43,8 +43,9 @@ general improvements. If you have general improvements, please open a PR on the



## About PyViz
## About HoloViz

sphinx_pyviz_theme is part of the PyViz initiative for making Python-based visualization tools work well together.
See [pyviz.org](http://pyviz.org) for related packages that you can use with sphinx_pyviz_theme and
[status.pyviz.org](http://status.pyviz.org) for the current status of each PyViz project.
sphinx_holoviz_theme is part of the HoloViz ecosystem for making high-level tools to simplify
visualization in Python. See [holoviz.org](http://holoviz.org) for related packages that you
can use with sphinx_holoviz_theme and [status.pyviz.org](http://status.pyviz.org) for the
current status of each HoloViz project.
4 changes: 2 additions & 2 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set sdata = load_setup_py_data() %}

package:
name: sphinx_pyviz_theme
name: sphinx_holoviz_theme
version: {{ sdata['version'] }}

source:
Expand All @@ -25,7 +25,7 @@ requirements:

test:
imports:
- sphinx_pyviz_theme
- sphinx_holoviz_theme

about:
home: {{ sdata['url'] }}
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ license_file = LICENSE.txt

[versioneer]
VCS = git
versionfile_source = sphinx_pyviz_theme/_version.py
versionfile_build = sphinx_pyviz_theme/_version.py
versionfile_source = sphinx_holoviz_theme/_version.py
versionfile_build = sphinx_holoviz_theme/_version.py
tag_prefix =
parentdir_prefix = sphinx_pyviz_theme-
parentdir_prefix = sphinx_holoviz_theme-
style = pep440-pre
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
import versioneer

setup_args = dict(
name='sphinx_pyviz_theme',
name='sphinx_holoviz_theme',
version=versioneer.get_version(),
url="https://github.com/pyviz-dev/sphinx_pyviz_theme",
description="Theme for building pyviz sites; best when used with nbsite.",
url="https://github.com/pyviz-dev/sphinx_holoviz_theme",
description="Theme for building HoloViz sites; best when used with nbsite.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="BSD-3",
zip_safe=False,
packages=['sphinx_pyviz_theme'],
package_data={'sphinx_pyviz_theme': [
packages=['sphinx_holoviz_theme'],
package_data={'sphinx_holoviz_theme': [
'theme.conf',
'*.html',
'includes/*.html',
Expand All @@ -23,7 +23,7 @@
include_package_data=True,
entry_points = {
'sphinx.html_themes': [
'sphinx_pyviz_theme = sphinx_pyviz_theme',
'sphinx_holoviz_theme = sphinx_holoviz_theme',
]
},
python_requires = ">=2.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
del get_versions

def setup(app):
app.add_html_theme('sphinx_pyviz_theme', os.path.abspath(os.path.dirname(__file__)))
app.add_html_theme('sphinx_holoviz_theme', os.path.abspath(os.path.dirname(__file__)))
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def get_config():
cfg.VCS = "git"
cfg.style = "pep440-pre"
cfg.tag_prefix = ""
cfg.parentdir_prefix = "sphinx_pyviz_theme-"
cfg.versionfile_source = "sphinx_pyviz_theme/_version.py"
cfg.parentdir_prefix = "sphinx_holoviz_theme-"
cfg.versionfile_source = "sphinx_holoviz_theme/_version.py"
cfg.verbose = False
return cfg

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit a64bdf4

Please sign in to comment.