mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge with default
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -157,6 +157,7 @@ Bugs fixed
|
||||
directory. Thanks to Peter Suter.
|
||||
* PR#297, #1571: Add imgpath property to all builders. It make easier to
|
||||
develop builder extensions. Thanks to Takeshi Komiya.
|
||||
* #1584: Point to master doc in HTML "top" link.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
@@ -71,9 +71,9 @@ class Builder(object):
|
||||
# images that need to be copied over (source -> dest)
|
||||
self.images = {}
|
||||
# basename of images directory
|
||||
imagedir = ""
|
||||
self.imagedir = ""
|
||||
# relative path to image directory from current docname (used at writing docs)
|
||||
imgpath = ""
|
||||
self.imgpath = ""
|
||||
|
||||
# these get set later
|
||||
self.parallel_ok = False
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
{%- if hasdoc('copyright') %}
|
||||
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
|
||||
{%- endif %}
|
||||
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
|
||||
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto(master_doc) }}" />
|
||||
{%- if parents %}
|
||||
<link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" />
|
||||
{%- endif %}
|
||||
|
||||
@@ -244,13 +244,13 @@ cite, code, tt {
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
tt {
|
||||
code {
|
||||
background-color: #F2F2F2;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
tt.descname, tt.descclassname, tt.xref {
|
||||
code.descname, code.descclassname, code.xref {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@@ -259,12 +259,12 @@ hr {
|
||||
margin: 2em;
|
||||
}
|
||||
|
||||
a tt {
|
||||
a code {
|
||||
border: 0;
|
||||
color: #CA7900;
|
||||
}
|
||||
|
||||
a tt:hover {
|
||||
a code:hover {
|
||||
color: #2491CF;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user