mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with 1.0.
This commit is contained in:
6
CHANGES
6
CHANGES
@@ -29,6 +29,12 @@ Release 1.1 (in development)
|
||||
Release 1.0.5 (in development)
|
||||
==============================
|
||||
|
||||
* #557: Add CSS styles required by docutils 0.7 for aligned images
|
||||
and figures.
|
||||
|
||||
* In the Makefile generated by LaTeX output, do not delete pdf files
|
||||
on clean; they might be required images.
|
||||
|
||||
* #535: Fix LaTeX output generated for line blocks.
|
||||
|
||||
* #544: Allow ``.pyw`` as a source file extension.
|
||||
|
||||
@@ -288,11 +288,6 @@ explained by an example::
|
||||
:type limit: integer or None
|
||||
:rtype: list of strings
|
||||
|
||||
It is also possible to combine parameter type and description, if the type is a
|
||||
single word, like this::
|
||||
|
||||
:param integer limit: maximum number of stack frames to show
|
||||
|
||||
This will render like this:
|
||||
|
||||
.. py:function:: format_exception(etype, value, tb[, limit=None])
|
||||
@@ -307,6 +302,11 @@ This will render like this:
|
||||
:type limit: integer or None
|
||||
:rtype: list of strings
|
||||
|
||||
It is also possible to combine parameter type and description, if the type is a
|
||||
single word, like this::
|
||||
|
||||
:param integer limit: maximum number of stack frames to show
|
||||
|
||||
|
||||
Cross-referencing Python objects
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -49,8 +49,7 @@ bz2: tar
|
||||
pdflatex $(LATEXOPTS) '$<'
|
||||
|
||||
clean:
|
||||
rm -f *.pdf *.dvi *.ps
|
||||
rm -f *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla
|
||||
rm -f *.dvi *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla
|
||||
|
||||
.PHONY: all all-pdf all-dvi all-ps clean
|
||||
|
||||
|
||||
@@ -326,6 +326,37 @@ div.footer .left {
|
||||
|
||||
/* Styles copied from basic theme */
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left {
|
||||
clear: left;
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right {
|
||||
clear: right;
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
clear: both;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* -- search page ----------------------------------------------------------- */
|
||||
|
||||
ul.search {
|
||||
|
||||
@@ -213,6 +213,24 @@ p.rubric {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left {
|
||||
clear: left;
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right {
|
||||
clear: right;
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user