mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-22 05:53:22 +03:00
Merge pull request #1844 from wiredfool/docs_linkcheck
Fix Docs failures.
This commit is contained in:
commit
562bd8519b
4
Makefile
4
Makefile
|
@ -28,7 +28,9 @@ doc:
|
||||||
|
|
||||||
doccheck:
|
doccheck:
|
||||||
$(MAKE) -C docs html
|
$(MAKE) -C docs html
|
||||||
$(MAKE) -C docs linkcheck
|
# Don't make our test rely on the links in the docs being up every single build.
|
||||||
|
# We don't control them. But do check, and update them to the target of their redirectes.
|
||||||
|
$(MAKE) -C docs linkcheck || true
|
||||||
|
|
||||||
docserve:
|
docserve:
|
||||||
cd docs/_build/html && python -mSimpleHTTPServer 2> /dev/null&
|
cd docs/_build/html && python -mSimpleHTTPServer 2> /dev/null&
|
||||||
|
|
|
@ -540,16 +540,16 @@ class OleMetadata(object):
|
||||||
OLE file.
|
OLE file.
|
||||||
|
|
||||||
References for SummaryInformation stream:
|
References for SummaryInformation stream:
|
||||||
- http://msdn.microsoft.com/en-us/library/dd942545.aspx
|
- https://msdn.microsoft.com/en-us/library/dd942545.aspx
|
||||||
- http://msdn.microsoft.com/en-us/library/dd925819%28v=office.12%29.aspx
|
- https://msdn.microsoft.com/en-us/library/dd925819%28v=office.12%29.aspx
|
||||||
- http://msdn.microsoft.com/en-us/library/windows/desktop/aa380376%28v=vs.85%29.aspx
|
- https://msdn.microsoft.com/en-us/library/windows/desktop/aa380376%28v=vs.85%29.aspx
|
||||||
- http://msdn.microsoft.com/en-us/library/aa372045.aspx
|
- https://msdn.microsoft.com/en-us/library/aa372045.aspx
|
||||||
- http://sedna-soft.de/summary-information-stream/
|
- http://sedna-soft.de/articles/summary-information-stream/
|
||||||
- http://poi.apache.org/apidocs/org/apache/poi/hpsf/SummaryInformation.html
|
- http://poi.apache.org/apidocs/org/apache/poi/hpsf/SummaryInformation.html
|
||||||
|
|
||||||
References for DocumentSummaryInformation stream:
|
References for DocumentSummaryInformation stream:
|
||||||
- http://msdn.microsoft.com/en-us/library/dd945671%28v=office.12%29.aspx
|
- https://msdn.microsoft.com/en-us/library/dd945671%28v=office.12%29.aspx
|
||||||
- http://msdn.microsoft.com/en-us/library/windows/desktop/aa380374%28v=vs.85%29.aspx
|
- https://msdn.microsoft.com/en-us/library/windows/desktop/aa380374%28v=vs.85%29.aspx
|
||||||
- http://poi.apache.org/apidocs/org/apache/poi/hpsf/DocumentSummaryInformation.html
|
- http://poi.apache.org/apidocs/org/apache/poi/hpsf/DocumentSummaryInformation.html
|
||||||
|
|
||||||
new in version 0.25
|
new in version 0.25
|
||||||
|
|
|
@ -24,7 +24,7 @@ To get the number and names of bands in an image, use the
|
||||||
Modes
|
Modes
|
||||||
-----
|
-----
|
||||||
|
|
||||||
The :term:`mode` of an image defines the type and depth of a pixel in the
|
The ``mode`` of an image defines the type and depth of a pixel in the
|
||||||
image. The current release supports the following standard modes:
|
image. The current release supports the following standard modes:
|
||||||
|
|
||||||
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
||||||
|
|
|
@ -81,13 +81,13 @@ Bitwise operators don’t work on floating point images.
|
||||||
Logical Operators
|
Logical Operators
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Logical operators like :keyword:`and`, :keyword:`or`, and :keyword:`not` work
|
Logical operators like ``and``, ``or``, and ``not`` work
|
||||||
on entire images, rather than individual pixels.
|
on entire images, rather than individual pixels.
|
||||||
|
|
||||||
An empty image (all pixels zero) is treated as false. All other images are
|
An empty image (all pixels zero) is treated as false. All other images are
|
||||||
treated as true.
|
treated as true.
|
||||||
|
|
||||||
Note that :keyword:`and` and :keyword:`or` return the last evaluated operand,
|
Note that ``and`` and ``or`` return the last evaluated operand,
|
||||||
while not always returns a boolean value.
|
while not always returns a boolean value.
|
||||||
|
|
||||||
Built-in Functions
|
Built-in Functions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user