Skip to content

Commit

Permalink
Use newer Sphinx package
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Mar 7, 2022
1 parent 0bfa893 commit f2285e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ mock
fedora-messaging

# Documentation build requirements
sphinx < 4
sphinx
sphinxcontrib-httpdomain
16 changes: 8 additions & 8 deletions docs/policies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,14 @@ dev server whenever you make a change to the policies.
Now, you can use :program:`curl` or your favourite HTTP client to ask
Greenwave for a decision:

.. code-block:: console
.. code-block:: bash
$ curl http://localhost:5005/api/v1.0/decision \
--header 'Content-Type: application/json' \
--data '{"product_version": "fedora-27",
> "decision_context": "bodhi_update_push_stable",
> "subject": [{"item": "akonadi-calendar-tools-17.12.1-1.fc27",
> "type": "koji_build"}]}'
curl http://localhost:5005/api/v1.0/decision \
--header 'Content-Type: application/json' \
--data '{"product_version": "fedora-27",
"decision_context": "bodhi_update_push_stable",
"subject": [{"item": "akonadi-calendar-tools-17.12.1-1.fc27",
"type": "koji_build"}]}'
Expand Down Expand Up @@ -299,7 +299,7 @@ You can:

Here's an example of a RemoteRule:

.. code-block:: console
.. code-block:: yaml
--- !Policy
id: "test_remoterule"
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
flask
python-dateutil
sphinx < 4
sphinx
sphinxcontrib-httpdomain
prometheus_client
dogpile.cache
Expand Down

0 comments on commit f2285e5

Please sign in to comment.