Skip to content

Commit

Permalink
Bump sphinx from 4.3.2 to 4.4.0 (#2940)
Browse files Browse the repository at this point in the history
* Bump sphinx from 4.3.2 to 4.4.0

Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.2 to 4.4.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](sphinx-doc/sphinx@v4.3.2...v4.4.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove extlinks

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Leplatre <[email protected]>
  • Loading branch information
dependabot[bot] and leplatrem authored Jan 27, 2022
1 parent c2aca41 commit fdee996
Show file tree
Hide file tree
Showing 23 changed files with 62 additions and 63 deletions.
2 changes: 1 addition & 1 deletion docs/api/1.x/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ In order to know which authentication methods are supported by a *Kinto* server,
}
For example, :github:`Kinto Admin <Kinto/kinto-admin>` inspects that list in order to dynamically offer several authentication options in its login form.
For example, `Kinto Admin <https://github.com/Kinto/kinto-admin>`_ inspects that list in order to dynamically offer several authentication options in its login form.


Permissions
Expand Down
2 changes: 1 addition & 1 deletion docs/api/1.x/openapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Improving the documentation

The Kinto OpenAPI description relies on
`Cornice Swagger <https://github.com/Cornices/cornice.ext.swagger>`_,
which is an extension for :rtd:`Cornice <cornice>` that extracts API
which is an extension for `Cornice <https://cornice.readthedocs.io>`_ that extracts API
information from service definitions.
Cornice Swagger also needs some information that is not on the service such as
*Tags*, *Possible Responses* and *operation IDs*, so you may upgrade those
Expand Down
6 changes: 3 additions & 3 deletions docs/api/1.x/openid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ for the configured provider ``name``.
JavaScript example
------------------

Let's go through a simple OpenID login example using the :github:`JavaScript kinto client <Kinto/kinto-http.js>`.
Let's go through a simple OpenID login example using the `JavaScript kinto client <https://github.com/Kinto/kinto-http.js>`_.

When the user clicks a login button, it initiates the login process by redirecting the browser to the
Identity Provider, which itself redirects it to the application page once successful.
Expand Down Expand Up @@ -139,7 +139,7 @@ The ``parseToken()`` function scans the location hash to read the Identity Provi
return parsed;
}
Check out the :github:`full demo source code <leplatrem/kinto-oidc-demo>`.
Check out the `full demo source code <https://github.com/leplatrem/kinto-oidc-demo>`_.


Example of login redirections
Expand All @@ -160,4 +160,4 @@ When the user clicks the login button, the browser will follow a sequence of red
#. Kinto redirects back to the Single Page App appending the JSON encoded ID and Access tokens to the callback URL provided at step 2 `<http://localhost:3000/#provider=auth0&tokens=eyJhY2Nlc3NfdG9rZW4iOiJ0WTZ1bTk4OS4uLmpmY2VyIiwiaWRfdG9rZW4iOiJleUowZVhBaU9pSi4uLktWMVFpTC5vamtoZ3dSVkguLi5VRzhKR1JFTk5GLkVzOC4uLkRLMTAiLCJleHBpcmVzX2luIjo4NjQwMCwidG9rZW5fdHlwZSI6IkJlYXJlciJ9>`_
#. JavaScript code parses the location hash and reads the ID and Access tokens

The JavaScript app can now use the Access token to make authenticated calls to the Kinto server, and read the user info from the ID token fields. See :github:`demo <leplatrem/kinto-oidc-demo>`.
The JavaScript app can now use the Access token to make authenticated calls to the Kinto server, and read the user info from the ID token fields. See `demo <https://github.com/leplatrem/kinto-oidc-demo>`_.
2 changes: 1 addition & 1 deletion docs/community.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ This official documentation is maintained in `GitHub
Output is written at ``docs/_build/html/index.html``.

We obviously accept pull requests for this documentation, just as we accept them
for bug fixes and features! See :github:`open issues <Kinto/kinto/labels/documentation>`.
for bug fixes and features! See `open issues <https://github.com/Kinto/kinto/labels/documentation>`_.


Submit feedback
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ See also

* :term:`Kinto glossary <CRUD>`, for formal definitions of terms used in the documentation
* :ref:`HTTP API reference documentation <api-permissions>`
* :blog:`Our blog post <en/handling-permissions>` on permissions design in *Kinto*
* `Our blog post <https://mozilla-services.github.io/servicedenuages.fr/en/handling-permissions>`_ on permissions design in *Kinto*


.. _technical-architecture:
Expand All @@ -121,7 +121,7 @@ Technical Architecture
Every concept of bucket, group, collection or record is a REST
*resource* and behaves according to the conventions of a resource.

*Kinto* relies on :rtd:`Cornice <cornice>` and :rtd:`Pyramid <pyramid>`
*Kinto* relies on `Cornice <https://cornice.readthedocs.io>`_ and `Pyramid <https://pyramid.readthedocs.io>`_
to implement the endpoints and HTTP request/response handling.

.. image:: images/architecture.svg
Expand Down
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@
# -- Options of extlinks --------------------------------------------------

extlinks = {
"github": ("https://github.com/%s/", ""),
"rtd": ("https://%s.readthedocs.io", ""),
"blog": ("https://mozilla-services.github.io/servicedenuages.fr/en/%s", ""),
# "github": ("https://github.com/%s/", ""),
# "rtd": ("https://%s.readthedocs.io", ""),
}


Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/good-practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,5 +264,5 @@ The right database node is chosen based on some elements of the data query
automatically.

As an example, see `pgPool <http://www.pgpool.net/mediawiki/index.php/Main_Page>`_
or :github:`pgShard <citusdata/pg_shard>` for ways to shard a PostgreSQL
or `pgShard <https://github.com/citusdata/pg_shard>`_ for ways to shard a PostgreSQL
database.
10 changes: 5 additions & 5 deletions docs/configuration/production.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Run a PostgreSQL server

The instructions to run a local PostgreSQL database are out of scope here.

A detailed guide is :github:`available on the Kinto Wiki <Kinto/kinto/wiki/How-to-run-a-PostgreSQL-server%3F>`.
A detailed guide is `available on the Kinto Wiki <https://github.com/Kinto/kinto/wiki/How-to-run-a-PostgreSQL-server%3F>`_.


Database setup
Expand Down Expand Up @@ -153,7 +153,7 @@ The last step consists in creating the necessary tables and indices, run the ``m
.. note::

Alternatively the SQL initialization files can be found in the
*Kinto* :github:`source code <Kinto/kinto>`.
*Kinto* `source <https://github.com/Kinto/kinto>`_.


Production checklist
Expand Down Expand Up @@ -181,7 +181,7 @@ adjustments:
.. note::

For an exhaustive list of available settings and their default values,
refer to the *Kinto* :github:`source code <Kinto/kinto/blob/13.6.2/kinto/core/__init__.py#L34-L103>`.
refer to the *Kinto* `source code <https://github.com/Kinto/kinto/blob/13.6.2/kinto/core/__init__.py#L34-L103>`_.


By default, nobody can read buckets list. You can change that using:
Expand Down Expand Up @@ -339,8 +339,8 @@ run the Kinto application:
Using nginx
-----------

nginx can act as a *reverse proxy* in front of :rtd:`uWSGI <uwsgi-docs>`
(or any other wsgi server like `Gunicorn <http://gunicorn.org>`_ or :rtd:`Circus <circus>`).
nginx can act as a *reverse proxy* in front of `uWSGI <https://uwsgi-docs.readthedocs.io>`_
(or any other wsgi server like `Gunicorn <http://gunicorn.org>`_ or `Circus <https://circus.readthedocs.io>`_).

Download the ``uwsgi_params`` file:

Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ Example output:
JSON Logging
::::::::::::

Using a JSON logging formatter, like :github:`this one <mozilla/mozilla-cloud-services-logger>`,
Using a JSON logging formatter, like `this one <https://github.com/mozilla/mozilla-cloud-services-logger>`_,
it is possible to output logs as JSON:

.. code-block:: ini
Expand Down Expand Up @@ -874,7 +874,7 @@ to highly complex.

.. note::

*Kinto* relies on :github:`pyramid multiauth <mozilla-services/pyramid_multiauth>` to initialise authentication.
*Kinto* relies on `pyramid multiauth <https://github.com/mozilla-services/pyramid_multiauth>`_ to initialise authentication.

.. seealso::

Expand Down
2 changes: 1 addition & 1 deletion docs/core/permission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ To do so, specify the ``get_bound_permissions`` of the *Kinto-Core* authorizatio
authz.get_bound_permissions = get_bound_permissions
In :rtd:`Kinto <Kinto/kinto>`, this is leveraged to implement an inheritance tree
In `Kinto <https://kinto.readthedocs.io>`_, this is leveraged to implement an inheritance tree
of permissions between nested objects. The root objects permissions still have to be specified
via settings though.

Expand Down
4 changes: 2 additions & 2 deletions docs/core/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Like any *Pyramid* application, it can be served locally with:
A *hello* view is now available at `http://localhost:6543/v0/ <http://localhost:6543/v0/>`_
(As well as basic endpoints like the :ref:`utilities <api-utilities>`).

The next steps will consist in building a custom application using :rtd:`Cornice <cornice>` or
The next steps will consist in building a custom application using `Cornice <https://cornice.readthedocs.io>`_ or
**the Pyramid ecosystem**.

But most likely, it will consist in **defining REST resources** using *Kinto-Core*\ 's
Expand Down Expand Up @@ -154,7 +154,7 @@ Schema validation
It is possible to validate records against a predefined schema, associated
to the resource.

Currently, only :rtd:`Colander <colander>` is supported, and it looks like this:
Currently, only `Colander <https://colander.readthedocs.io>`_ is supported, and it looks like this:


.. code-block:: python
Expand Down
10 changes: 5 additions & 5 deletions docs/core/rationale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Dependencies

*Kinto-Core* is built on the shoulders of giants:

* :rtd:`Cornice <cornice>` for the REST helpers;
* :rtd:`Pyramid <pyramid>` for the heavy HTTP stuff;
* `Cornice <https://cornice.readthedocs.io>`_ for the REST helpers;
* `Pyramid <https://pyramid.readthedocs.io>`_ for the heavy HTTP stuff;
* `SQLAlchemy <http://docs.sqlalchemy.org>`_ core, for database sessions and
pooling;

Expand Down Expand Up @@ -119,10 +119,10 @@ Built with Kinto-Core

Some applications in the wild built with *Kinto-Core*:

* :rtd:`Reading List <readinglist>`, a service to synchronize articles between
* `Reading List <https://readinglist.readthedocs.io>`_, a service to synchronize articles between
devices;
* :rtd:`Kinto <kinto>`, a service to store and synchronize schema-less data.
* :rtd:`Syncto <syncto>`, a service to access *Firefox Sync* using *kinto.js*.
* `Kinto <https://kinto.readthedocs.io>`_, a service to store and synchronize schema-less data.
* `Syncto <https://syncto.readthedocs.io>`_, a service to access *Firefox Sync* using *kinto.js*.
* *Please contact us to add yours*.

Any application built with *Kinto-Core*:
Expand Down
6 changes: 3 additions & 3 deletions docs/core/resource.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Full example
return new
See the :github:`ReadingList <mozilla-services/readinglist>` and
:github:`Kinto <mozilla-services/kinto>` projects source code for real use cases.
See the `ReadingList <https://github.com/mozilla-services/readinglist>`_ and
`Kinto <https://github.com/mozilla-services/kinto>`_ projects source code for real use cases.


.. _resource-urls:
Expand Down Expand Up @@ -92,7 +92,7 @@ HTTP methods and options
========================

In order to specify which HTTP verbs (``GET``, ``PUT``, ``PATCH``, ...)
are allowed on the resource, as well as specific custom Pyramid (or :rtd:`cornice`)
are allowed on the resource, as well as specific custom Pyramid (or `Cornice <https://cornice.readthedocs.io>`_)
view arguments, refer to the :ref:`viewset section <viewset>`.


Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ YES™. Have a look at the ``/dev/null`` backend. ;-)
Can I store files inside Kinto?
-------------------------------

Yes, using the :github:`Kinto/kinto-attachment` plugin.
Yes, using the https://github.com/Kinto/kinto-attachment plugin.


I want to add business logic to Kinto!
Expand Down Expand Up @@ -187,7 +187,7 @@ The application developer can implement custom conflict resolution strategies,
using the :ref:`two versions of the object <error-responses-precondition>`,
or the :ref:`history of actions <api-history>` of that object.

Some helpers are provided in the :github:`Kinto/kinto.js` client. The three
Some helpers are provided in the https://github.com/Kinto/kinto.js client. The three
provided conflict resolution strategies are:

* SERVER_WINS: local changes are overridden by remote ones ;
Expand Down
2 changes: 1 addition & 1 deletion docs/kinto-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ When the built-in plugin ``kinto.plugins.admin`` is enabled in
configuration, a Web admin UI is available at ``/v1/admin/``.


* :github:`See dedicated repo <Kinto/kinto-admin/>`
* `See dedicated repo <https://github.com/Kinto/kinto-admin/>`_

.. image:: images/screenshot-kinto-admin-1.png
:align: center
Expand Down
42 changes: 21 additions & 21 deletions docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,27 +176,27 @@ Key features
:alt: https://thenounproject.com/search/?q=tutorial&i=24313
:width: 50px

+---------------------------------------------+---------------------------------------------+
| |logo-javascript| | |logo-python| |
| :github:`JavaScript HTTP API client | :github:`Python HTTP API client |
| <Kinto/kinto-http.js/>` | <Kinto/kinto.py>` |
+---------------------------------------------+---------------------------------------------+
| |logo-offline| | |logo-admin| |
| Offline-first `JavaScript client | :ref:`Web Admin UI |
| <https://kintojs.readthedocs.io>`_ | <kinto-admin>` |
+---------------------------------------------+---------------------------------------------+
| |logo-history| | |logo-livesync| |
| :ref:`History of changes and authorship | Live :ref:`Push notifications |
| <api-history>` | <tutorials>` |
+---------------------------------------------+---------------------------------------------+
| |logo-attachment| | |logo-signature| |
| :github:`File attachments on records | :github:`Digital signature and review |
| <Kinto/kinto-attachment>` | workflows <Kinto/kinto-signer>` |
+---------------------------------------------+---------------------------------------------+
| |logo-quotas| | |logo-indexing| |
| :ref:`Storage quotas | :github:`Records indexing |
| <api-quotas>` | <Kinto/kinto-algolia>` |
+---------------------------------------------+---------------------------------------------+
+-----------------------------------------------+-----------------------------------------------------+
| |logo-javascript| | |logo-python| |
| `JavaScript HTTP API client | `Python HTTP API client |
| <https://github.com/Kinto/kinto-http.js/>`_ | <https://github.com/Kinto/kinto.py>`_ |
+-----------------------------------------------+-----------------------------------------------------+
| |logo-offline| | |logo-admin| |
| Offline-first `JavaScript client | :ref:`Web Admin UI |
| <https://kintojs.readthedocs.io>` | <kinto-admin>` |
+-----------------------------------------------+-----------------------------------------------------+
| |logo-history| | |logo-livesync| |
| :ref:`History of changes and authorship | Live :ref:`Push notifications |
| <api-history>` | <tutorials>` |
+-----------------------------------------------+-----------------------------------------------------+
| |logo-attachment| | |logo-signature| |
| `File attachments on records | `Digital signature and review |
| <https://github.com/Kinto/kinto-attachment>`_ | workflows <https://github.com/Kinto/kinto-signer>`_ |
+-----------------------------------------------+-----------------------------------------------------+
| |logo-quotas| | |logo-indexing| |
| :ref:`Storage quotas | `Records indexing |
| <api-quotas>` | <https://github.com/Kinto/kinto-algolia>`_ |
+-----------------------------------------------+-----------------------------------------------------+

**Learn from examples**

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docutils==0.16
Sphinx==4.3.2
Sphinx==4.4.0
sphinx_rtd_theme==1.0.0
sphinxcontrib-httpdomain==1.8.0
kinto
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/app-examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Application examples

Usually, the best way to learn is to look at application examples!

An open Wiki page gives :github:`a complete list of apps in the wild <Kinto/kinto/wiki/App-examples>`!
An open Wiki page gives `a complete list of apps in the wild <https://github.com/Kinto/kinto/wiki/App-examples>`_!

.. important::

We would be delighted to highlight demos, use-cases, tutorials,
or applications made by the community, so don't hesitate to
:github:`add a link to yours <Kinto/kinto/wiki/App-examples/_edit>`!
`add a link to yours <https://github.com/Kinto/kinto/wiki/App-examples/_edit>`_!
4 changes: 2 additions & 2 deletions docs/tutorials/custom-id-generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ which can be provided as a regexp.
The id generator should be random enough to avoid collisions.

The random approach here serves the purpose of this tutorial, but for a production
ready implementation, have a look at :github:`dylang/shortid` for example.
ready implementation, have a look at https://github.com/dylang/shortid for example.


Enable in configuration
Expand Down Expand Up @@ -106,5 +106,5 @@ For example:
Kinto.js client
---------------

The offline-first client :github:`Kinto/kinto.js` can also be configured to
The offline-first client https://github.com/Kinto/kinto.js can also be configured to
generate custom ids. See `its documentation <https://kintojs.readthedocs.io/en/latest/api/#custom-id-generation-using-an-id-schema>`_ for more details.
2 changes: 1 addition & 1 deletion docs/tutorials/first-steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ or to resolve the conflict manually, might also be an option.
.. note::

Don't run away! Remember, you will most likely use a library like
:github:`Kinto/kinto.js`, which provides nice abstractions to
https://github.com/Kinto/kinto.js, which provides nice abstractions to
interact with the Kinto API.

Once merged, we can send back again our modifications using the last
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ See our :ref:`dedicated section about contributing <how-to-contribute>`!
Kinto Admin
-----------

In order to run a local :github:`Kinto Admin UI <Kinto/kinto-admin>` from a cloned
In order to run a local `Kinto Admin UI <https://github.com/Kinto/kinto-admin>`_ from a cloned
repo, the ``npm`` command must be available in order to build it with ::

make build-kinto-admin
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/notifications-websockets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Currently, it relies on a plugin that sends events through WebSockets using `Pus

.. note::

Another plugin is under construction for WebPush: :github:`Kinto/kinto-webpush`
Another plugin is under construction for WebPush: https://github.com/Kinto/kinto-webpush


Setup a Pusher account
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/synchronisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Implementations
===============

The **current implementation of reference** for offline-first records synchronisation is
:rtd:`Kinto.js <kintojs>`.
`Kinto.js <https://kintojs.readthedocs.io>`_.


Before that, some other clients were implemented in the context of the
Expand Down

0 comments on commit fdee996

Please sign in to comment.