Skip to content

Commit

Permalink
Merge pull request #577 from OSGeo/docs-release-4.10.0
Browse files Browse the repository at this point in the history
Docs for the upcoming release
  • Loading branch information
kbevers committed Mar 1, 2018
2 parents 7a351f1 + be3791f commit cb144b3
Show file tree
Hide file tree
Showing 321 changed files with 4,309 additions and 910 deletions.
57 changes: 57 additions & 0 deletions docs/source/_static/theme_overrides.css
@@ -0,0 +1,57 @@
/* override table width restrictions */
@media screen and (min-width: 767px) {

.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
}
}

/* Align equation numbers to the right of the equation, not above */
div.math {
position: relative;
padding-right: 2.5em;
}
.eqno {
height: 100%;
position: absolute;
right: 0;
padding-left: 5px;
padding-bottom: 5px;
}
.eqno:before {
/* Force vertical alignment of number */
display: inline-block;
height: 100%;
vertical-align: middle;
content: "";
}
.eqno .headerlink {
display: none;
visibility: hidden;
font-size: 14px;
padding-left: .3em;
}
.eqno:hover .headerlink {
display: inline-block;
visibility: hidden;
margin-right: -1.05em;
}
.eqno .headerlink:after {
visibility: visible;
content: "\f0c1";
font-family: FontAwesome;
display: inline-block;
margin-left: -.9em;
}
/* Make responsive */
.MathJax_Display {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
}
26 changes: 0 additions & 26 deletions docs/source/apps/index.rst

This file was deleted.

26 changes: 17 additions & 9 deletions docs/source/conf.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# proj.4 documentation build configuration file, created by
# PROJ.4 documentation build configuration file, created by
# sphinx-quickstart on Wed Feb 24 10:47:15 2016.
#
# This file is execfile()d with the current directory set to its
Expand All @@ -14,6 +14,7 @@

import sys
import os
import datetime

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -47,18 +48,19 @@
master_doc = 'index'

# General information about the project.
project = u'proj.4'
copyright = u'1986?-2016'
project = u'PROJ.4'
now = datetime.datetime.now()
copyright = u'1983-{0}'.format(now.year)
author = u'Gerald Evenden, Frank Warmerdam, and others'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'4.9.3'
version = u'5.0.0'
# The full version, including alpha/beta/rc tags.
release = u'4.9.3'
release = u'5.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -140,7 +142,13 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static']
html_static_path = ['_static']

html_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down Expand Up @@ -230,7 +238,7 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'proj4.tex', u'proj.4 Documentation',
(master_doc, 'proj4.tex', u'PROJ.4 Documentation',
u'Gerald Evenden', 'manual'),
]

Expand Down Expand Up @@ -260,7 +268,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'proj4', u'proj.4 Documentation',
(master_doc, 'proj4', u'PROJ.4 Documentation',
[author], 1)
]

Expand All @@ -274,7 +282,7 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'proj4', u'proj.4 Documentation',
(master_doc, 'proj4', u'PROJ.4 Documentation',
author, 'proj4', 'One line description of project.',
'Miscellaneous'),
]
Expand Down

0 comments on commit cb144b3

Please sign in to comment.