Browse Source

docs: add ability to do custom css styling

dev
Andy Meneely 10 years ago
parent
commit
6e012652b8
  1. 3
      docs/_static/css/squibdocs.css
  2. 4
      docs/arrays.rst
  3. 1
      docs/conf.py
  4. 7
      docs/dsl/background.rst

3
docs/_static/css/squibdocs.css vendored

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

4
docs/arrays.rst

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

1
docs/conf.py

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

7
docs/dsl/background.rst

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

Loading…
Cancel
Save