diff --git a/.gitattributes b/.gitattributes index f741aec..2178a26 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -sphinx_pyviz_theme/_version.py export-subst +sphinx_holoviz_theme/_version.py export-subst diff --git a/LICENSE.txt b/LICENSE.txt index 2905029..3893fc4 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -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 @@ -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. diff --git a/MANIFEST.in b/MANIFEST.in index eff5dbf..cb37466 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/README.md b/README.md index 97cb466..a54d575 100644 --- a/README.md +++ b/README.md @@ -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', @@ -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. \ No newline at end of file +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. diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 4549beb..5161e6a 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -1,7 +1,7 @@ {% set sdata = load_setup_py_data() %} package: - name: sphinx_pyviz_theme + name: sphinx_holoviz_theme version: {{ sdata['version'] }} source: @@ -25,7 +25,7 @@ requirements: test: imports: - - sphinx_pyviz_theme + - sphinx_holoviz_theme about: home: {{ sdata['url'] }} diff --git a/setup.cfg b/setup.cfg index c85111e..fab1ee4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/setup.py b/setup.py index 1ace43d..f660d62 100644 --- a/setup.py +++ b/setup.py @@ -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', @@ -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", diff --git a/sphinx_pyviz_theme/__init__.py b/sphinx_holoviz_theme/__init__.py similarity index 56% rename from sphinx_pyviz_theme/__init__.py rename to sphinx_holoviz_theme/__init__.py index a49d6b4..3442f9b 100644 --- a/sphinx_pyviz_theme/__init__.py +++ b/sphinx_holoviz_theme/__init__.py @@ -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__))) diff --git a/sphinx_pyviz_theme/_version.py b/sphinx_holoviz_theme/_version.py similarity index 99% rename from sphinx_pyviz_theme/_version.py rename to sphinx_holoviz_theme/_version.py index ace8a7a..273a5fa 100644 --- a/sphinx_pyviz_theme/_version.py +++ b/sphinx_holoviz_theme/_version.py @@ -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 diff --git a/sphinx_pyviz_theme/includes/ga.html b/sphinx_holoviz_theme/includes/ga.html similarity index 100% rename from sphinx_pyviz_theme/includes/ga.html rename to sphinx_holoviz_theme/includes/ga.html diff --git a/sphinx_pyviz_theme/includes/searchbox.html b/sphinx_holoviz_theme/includes/searchbox.html similarity index 100% rename from sphinx_pyviz_theme/includes/searchbox.html rename to sphinx_holoviz_theme/includes/searchbox.html diff --git a/sphinx_pyviz_theme/layout.html b/sphinx_holoviz_theme/layout.html similarity index 100% rename from sphinx_pyviz_theme/layout.html rename to sphinx_holoviz_theme/layout.html diff --git a/sphinx_pyviz_theme/search.html b/sphinx_holoviz_theme/search.html similarity index 100% rename from sphinx_pyviz_theme/search.html rename to sphinx_holoviz_theme/search.html diff --git a/sphinx_pyviz_theme/static/css/main.css_t b/sphinx_holoviz_theme/static/css/main.css_t similarity index 100% rename from sphinx_pyviz_theme/static/css/main.css_t rename to sphinx_holoviz_theme/static/css/main.css_t diff --git a/sphinx_pyviz_theme/static/images/favicon.ico b/sphinx_holoviz_theme/static/images/favicon.ico similarity index 100% rename from sphinx_pyviz_theme/static/images/favicon.ico rename to sphinx_holoviz_theme/static/images/favicon.ico diff --git a/sphinx_pyviz_theme/static/images/logo.png b/sphinx_holoviz_theme/static/images/logo.png similarity index 100% rename from sphinx_pyviz_theme/static/images/logo.png rename to sphinx_holoviz_theme/static/images/logo.png diff --git a/sphinx_pyviz_theme/static/js/main.js b/sphinx_holoviz_theme/static/js/main.js similarity index 100% rename from sphinx_pyviz_theme/static/js/main.js rename to sphinx_holoviz_theme/static/js/main.js diff --git a/sphinx_pyviz_theme/theme.conf b/sphinx_holoviz_theme/theme.conf similarity index 100% rename from sphinx_pyviz_theme/theme.conf rename to sphinx_holoviz_theme/theme.conf