doc: Fix packaging and customize theme
This commit is contained in:
parent
e3401b0159
commit
bcf566a2f4
|
@ -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
|
||||
#
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
@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')
|
||||
|
|
Loading…
Reference in New Issue