Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95fd250

Browse files
committed
use htmlonly directive to cleanup a few items in the pdf document:
link to pdf download release, date and comment at beginning of each part which was poorly formatted and somewhat redundant in the pdf document svn path=/trunk/matplotlib/; revision=5527
1 parent 059d924 commit 95fd250

6 files changed

Lines changed: 23 additions & 12 deletions

File tree

doc/api/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
The Matplotlib API
55
####################
66

7-
:Release: |version|
8-
:Date: |today|
7+
.. htmlonly::
8+
9+
:Release: |version|
10+
:Date: |today|
911

1012
.. toctree::
1113

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# The short X.Y version.
5050
version = '0.98'
5151
# The full version, including alpha/beta/rc tags.
52-
release = '0.98pre'
52+
release = '0.98'
5353

5454
# There are two options for replacing |today|: either, you set today to some
5555
# non-false value, then it is used:

doc/devel/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
The Matplotlib Developers's Guide
55
###################################
66

7-
:Release: |version|
8-
:Date: |today|
7+
.. htmlonly::
8+
9+
:Release: |version|
10+
:Date: |today|
911

1012
.. toctree::
1113
:maxdepth: 2

doc/faq/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
The Matplotlib FAQ
55
####################
66

7-
:Release: |version|
8-
:Date: |today|
7+
.. htmlonly::
98

10-
Frequently asked questions about matplotlib
9+
:Release: |version|
10+
:Date: |today|
11+
12+
Frequently asked questions about matplotlib
1113

1214
.. toctree::
1315
:maxdepth: 2

doc/index.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
Welcome to matplotlib's documentation!
66
======================================
77

8-
Download `PDF <http://matplotlib.sf.net/doc/Matplotlib.pdf>`_
8+
.. htmlonly::
99

10-
Contents:
10+
:Release: |version|
11+
:Date: |today|
12+
13+
Download `PDF <http://matplotlib.sf.net/doc/Matplotlib.pdf>`_
1114

1215
.. toctree::
1316
:maxdepth: 2

doc/users/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
The Matplotlib User's Guide
55
#############################
66

7-
:Release: |version|
8-
:Date: |today|
7+
.. htmlonly::
8+
9+
:Release: |version|
10+
:Date: |today|
911

1012
.. toctree::
1113
:maxdepth: 2

0 commit comments

Comments
 (0)