From 153ce361b3b507d5f07f225a6c6d166be80eac97 Mon Sep 17 00:00:00 2001 From: jab Date: Tue, 13 Feb 2018 12:13:24 +0000 Subject: [PATCH] tiny cosmetic docs tweaks --- README.rst | 8 ++++---- _static/custom.css | 4 ++++ docs/conf.py | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 605856a..3b8aec1 100644 --- a/README.rst +++ b/README.rst @@ -24,13 +24,13 @@ Status :target: https://bidict.readthedocs.io/en/master/ :alt: Documentation -.. image:: https://travis-ci.org/jab/bidict.svg?branch=master +.. image:: https://api.travis-ci.org/jab/bidict.svg?branch=master :target: https://travis-ci.org/jab/bidict - :alt: Travis-CI build status (Linux and macOS) + :alt: Travis-CI build status .. image:: https://ci.appveyor.com/api/projects/status/gk133415udncwto3/branch/master?svg=true :target: https://ci.appveyor.com/project/jab/bidict - :alt: AppVeyor build status (Windows) + :alt: AppVeyor (Windows) build status .. image:: https://codecov.io/gh/jab/bidict/branch/master/graph/badge.svg :target: https://codecov.io/gh/jab/bidict @@ -79,7 +79,7 @@ Installation ``pip install bidict`` -Quick start +Quick Start ----------- >>> from bidict import bidict diff --git a/_static/custom.css b/_static/custom.css index c5ad6ad..fdf802c 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -10,3 +10,7 @@ ul.simple li { a.image-reference:hover { border-bottom: 0 !important; } + +#status img { + max-width: 130px; /* override the inherited max-width: 100% in case a badge fails to load */ +} diff --git a/docs/conf.py b/docs/conf.py index 1f618fd..277f345 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -134,13 +134,13 @@ html_theme = 'alabaster' html_theme_options = dict( analytics_id='UA-10116163-3', description=bidict.__description__, + link_hover='#247BA1', github_banner=True, github_repo='bidict', github_type='star', github_user='jab', page_width='1000px', show_powered_by=False, - link_hover='#247BA1', ) # Add any paths that contain custom themes here, relative to this directory. @@ -205,7 +205,7 @@ html_sidebars = { html_split_index = True # If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True +html_show_sourcelink = False # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. html_show_sphinx = False