aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormwtoews <mwtoews@gmail.com>2018-04-22 22:08:30 +1200
committermwtoews <mwtoews@gmail.com>2018-04-22 22:08:30 +1200
commit3f5657583a3415ea87907a511f97fbb6d64bad93 (patch)
treebea130245a88f7b4b7d312baab1e011a90cf80e9
parent027c865d05ff272efc8e2dd2b5148e03e41275a1 (diff)
downloadPROJ-3f5657583a3415ea87907a511f97fbb6d64bad93.tar.gz
PROJ-3f5657583a3415ea87907a511f97fbb6d64bad93.zip
Conditional content for index section, using only directive
Test status and coverage content should be shown for HTML. PDF documentation does not to self-reference itself.
-rw-r--r--docs/source/index.rst37
1 files changed, 20 insertions, 17 deletions
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 9ed64c02..a0125166 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -9,24 +9,27 @@ and latitude coordinates into cartesian coordinates (and vice versa), and it is
a C API for software developers to include coordinate transformation in their
own software. PROJ is maintained on `GitHub <http://github.com/OSGeo/proj.4/>`_.
+.. only:: html
-============= ================================================================
- Platform Test Status and Coverage
-============= ================================================================
-Travis |travis|
-AppVeyor |appveyor|
-Coverage |coverals|
-============= ================================================================
-
-.. |travis| image:: https://travis-ci.org/OSGeo/proj.4.svg?branch=master
- :target: https://travis-ci.org/OSGeo/proj.4
-.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/584j49uguwoo5evi?svg=true
- :target: https://ci.appveyor.com/project/OSGeo/proj-4
-.. |coverals| image:: https://coveralls.io/repos/OSGeo/proj.4/badge.svg?branch=master
- :target: https://coveralls.io/r/OSGeo/proj.4?branch=master
-
-Full documentation is available as a single PDF at
-https://raw.githubusercontent.com/OSGeo/proj.4/gh-pages/proj.pdf
+ ============= ================================================================
+ Platform Test Status and Coverage
+ ============= ================================================================
+ Travis |travis|
+ AppVeyor |appveyor|
+ Coverage |coverals|
+ ============= ================================================================
+
+ .. |travis| image:: https://travis-ci.org/OSGeo/proj.4.svg?branch=master
+ :target: https://travis-ci.org/OSGeo/proj.4
+ .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/584j49uguwoo5evi?svg=true
+ :target: https://ci.appveyor.com/project/OSGeo/proj-4
+ .. |coverals| image:: https://coveralls.io/repos/OSGeo/proj.4/badge.svg?branch=master
+ :target: https://coveralls.io/r/OSGeo/proj.4?branch=master
+
+.. only:: not latex
+
+ Full documentation is available as a single PDF at
+ https://raw.githubusercontent.com/OSGeo/proj.4/gh-pages/proj.pdf
Documentation
=================