Skip to main content
https://github.com/SwissDataScienceCenter/renku-sphinx-theme/actions/workflows/test.yml/badge.svg https://img.shields.io/github/tag/SwissDataScienceCenter/renku-sphinx-theme.svg https://img.shields.io/pypi/dm/renku-sphinx-theme.svg https://img.shields.io/github/license/SwissDataScienceCenter/renku-sphinx-theme.svg

A Sphinx theme for Renku documentation based on RTD theme.

Installation

  1. Add renku-sphinx-theme to setup.py or requirements.txt used for building your documentation.

  2. Set html_theme to 'renku' in docs/conf.py.

  3. 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

  1. From the base folder… pip install -r docs/requirements.txt

  2. This should be done in case there where changes in fonts or new css files added pip install --editable .

  3. 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

  1. Create a pull request updating renku_sphinx_theme/version.py to the new version number and CHANGES.rst to list the new changes.

  2. Once the pull request is merged, create a new release.

  3. The release will be automatically be pushed to PyPI.

Changes

0.3.0 (2023-08-14)

Big dependency update.

0.2.3 (2023-04-26)

  • chore: add dependabot.yml (76baee5)

  • chore: remove dependency on non-existent compile-scss (617e566)

  • chore: fix pypi description (23536d9)

  • chore(deps): update sphinx-rtd-theme requirement (2ca96ca)

  • chore: bump python version (0dd1fe6)

  • chore: delete layout.html (5fa988d)

  • fix: update styles to fix sidebar background leaking into main content (5ab737b)

0.2.2 (2021-07-09)

  • design: new design for renku-sphinx (3cf7ec7)

  • chore: replace travis CI with github actions (4056830)

0.1.0 (2018-05-17)

  • Initial public release.

Release files for renku-sphinx-theme 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for renku-sphinx-theme 0.4.0
File Size Uploaded
renku-sphinx-theme-0.4.0.tar.gz 586.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for renku-sphinx-theme 0.4.0
File Interpreter ABI Platform
renku_sphinx_theme-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 1.2 MB

Release files / renku-sphinx-theme-0.4.0.tar.gz

Download URL renku-sphinx-theme-0.4.0.tar.gz
Size 586.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1374990e37120fe09e75914688a697cbe44e245b173c1438611ef9c79b8bf687
BLAKE2b-256 checksum
How to use checksums
e23ccd65eefcc938e75b3b2941655aa3c7a36abd98b99444ed0e1fe41450c206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / renku_sphinx_theme-0.4.0-py2.py3-none-any.whl

Download URL renku_sphinx_theme-0.4.0-py2.py3-none-any.whl
Size 579.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4901d7ca7074469deb25ddd3c4c0651627eaffbb04bc5fcfd5bc65f0e911b0f3
BLAKE2b-256 checksum
How to use checksums
5ed7465d4f1be18d85cb0e3840c20d1f24fa9469773bb35ef46376b591532bb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page