Skip to content

Commit

Permalink
PR #382 for #364 upgrade Sphinx and RTD theme and adapt Sphinx config…
Browse files Browse the repository at this point in the history
… for RTD Theme
  • Loading branch information
justb4 committed Jul 19, 2021
1 parent a1d00be commit f26afb0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions GeoHealthCheck/plugins/resourceauth/resourceauths.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ def encode_auth_header_val(self):
"""
Get encoded authorization header value from config data.
Authorization scheme-specific. ::
{
'type': 'Basic',
'data': {
{
'type': 'Basic',
'data': {
'username': 'the_user',
'password': 'the_password'
}
}
}
}
:return: None or http Basic auth header value
"""
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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.doctest', 'sphinx.ext.viewcode']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.viewcode', "sphinx_rtd_theme"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Compiling Language Files

At runtime compiled versions, `.mo` files, of the language-files are used.
Easiest to compile is via: `paver compile_translations` in the project root dir.
This basically calls ``pybabel compile` with the proper options.
This basically calls `pybabel compile` with the proper options.
Now you can e.g. test your new translations by starting GHC.

Updating Language Files
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Notes:
- assign `Probes` and `Checks` to each `Resource` via the UI

When running with Docker see the
`Docker Readme <https://github.com/geopython/GeoHealthCheck/blob/master/docker/README.md>`_
`GHC Docker Readme <https://github.com/geopython/GeoHealthCheck/blob/master/docker/README.md>`_
how to run `paver upgrade` within your Docker Container.

Upgrade notes v0.5.0
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ lxml==4.6.3
OWSLib==0.20.0
jsonschema==3.0.2 # downgrade from 3.2.0 on sept 29, 2020, issue 331, consider better fix
openapi-spec-validator==0.2.8
Sphinx==3.3.0
sphinx-rtd-theme==0.5.0
Sphinx==4.1.1
sphinx-rtd-theme==0.5.2
requests>=2.23.0
WTForms==2.2.1
APScheduler==3.6.1
Expand Down

0 comments on commit f26afb0

Please sign in to comment.