GithubHelp home page GithubHelp logo

pallets / flask-sphinx-themes Goto Github PK

View Code? Open in Web Editor NEW
165.0 5.0 60.0 37 KB

Sphinx themes for Pallets projects

Home Page: https://www.palletsprojects.com/

License: Other

Python 73.83% HTML 26.17%
sphinx sphinx-theme documentation flask

flask-sphinx-themes's Introduction

Flask Sphinx Themes

Modern Pallets themes have moved to https://github.com/pallets/pallets-sphinx-themes. The Flask theme has been updated an included there. This repository is no longer maintained.

This repository contains Sphinx themes for Flask and Flask related projects. To use this theme in your Sphinx documentation:

  1. Install the package using pip: pip install Flask-Sphinx-Themes
  2. Add this to conf.py:

    html_theme = 'flask'

Themes

The following themes exist for html_theme.

flask

The standard Flask documentation theme for large projects

flask_small

Small single page theme. Intended to be used by very small addon libraries for Flask.

Options

The following options can be set with html_theme_options.

index_logo

Filename of a picture in _static to be used as replacement for the h1 in the index.rst file. Default unset.

index_logo_height

Height of the index logo. Default 120px.

touch_icon

Filename of a picture in _static to be use as the app icon on Apple devices. Default unset.

github_fork

Repository name on GitHub for the "Fork Me" badge. Default unset.

github_ribbon_color

Color for the "Fork Me" badge. Default darkblue_121621.

Sidebar Templates

The following sidebar templates can be included in html_sidebars.

relations.html Show parent, previous, and next links.

Pygments Style

The theme automatically sets pygments_style to the provided style. Make sure you remove any override from conf.py or set it to flasky.

flask-sphinx-themes's People

Contributors

davidism avatar dev-zero avatar glyph avatar joar avatar mitsuhiko avatar turbo87 avatar xsleonard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flask-sphinx-themes's Issues

Please make the side bar fixed

This way we don't have to scroll up every time...
This is especially trough to project with really long docs like flask, but it
also been an issue while reading the docs for click.

Simple add to flasky.css,

div.sphinxsidebarwrapper {
    padding: 18px 10px;
    position: fixed;
    word-wrap: break-word;
    width: 10%;

}

this makes it really nice to read.

If you want, I can make a PR.

theme_github_fork for full theme?

It seems like theme_github_fork is only provided for the small version of the theme. Is there a particular reason this isn't provided for the full theme?

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.