Skip to content

Commit 15c446b

Browse files
committed
Merge branch 'master' into sequence-dispatcher
2 parents 75d2bb8 + c1fa994 commit 15c446b

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sudo: false
2+
13
language: python
24
python:
35
- "2.7"

docs/source/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import sys
1616
import os
1717

18+
import alabaster # radix
19+
1820
# If extensions (or modules to document with autodoc) are in another directory,
1921
# add these directories to sys.path here. If the directory is relative to the
2022
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -31,6 +33,7 @@
3133
extensions = [
3234
'sphinx.ext.autodoc',
3335
'sphinx.ext.viewcode',
36+
'alabaster', # radix
3437
]
3538

3639
# RADIX CUSTOMIZATION
@@ -112,7 +115,7 @@
112115
#html_theme_options = {}
113116

114117
# Add any paths that contain custom themes here, relative to this directory.
115-
#html_theme_path = []
118+
html_theme_path = [alabaster.get_path()] # radix
116119

117120
# The name for this set of Sphinx documents. If None, it defaults to
118121
# "<project> v<release> documentation".
@@ -149,7 +152,9 @@
149152
#html_use_smartypants = True
150153

151154
# Custom sidebar templates, maps document names to template names.
152-
#html_sidebars = {}
155+
html_sidebars = { # radix
156+
'**': ['about.html', 'navigation.html', 'searchbox.html', 'donate.html'],
157+
}
153158

154159
# Additional templates that should be rendered to pages, maps page names to
155160
# template names.

effect/ref.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ def modify(self, transformer):
3838
"""
3939
return Effect(ModifyReference(ref=self, transformer=transformer))
4040

41+
def __repr__(self):
42+
return "<Reference({})>".format(self._value)
43+
4144

4245
@attributes(['ref'])
4346
class ReadReference(object):

rtd-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# requirements for Read The Docs
2+
alabaster

0 commit comments

Comments
 (0)