Jupyter Alabaster Theme
Project description
# Jupyter Alabaster Theme
A Sphinx theme for Jupyter based on the [Alabaster theme](https://alabaster.readthedocs.io/en/latest/).
To use this theme on any Sphinx based documentation, follow these steps:
## Installation
Install the `jupyter_alabaster_theme` package using pip:
```bash
pip install jupyter_alabaster_theme
```
## Configuration
To use the theme in your Sphinx based documentation, follow these steps. For further
details, see the documentation for this theme [here]().
### Edit `conf.py`
Most of the work to use the theme is in editing your `conf.py` file that configures
Sphinx.
First, You will need to set the theme itself to `jupyter_alabaster_theme`:
```python
html_theme = 'jupyter_alabaster_theme'
```
Second, you will need to add `jupyter_alabaster_theme` to the list of extensions:
```python
extensions = [
...
'jupyter_alabaster_theme',
]
```
Finally, at the bottom of `conf.py`, the following block of code, if present, should be removed:
```python
if not on_rtd:
# only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
```
### Update documentation dependencies
To get your documentation to build, you will need to update its build dependencies. Update your `environment.yml` or `requirements.txt` to depend on `jupyter_alabaster_theme` to get the build working on ReadTheDocs. Note, we have not yet released a [Conda](https://conda.io/docs/intro.html) package for this theme, so you will need to list it in the `environment.yml` file under the `pip` section.
## Questions
If you have questions about this project, please go to our Gitter channel:
https://gitter.im/jupyter/jupyter
A Sphinx theme for Jupyter based on the [Alabaster theme](https://alabaster.readthedocs.io/en/latest/).
To use this theme on any Sphinx based documentation, follow these steps:
## Installation
Install the `jupyter_alabaster_theme` package using pip:
```bash
pip install jupyter_alabaster_theme
```
## Configuration
To use the theme in your Sphinx based documentation, follow these steps. For further
details, see the documentation for this theme [here]().
### Edit `conf.py`
Most of the work to use the theme is in editing your `conf.py` file that configures
Sphinx.
First, You will need to set the theme itself to `jupyter_alabaster_theme`:
```python
html_theme = 'jupyter_alabaster_theme'
```
Second, you will need to add `jupyter_alabaster_theme` to the list of extensions:
```python
extensions = [
...
'jupyter_alabaster_theme',
]
```
Finally, at the bottom of `conf.py`, the following block of code, if present, should be removed:
```python
if not on_rtd:
# only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
```
### Update documentation dependencies
To get your documentation to build, you will need to update its build dependencies. Update your `environment.yml` or `requirements.txt` to depend on `jupyter_alabaster_theme` to get the build working on ReadTheDocs. Note, we have not yet released a [Conda](https://conda.io/docs/intro.html) package for this theme, so you will need to list it in the `environment.yml` file under the `pip` section.
## Questions
If you have questions about this project, please go to our Gitter channel:
https://gitter.im/jupyter/jupyter
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupyter_alabaster_theme-0.3.0.tar.gz
(194.6 kB
view hashes)
Built Distribution
Close
Hashes for jupyter_alabaster_theme-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb7e3a5107ea81f6600dc97084c3a013a298801f43bc246bb7da4e8f1d86761 |
|
MD5 | e1c17df9ba90041d88a07f8aa6b43ceb |
|
BLAKE2b-256 | a325c58d5c43994f65d5731d6632a10c9f0e68c9f5bcc3b6d750b7d29d65e274 |
Close
Hashes for jupyter_alabaster_theme-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c709378c72049d00a1060801c5f9550894c4794357cbdfe7fb1677b1c50d96 |
|
MD5 | 263cf1f2a08340e2cdcb70ba2558f17b |
|
BLAKE2b-256 | 403ea6c0c80e62fbd8a354b3786c6c83eb90aa8d6fa6716c2823e68725a8ba37 |