mirror of https://github.com/aria2/aria2
doc: Customize theme
parent
561f0b3e29
commit
b9ee9a1195
|
@ -13,7 +13,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|||
|
||||
# Configurations for aria2.
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst _static/default2.css
|
||||
|
||||
$(man_MANS): aria2c.rst
|
||||
$(MAKE) man
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -96,7 +96,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 = []
|
||||
|
@ -213,3 +214,6 @@ latex_documents = [
|
|||
man_pages = [
|
||||
('aria2c', 'aria2c', u'The ultra fast download utility', [], 1)
|
||||
]
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('default2.css')
|
||||
|
|
|
@ -14,7 +14,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
|||
# Configurations for aria2.
|
||||
mandir = @mandir@/ru
|
||||
man_MANS = $(BUILDDIR)/man/aria2c.1
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst
|
||||
EXTRA_DIST = $(man_MANS) aria2c.rst index.rst _static/default2.css
|
||||
|
||||
$(man_MANS): aria2c.rst
|
||||
$(MAKE) man
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -96,7 +96,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 = []
|
||||
|
@ -213,3 +214,6 @@ latex_documents = [
|
|||
man_pages = [
|
||||
('aria2c', 'aria2c', u'сверхбыстрая утилита загрузки', [], 1)
|
||||
]
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('default2.css')
|
||||
|
|
Loading…
Reference in New Issue