Debian Codegraph @

docs/index.rst

raw
1 =========================
2 Alabaster: a Sphinx theme
3 =========================
4
5 .. include:: ../README.rst
6
7 Features
8 ========
9
10 * Easy ability to install/use as a Python package (tip o' the hat to `Dave &
11 Eric's sphinx_rtd_theme <https://github.com/readthedocs/sphinx_rtd_theme>`_ for
12 showing the way);
13 * Style tweaks compared to the source themes, such as better code-block
14 alignment, Github button placement, page source link moved to footer,
15 improved (optional) related-items sidebar item, and many more;
16 * Many customization hooks, including toggle of various sidebar & footer
17 components; header/link/etc color control; etc;
18 * Improved documentation for all customizations (pre-existing & new).
19
20
21 Project background
22 ==================
23
24 Alabaster is a modified (with permission) version of `Kenneth Reitz's
25 <https://www.kennethreitz.org/>`_ `"krTheme" Sphinx theme
26 <https://github.com/kennethreitz-archive/kr-sphinx-themes>`_ (it's the one used
27 in his `Requests <https://requests.readthedocs.io/>`_ project). Kenneth's
28 theme was itself originally based on Armin Ronacher's `Flask
29 <https://flask.palletsprojects.com/>`_ theme. Many thanks to both for their hard work.
30
31
32 Implementation notes
33 ====================
34
35 * `Fabric #419 <https://github.com/fabric/fabric/issues/419>`_ contains a lot of
36 general exposition & thoughts as I developed Alabaster, specifically with a
37 mind towards using it on two nearly identical 'sister' sites (single-version
38 www 'info' site & versioned API docs site).
39 * Alabaster includes/requires a tiny Sphinx extension on top of the theme
40 itself; this is just so we can inject dynamic metadata (like Alabaster's own
41 version number) into template contexts. It doesn't add any additional
42 directives or the like, at least not yet.
43
44
45 .. toctree::
46 :hidden:
47 :glob:
48
49 *