A Sphinx theme for Renku documentation.
Project description
A Sphinx theme for Renku documentation based on RTD theme.
Installation
Add renku-sphinx-theme to setup.py or requirements.txt used for building your documentation.
Set html_theme to 'renku' in docs/conf.py.
Configure at least description and github_repo in html_theme_options.
Enjoy your beautiful Renku documentation style.
Style (css)
This repo contains a scss file that generates a css file. The css file shouldn’t be manually modified since it’s generated with the scss. Instructions to change and run the scss file are inside the scss file.
The easy way of doing style changes in this repository is to go to the renku repo, add a temporary css (custom.css) in the docs/conf.py file and follow this steps:
https://renku.readthedocs.io/en/latest/developer/contributing/documentation.html
The reason for this is that renku docs is a better repository for testing changes.
After doing the changes in the temporary css add this to custom.scss in this repository, build this into a css file using the instructions and commit the css and scss files.
Building
To build docs after doing changes, and test things inside this repository
From the base folder… pip install -r docs/requirements.txt
This should be done in case there where changes in fonts or new css files added pip install --editable .
There is no Makefile here but in order to do the “make html” action you should do
cd docs sphinx-build -b html -d _build/doctrees . _build/html
Docs will be built into _build/html... open this files with chrome to see the changes.
Releasing
After doing changes, a new release should be published in pypi under the sdsc-org account.
To release a new version, change the version inside version.py, do step 1 and 2 of Building. Then do python3 -m twine upload dist/* and the new release will be published on pypi.
Changes
0.2.2 (2021-07-09)
0.1.0 <https://github.com/SwissDataScienceCenter/renku-sphinx-theme/releases/tag/v0.1.0>__ (2018-05-17)
Initial public release.
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
Built Distribution
File details
Details for the file renku-sphinx-theme-0.2.2.tar.gz
.
File metadata
- Download URL: renku-sphinx-theme-0.2.2.tar.gz
- Upload date:
- Size: 579.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b33d7bcbae1b95fda678afec0f4995a10a60722663e80609cf9b36a38d63005d |
|
MD5 | c650a762635eccf9ea755a23a259455a |
|
BLAKE2b-256 | c3b8852407d386b82d76b44a00dcb3beb92d0ce448b2f2ddb606dcceeaf82288 |
File details
Details for the file renku_sphinx_theme-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: renku_sphinx_theme-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 579.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98bb34f83569a2f0637864d6a5fc6676e632ee72c0dfd7a8426934a086e2bc93 |
|
MD5 | a92fc41e9691c2543d209fc239f7ed55 |
|
BLAKE2b-256 | 773c853e5a8ddcb101e290ad150bf129cf48386333ea87804f0187164de257eb |