Coder Social home page Coder Social logo

santosr2 / renku-sphinx-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swissdatasciencecenter/renku-sphinx-theme

0.0 0.0 0.0 619 KB

Sphinx theme for Renku documentation.

License: Apache License 2.0

Shell 4.48% Python 27.58% CSS 33.06% HTML 8.10% SCSS 26.79%

renku-sphinx-theme's Introduction

Sphinx Theme for Renku Projects

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.

renku-sphinx-theme's People

Contributors

jirikuncar avatar rokroskar avatar m-alisafaee avatar leafty avatar vfried avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.