Skip to content

Commit

Permalink
docs handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jankovicgd committed Dec 23, 2022
1 parent 935f1ef commit 6b66eca
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 299 deletions.
64 changes: 0 additions & 64 deletions documentation/Readme.md

This file was deleted.

Binary file added documentation/_static/ESA_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed documentation/_static/HMA_Logo.jpg
Binary file not shown.
6 changes: 5 additions & 1 deletion documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
# serve to show the default.

import sys, os
import django

from django.conf import settings

sys.path.insert(0, os.path.abspath('..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'autotest.settings'
settings.configure(DEBUG=True, )
django.setup()

# 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 All @@ -29,7 +33,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.intersphinx']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.intersphinx', 'myst_parser']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
10 changes: 3 additions & 7 deletions documentation/credits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@
Credits
=======

.. figure:: ./_static/HMA_Logo.jpg
:target: http://rssportal.esa.int/tiki-index.php?page=Open%20Software
.. figure:: ./_static/ESA_logo.png

Work on EOxServer has been partly funded by the `European Space Agency (ESA)`_
in the frame of the HMA-FO_ and O3S_ projects.
Work on EOxServer has been funded by the `European Space Agency (ESA)`_

.. _European Space Agency (ESA): http://www.esa.int/esaMI/ESRIN_SITE/
.. _HMA-FO: http://wiki.services.eoportal.org/tiki-index.php?page=HMA-FO
.. _O3S: http://wiki.services.eoportal.org/tiki-index.php?page=O3S
.. _European Space Agency (ESA): http://www.esa.int/
6 changes: 0 additions & 6 deletions documentation/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ configuring the software stack and operators registering the available *EO
Data* on the *Provider* side to end users consuming the registered *EO Data*
on the *User* side.

.. figure:: ../users/images/Global_Use_Case.png
:align: center

.. toctree::
:maxdepth: 3

Expand All @@ -65,6 +62,3 @@ on the *User* side.
atp_dev_guide
testing
code-style-guide

.. TODO
processes
24 changes: 1 addition & 23 deletions documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,11 @@ EOxServer's Documentation
EOxServer is a Python application and framework for presenting Earth
Observation (EO) data and metadata.

.. only:: html
.. raw:: html

<p><script type="text/javascript" src="http://www.ohloh.net/p/489120/widgets/project_partner_badge.js"></script></p>

EOxServer implements the `OGC <http://www.opengeospatial.org/>`_
Implementation Specifications EO-WCS and EO-WMS on top of
`MapServer's <http://mapserver.org>`_
`WCS <http://www.opengeospatial.org/standards/wcs>`_ and
`WMS <http://www.opengeospatial.org/standards/wms>`_ implementations.

EOxServer is released under the
:ref:`EOxServer Open License <EOxServer Open License>` a MIT-style
license and written in `Python <http://www.python.org/>`_ and entirely based on
Open Source software including `MapServer <http://mapserver.org>`_,
`Django/GeoDjango <https://www.djangoproject.com>`_,
`GDAL <http://www.gdal.org>`_,
`SpatiaLite <http://www.gaia-gis.it/spatialite/>`_, or
`PostGIS <http://postgis.refractions.net/>`_, and
`PROJ.4 <http://trac.osgeo.org/proj/>`_.

Here you find the documentation for users and developers of EOxServer
written in English.

.. toctree::
:maxdepth: 1

readme
users/index
developers/index
release_notes/index
Expand Down
2 changes: 2 additions & 0 deletions documentation/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```{include} ../README.md
```
15 changes: 0 additions & 15 deletions eoxserver/COMMITTERS

This file was deleted.

22 changes: 0 additions & 22 deletions eoxserver/COPYING

This file was deleted.

110 changes: 0 additions & 110 deletions eoxserver/INSTALL

This file was deleted.

41 changes: 0 additions & 41 deletions eoxserver/README

This file was deleted.

11 changes: 3 additions & 8 deletions eoxserver/services/auth/charonpdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
import logging
import os
import datetime
import httplib
import httplib # TODO Python2 relic swap out
import xml.dom.minidom
import eoxserver
from urlparse import urlparse
from urllib.parse import urlparse

from django.utils.six import iteritems

Expand Down Expand Up @@ -293,12 +293,7 @@ def _getPartAction(self, action):
# Get XML snippet for the Environment part of the XACMLAuthzDecisionQuery
def _getPartEnvironment(self):
now = datetime.datetime.now()
formattedNow = now.strftime("%Y-%m-%dT%H:%M:%S.%f%z")
return template_attribute.format(attrib_current_date, \
dt_date, \
formattedNow)


formattedNow = now.strftime("%Y-%m-%dT%H:%M:%S.%f%z")urlparse
# Get the full XACMLAuthzDecisionQuery
def _getFullRequest(self, userAttributes, resourceAttributes, action):
return template_request.format(self._getPartSubject(userAttributes), \
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ def fullsplit(path, result=None):
"python-keystoneclient<6.0.0",
"python-swiftclient<5.0.0",
"jsonfield",
"gunicorn"
"gunicorn",
"gdal",
"mapscript"
],
extras_require={
'dev': ['scipy', 'flake8', 'mypy', 'black'],
'docs': ['sphinx', 'sphinx_rtd_theme'],
'docs': ['sphinx', 'sphinx_rtd_theme', 'myst-parser'],
},
zip_safe=False,

Expand Down

0 comments on commit 6b66eca

Please sign in to comment.