Commit bcf566a2 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

doc: Fix packaging and customize theme

parent e3401b01
......@@ -21,7 +21,14 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
EXTRA_DIST = README.rst apiref-header.rst index.rst mkapiref.py
EXTRA_DIST = README.rst apiref-header.rst index.rst mkapiref.py python.rst \
package_README.rst
doc_staticdir = $(docdir)/_static
dist_doc_static_DATA = _static/default2.css
doc_templatesdir = $(docdir)/_templates
dist_doc_templates_DATA = _templates/menu.html
# Makefile for Sphinx documentation
#
......
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic);
pre, tt {
font-family: "Courier New", courier, monospace;
}
......@@ -123,7 +123,8 @@ html_theme = 'default'
# 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
# documentation.
#html_theme_options = {}
html_theme_options = {'bodyfont':'roboto, sans-serif',
'headfont':'roboto, "Trebuchet MS", sans-serif'}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
......@@ -244,3 +245,6 @@ man_pages = [
('index', 'spdylay', u'Spdylay Documentation',
[u'Tatsuhiro Tsujikawa'], 1)
]
def setup(app):
app.add_stylesheet('default2.css')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment