Skip to main content

A Sphinx theme for Renku documentation.

Project description

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

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

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

renku-sphinx-theme-0.2.3.tar.gz (586.5 kB view details)

Uploaded Source

Built Distribution

renku_sphinx_theme-0.2.3-py2.py3-none-any.whl (579.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file renku-sphinx-theme-0.2.3.tar.gz.

File metadata

  • Download URL: renku-sphinx-theme-0.2.3.tar.gz
  • Upload date:
  • Size: 586.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for renku-sphinx-theme-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ef61af9b3c43799bc0882e912a744b7c8ff214c7f25625dd12de16545ddea601
MD5 68ac36b39e6f139a69e6605b598b52c3
BLAKE2b-256 4a4b2b7bc92f83c5cd0956ca0121d31c303256c5fabf0b92f645e74407dc9d3b

See more details on using hashes here.

File details

Details for the file renku_sphinx_theme-0.2.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for renku_sphinx_theme-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4654ebd2365cac91c7ab5ed17587a1776a97b496db9f7ca1bd75f20c95902a43
MD5 6a6252f5dbe1c8d3d00606ab000b8242
BLAKE2b-256 e88c1adb5a127258419e91afced78a40f06995f1deee3f01fb1eb466ede172a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page