Git Product home page Git Product logo

sphinx-themes.org's Introduction

console

Sphinx Themes

https://sphinx-themes.org

Sphinx Theme collections.

How to contribute

When you find new theme on PyPI, please file an issue. Currently, themes are updated by hands only.

How to add a new theme

Requirements:

  • docker
  • parcel (sudo npm install -g parcel-bundler)
  1. Fork the sphinx-themes.org repository
  2. Clone your fork:

    $ git clone https://github.com/<your-username>/sphinx-themes.org
  3. Create a new branch for your new theme:

    $ git checkout -b "Add <pypi-pkg-name-of-theme>"
  4. Build the docker container (this may take a long time):

    $ make build
  5. Generate assets for your new theme:

    $ PKG_NAME=<pypi-pkg-name-of-theme> THEME=<sphinx-theme-name> make build run

    Note: <pypi-pkg-name-of-theme> and <sphinx-theme-name> are sometimes different. Make sure to read the theme's documentation.

    • <pypi-pkg-name-of-theme> is the name you use to install the package (pip install <pypi-pkg-name-of-theme>)
    • <sphinx-theme-name> is the name you use in your sphinx conf.py (html_theme = '<sphinx-theme-name>')

    If something fails, check and edit the generated src/<pypi-pkg-name-of-theme>/<sphinx-theme-name>/conf.py manually and retry.

  6. Add an entry with the <pypi-pkg-name-of-theme> to log.csv
  7. Commit and push your changes:

    $ git add html src log.csv
    $ git commit -m "Add <pypi-pkg-name-of-theme>"
    $ git push
  8. Make a Pull Request on GitHub

License

BSD License (same as Sphinx)

sphinx-themes.org's People

Contributors

shirou avatar tk0miya avatar dependabot[bot] avatar

Watchers

 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.