docs: add ability to do custom css styling

dev
Andy Meneely 2016-01-28 20:41:41 -05:00
parent 0b63af6ba3
commit 6e012652b8
4 changed files with 10 additions and 5 deletions

3
docs/_static/css/squibdocs.css vendored Normal file
View File

@ -0,0 +1,3 @@
@import url("theme.css");
/* Can add custom styling here */

View File

@ -4,8 +4,8 @@ Squib Thinks in Arrays
.. _using_ranges:
Using ``range``
---------------
Using ``range`` to specify cards
--------------------------------
There's another way to limit a method to certain cards: the ``range`` parameter.

View File

@ -110,6 +110,7 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme' # https://github.com/snide/sphinx_rtd_theme
html_style = 'css/squibdocs.css'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the

View File

@ -3,19 +3,20 @@ background
Fills the background with the given color
Support Arrays, see {file:README.md#Arrays_and_Singleton_Expansion Arrays and Singleon Expansion}
Options
^^^^^^^
All options support arrays and singleton expansion. See :doc:`/arrays`
range
default: ``:all``
the range of cards over which this will be rendered. See :ref:`using_ranges`
color
default: ``:black`` . See :doc:`/colors`
default: ``:black``
the color to fill the background with.
the color to fill the background with. See :doc:`/colors`.
Examples