aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-05-10 22:50:38 +0200
committerKristian Evers <kristianevers@gmail.com>2018-05-12 12:22:19 +0200
commita9758f60f02bb04657312c76f9bba55b2128641f (patch)
tree8f4b540bb460dc517e6eacbba6c806c77718d5a3
parent6f8e1b56a9277d6689f162fda9b0be285de237ab (diff)
downloadPROJ-a9758f60f02bb04657312c76f9bba55b2128641f.tar.gz
PROJ-a9758f60f02bb04657312c76f9bba55b2128641f.zip
Improve PDF generation of docs
Removed content sections from a bunch of pages since they clutter up the PDF output and the same info is available in the sidebar of the webpage. A few sections has been turned of for the PDF output, most notable the front page of the webpage. It doesn't really fit in the PDF.
-rw-r--r--docs/source/community/index.rst12
-rw-r--r--docs/source/faq.rst8
-rw-r--r--docs/source/geodesic.rst4
-rw-r--r--docs/source/index.rst13
-rw-r--r--docs/source/references.rst8
-rw-r--r--docs/source/resource_files.rst4
6 files changed, 22 insertions, 27 deletions
diff --git a/docs/source/community/index.rst b/docs/source/community/index.rst
index 07308753..675d107a 100644
--- a/docs/source/community/index.rst
+++ b/docs/source/community/index.rst
@@ -8,11 +8,9 @@ PROJ is used and developed by group of very enthusiastic, knowledgeable and
friendly people. Whether you are a first time user of PROJ or a long-time
contributor the community is always very welcoming.
-.. only:: html
+.. toctree::
+ :maxdepth: 1
- .. toctree::
- :maxdepth: 1
-
- channels
- contributing
- code_contributions
+ channels
+ contributing
+ code_contributions
diff --git a/docs/source/faq.rst b/docs/source/faq.rst
index 6d6d2280..333a5029 100644
--- a/docs/source/faq.rst
+++ b/docs/source/faq.rst
@@ -4,9 +4,11 @@
FAQ
******************************************************************************
-.. contents:: Contents
- :depth: 3
- :backlinks: none
+.. only:: not latex
+
+ .. contents::
+ :depth: 3
+ :backlinks: none
diff --git a/docs/source/geodesic.rst b/docs/source/geodesic.rst
index 8f6f5bbe..f677ae1d 100644
--- a/docs/source/geodesic.rst
+++ b/docs/source/geodesic.rst
@@ -3,10 +3,6 @@
Geodesic calculations
=====================
-.. contents:: Contents
- :depth: 2
- :backlinks: none
-
Introduction
------------
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 97872470..86393291 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -4,7 +4,7 @@ PROJ
###############################################################################
.. toctree::
- :maxdepth: 1
+ :maxdepth: 3
:hidden:
about
@@ -21,13 +21,14 @@ PROJ
glossary
references
-PROJ is a standard UNIX filter function which converts geographic longitude
-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
+ PROJ is a standard UNIX filter function which converts geographic longitude
+ 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/>`_.
+
+
NEWS
---------------------------------------------------------------------------
diff --git a/docs/source/references.rst b/docs/source/references.rst
index 75d7f352..807e2faa 100644
--- a/docs/source/references.rst
+++ b/docs/source/references.rst
@@ -1,8 +1,10 @@
.. _references:
-================================================================================
-References
-================================================================================
+.. only:: not latex
+
+ ================================================================================
+ References
+ ================================================================================
.. [AltamimiEtAl2002] Altamimi, Z., P. Sillard, and C. Boucher (2002),
ITRF2000: A new release of the International Terrestrial Reference Frame for earth science applications,
diff --git a/docs/source/resource_files.rst b/docs/source/resource_files.rst
index daf5c00a..b6aa950d 100644
--- a/docs/source/resource_files.rst
+++ b/docs/source/resource_files.rst
@@ -4,10 +4,6 @@
Resource files
================================================================================
-.. contents:: Contents
- :depth: 2
- :backlinks: none
-
A number of files containing preconfigured transformations and default parameters
for certain projections are bundled with the PROJ distribution. Init files
contains preconfigured proj-strings for various coordinate reference systems