43deeee
From bc7bc41c0587aff7a4cb877a9f659c0200ce5cfc Mon Sep 17 00:00:00 2001
43deeee
From: Mattia Verga <mattia.verga@tiscali.it>
43deeee
Date: Sun, 5 Dec 2021 14:47:13 +0100
43deeee
Subject: [PATCH] Fix docbuild with Sphinx 4
43deeee
43deeee
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
43deeee
---
43deeee
 .gitignore                                |   1 +
43deeee
 bodhi/server/models.py                    |   3 -
43deeee
 devel/ansible/roles/bodhi/tasks/main.yml  |   1 -
43deeee
 devel/ci/Dockerfile-f34                   |   2 +-
43deeee
 devel/ci/Dockerfile-f35                   |   2 +-
43deeee
 devel/ci/Dockerfile-pip                   |   3 +-
43deeee
 devel/ci/Dockerfile-rawhide               |   2 +-
43deeee
 docs/conf.py                              |   1 -
43deeee
 docs/server_api/graphql/documentation.rst | 185 ----------------------
43deeee
 docs/server_api/index.rst                 |  37 +----
43deeee
 docs/server_api/rest/builds.rst           |   6 -
43deeee
 docs/server_api/rest/comments.rst         |   6 -
43deeee
 docs/server_api/rest/composes.rst         |  10 --
43deeee
 docs/server_api/rest/csrf.rst             |   6 -
43deeee
 docs/server_api/rest/markdown.rst         |   6 -
43deeee
 docs/server_api/rest/overrides.rst        |   7 -
43deeee
 docs/server_api/rest/packages.rst         |   6 -
43deeee
 docs/server_api/rest/releases.rst         |   6 -
43deeee
 docs/server_api/rest/schemas.rst          |  10 --
43deeee
 docs/server_api/rest/updates.rst          |   6 -
43deeee
 docs/server_api/rest/users.rst            |   6 -
43deeee
 docs/user/3.x_release_notes.rst           |   2 +-
43deeee
 22 files changed, 7 insertions(+), 307 deletions(-)
43deeee
 delete mode 100644 docs/server_api/graphql/documentation.rst
43deeee
 delete mode 100644 docs/server_api/rest/builds.rst
43deeee
 delete mode 100644 docs/server_api/rest/comments.rst
43deeee
 delete mode 100644 docs/server_api/rest/composes.rst
43deeee
 delete mode 100644 docs/server_api/rest/csrf.rst
43deeee
 delete mode 100644 docs/server_api/rest/markdown.rst
43deeee
 delete mode 100644 docs/server_api/rest/overrides.rst
43deeee
 delete mode 100644 docs/server_api/rest/packages.rst
43deeee
 delete mode 100644 docs/server_api/rest/releases.rst
43deeee
 delete mode 100644 docs/server_api/rest/schemas.rst
43deeee
 delete mode 100644 docs/server_api/rest/updates.rst
43deeee
 delete mode 100644 docs/server_api/rest/users.rst
43deeee
43deeee
diff --git a/.gitignore b/.gitignore
43deeee
index a23e344e..e162d74d 100644
43deeee
--- a/.gitignore
43deeee
+++ b/.gitignore
43deeee
@@ -1,4 +1,5 @@
43deeee
 # Files to be ignored by all git checkouts
43deeee
+*.directory
43deeee
 *.egg*
43deeee
 *.pyc
43deeee
 *.pyo
43deeee
diff --git a/bodhi/server/models.py b/bodhi/server/models.py
43deeee
index 7f669904..a2a64f18 100644
43deeee
--- a/bodhi/server/models.py
43deeee
+++ b/bodhi/server/models.py
43deeee
@@ -794,7 +794,6 @@ class Release(Base):
43deeee
         mail_template (str): The notification mail template.
43deeee
         state (:class:`ReleaseState`): The current state of the release. Defaults to
43deeee
             ``ReleaseState.disabled``.
43deeee
-        id (int): The primary key of this release.
43deeee
         builds (sqlalchemy.orm.collections.InstrumentedList): An iterable of :class:`Builds <Build>`
43deeee
             associated with this release.
43deeee
         composed_by_bodhi (bool): The flag that indicates whether the release is composed by
43deeee
@@ -4178,8 +4177,6 @@ class Compose(Base):
43deeee
             reached.
43deeee
         date_created (datetime.datetime): The time this Compose was created.
43deeee
         error_message (str): An error message indicating what happened if the Compose failed.
43deeee
-        id (None): We don't want the superclass's primary key since we will use a natural primary
43deeee
-            key for this model.
43deeee
         release_id (int): The primary key of the :class:`Release` that is being composed. Forms half
43deeee
             of the primary key, with the other half being the ``request``.
43deeee
         request (UpdateRequest): The request of the release that is being composed. Forms half of
43deeee
diff --git a/devel/ansible/roles/bodhi/tasks/main.yml b/devel/ansible/roles/bodhi/tasks/main.yml
43deeee
index a66df842..75c40e21 100644
43deeee
--- a/devel/ansible/roles/bodhi/tasks/main.yml
43deeee
+++ b/devel/ansible/roles/bodhi/tasks/main.yml
43deeee
@@ -32,7 +32,6 @@
43deeee
       - python3-colander
43deeee
       - python3-conu
43deeee
       - python3-cornice
43deeee
-      - python3-cornice-sphinx
43deeee
       - python3-createrepo_c
43deeee
       - python3-diff-cover
43deeee
       - python3-dogpile-cache
43deeee
diff --git a/devel/ci/Dockerfile-f34 b/devel/ci/Dockerfile-f34
43deeee
index 2eb7def9..6ef12a0a 100644
43deeee
--- a/devel/ci/Dockerfile-f34
43deeee
+++ b/devel/ci/Dockerfile-f34
43deeee
@@ -17,7 +17,6 @@ RUN dnf install -y \
43deeee
     python3-click \
43deeee
     python3-colander \
43deeee
     python3-cornice \
43deeee
-    python3-cornice-sphinx \
43deeee
     python3-createrepo_c \
43deeee
     python3-diff-cover \
43deeee
     python3-dnf \
43deeee
@@ -42,6 +41,7 @@ RUN dnf install -y \
43deeee
     python3-pytest-cov \
43deeee
     python3-responses \
43deeee
     python3-simplemediawiki \
43deeee
+    python3-sphinx \
43deeee
     python3-sqlalchemy \
43deeee
     python3-sqlalchemy_schemadisplay \
43deeee
     python3-waitress \
43deeee
diff --git a/devel/ci/Dockerfile-f35 b/devel/ci/Dockerfile-f35
43deeee
index eb1d0e70..b6bfd735 100644
43deeee
--- a/devel/ci/Dockerfile-f35
43deeee
+++ b/devel/ci/Dockerfile-f35
43deeee
@@ -20,7 +20,6 @@ RUN dnf install -y \
43deeee
     python3-click \
43deeee
     python3-colander \
43deeee
     python3-cornice \
43deeee
-    python3-cornice-sphinx \
43deeee
     python3-createrepo_c \
43deeee
     python3-diff-cover \
43deeee
     python3-dnf \
43deeee
@@ -45,6 +44,7 @@ RUN dnf install -y \
43deeee
     python3-pytest-cov \
43deeee
     python3-responses \
43deeee
     python3-simplemediawiki \
43deeee
+    python3-sphinx \
43deeee
     python3-sqlalchemy \
43deeee
     python3-sqlalchemy_schemadisplay \
43deeee
     python3-waitress \
43deeee
diff --git a/devel/ci/Dockerfile-pip b/devel/ci/Dockerfile-pip
43deeee
index 05cbae57..bfa1568c 100644
43deeee
--- a/devel/ci/Dockerfile-pip
43deeee
+++ b/devel/ci/Dockerfile-pip
43deeee
@@ -29,7 +29,6 @@ COPY requirements.txt /bodhi/requirements.txt
43deeee
 RUN pip-3 install -r /bodhi/requirements.txt
43deeee
 RUN pip-3 install \
43deeee
     alembic \
43deeee
-    cornice_sphinx \
43deeee
     diff-cover \
43deeee
     docutils \
43deeee
     flake8 \
43deeee
@@ -38,7 +37,7 @@ RUN pip-3 install \
43deeee
     pydocstyle \
43deeee
     pytest \
43deeee
     pytest-cov \
43deeee
-    'sphinx<4.0' \
43deeee
+    sphinx \
43deeee
     sqlalchemy_schemadisplay \
43deeee
     urllib3 \
43deeee
     webtest
43deeee
diff --git a/devel/ci/Dockerfile-rawhide b/devel/ci/Dockerfile-rawhide
43deeee
index 0f4c9bb4..dc2a6f39 100644
43deeee
--- a/devel/ci/Dockerfile-rawhide
43deeee
+++ b/devel/ci/Dockerfile-rawhide
43deeee
@@ -20,7 +20,6 @@ RUN dnf install -y \
43deeee
     python3-click \
43deeee
     python3-colander \
43deeee
     python3-cornice \
43deeee
-    python3-cornice-sphinx \
43deeee
     python3-createrepo_c \
43deeee
     python3-diff-cover \
43deeee
     python3-dnf \
43deeee
@@ -45,6 +44,7 @@ RUN dnf install -y \
43deeee
     python3-pytest-cov \
43deeee
     python3-responses \
43deeee
     python3-simplemediawiki \
43deeee
+    python3-sphinx \
43deeee
     python3-sqlalchemy \
43deeee
     python3-sqlalchemy_schemadisplay \
43deeee
     python3-waitress \
43deeee
diff --git a/docs/conf.py b/docs/conf.py
43deeee
index 9b3ee7c1..56836d27 100644
43deeee
--- a/docs/conf.py
43deeee
+++ b/docs/conf.py
43deeee
@@ -27,7 +27,6 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../'
43deeee
 # Add any Sphinx extension module names here, as strings. They can be extensions
43deeee
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
43deeee
 extensions = [
43deeee
-    'cornice_sphinx',
43deeee
     'sphinx.ext.autodoc',
43deeee
     'sphinx.ext.autosummary',
43deeee
     'sphinx.ext.coverage',
43deeee
diff --git a/docs/server_api/graphql/documentation.rst b/docs/server_api/graphql/documentation.rst
43deeee
deleted file mode 100644
43deeee
index ba068e3f..00000000
43deeee
--- a/docs/server_api/graphql/documentation.rst
43deeee
+++ /dev/null
43deeee
@@ -1,185 +0,0 @@
43deeee
-=====================
43deeee
-Using the GraphQL API
43deeee
-=====================
43deeee
-
43deeee
-This provides the documentation on how to use the GraphiQL client to query Bodhi's resources.
43deeee
-
43deeee
-The Basics
43deeee
-==========
43deeee
-
43deeee
-The GraphQL API assists in getting data in and out of* Bodhi. It's an HTTP-based API that can be 
43deeee
-used to query & post data. It's composed of:
43deeee
-
43deeee
-- **Node**  : An individual object. (Eg: Release, Update, etc.)
43deeee
-- **Edge**  : A connection between a collection of objects and a single object. (Eg: Releases in an Update)
43deeee
-- **Field** : Data/attributes of an object. (Eg: id_prefix of a Release)
43deeee
-
43deeee
-You can implement GraphQL queries by either sending POST requests using CURL to the /graphql 
43deeee
-endpoint, or using the GraphiQL client.
43deeee
-
43deeee
-
43deeee
-Using the GraphiQL Client
43deeee
--------------------------
43deeee
-
43deeee
-GraphiQL is a GUI for editing and testing GraphQL queries and mutations cleanly.
43deeee
-
43deeee
-On the left side of the interface, you can enter traditional GraphQL queries. On the right 
43deeee
-tab, you will see the consequent data rendered.
43deeee
-
43deeee
-
43deeee
-GraphQL Query/Response Structure
43deeee
---------------------------------
43deeee
-
43deeee
-A typical GraphQL query looks like this
43deeee
-
43deeee
-::
43deeee
-
43deeee
-    { nameOfQuery(optionalArgument: argumentValue){
43deeee
-        fieldDesired
43deeee
-      }
43deeee
-    }
43deeee
-
43deeee
-
43deeee
-A typical GraphQL data response looks like this
43deeee
-
43deeee
-::
43deeee
-
43deeee
-    { "data":{
43deeee
-        "nameOfQuery": [
43deeee
-          {
43deeee
-            "fieldDesired": value
43deeee
-          }
43deeee
-        ] 
43deeee
-      }
43deeee
-    }
43deeee
-
43deeee
-
43deeee
-Available Queries
43deeee
-=================
43deeee
-
43deeee
-``nameOfQuery`` can be replaced with ``allReleases``, ``getRelease``, and ``getUpdate``.
43deeee
-
43deeee
-allReleases
43deeee
------------
43deeee
-.. list-table::
43deeee
-   :widths: 28 72
43deeee
-   :header-rows: 0
43deeee
-
43deeee
-   * - **Description**
43deeee
-     - Query all releases in Bodhi.
43deeee
-   * - **Object**
43deeee
-     - bodhi.server.models.release
43deeee
-   * - **Fields Available**
43deeee
-     - name, longName, version, id_prefix, branch, distTag, stableTag, testingTag, candidateTag, 
43deeee
-       pendingSigningTag, pendingTestingTag, PendingStableTag, OverrideTag, mailTemplate, state, id, 
43deeee
-       composedByBodhi, createAutomaticUpdates, packageManager, testingRepository
43deeee
-   * - **Curl Request**
43deeee
-     - ``curl -H 'Content-Type: application/json' -X POST -d '{"query": "query {allReleases {name state}}"}' https://bodhi.fedoraproject.org/graphql``
43deeee
-   * - **GraphiQL Client Query**
43deeee
-     - ::
43deeee
-
43deeee
-         { allReleases {
43deeee
-              name
43deeee
-              state
43deeee
-            }
43deeee
-         }
43deeee
-   * - **Output**
43deeee
-     - ::
43deeee
-
43deeee
-         {
43deeee
-            "data": {
43deeee
-                "allReleases": [
43deeee
-                  {
43deeee
-                    "name": "F32C",
43deeee
-                    "state": "current"
43deeee
-                  },
43deeee
-                  {
43deeee
-                  "name": "F33",
43deeee
-                  "state": "pending"
43deeee
-                  },
43deeee
-                ..
43deeee
-                ..
43deeee
-            }
43deeee
-         }
43deeee
-
43deeee
-
43deeee
-getRelease
43deeee
-----------
43deeee
-.. list-table::
43deeee
-   :widths: 28 72
43deeee
-   :header-rows: 0
43deeee
-
43deeee
-   * - **Description**
43deeee
-     - Query specific releases in Bodhi using arguments as a filter.
43deeee
-   * - **Object**
43deeee
-     - bodhi.server.models.release
43deeee
-   * - **Valid Arguments**
43deeee
-     - idPrefix, name, composedByBodhi, state
43deeee
-   * - **Fields Available**
43deeee
-     - name, longName, version, id_prefix, branch, distTag, stableTag, testingTag, candidateTag, 
43deeee
-       pendingSigningTag, pendingTestingTag, PendingStableTag, OverrideTag, mailTemplate, state, id, 
43deeee
-       composedByBodhi, createAutomaticUpdates, packageManager, testingRepository
43deeee
-   * - **Curl Request**
43deeee
-     - ``curl -H 'Content-Type: application/json' -X POST -d '{"query": "query{getRelease(composedByBodhi: true, name: "F22"){name state}}"}' https://bodhi.fedoraproject.org/graphql``
43deeee
-   * - **GraphiQL Client Query**
43deeee
-     - ::
43deeee
-
43deeee
-         { getReleases(composedByBodhi: true, name: "F22"){
43deeee
-              name
43deeee
-              state
43deeee
-            }
43deeee
-         }
43deeee
-   * - **Output**
43deeee
-     - ::
43deeee
-
43deeee
-         {
43deeee
-          "data": {
43deeee
-              "getReleases": [
43deeee
-                {
43deeee
-                  "name": "F22",
43deeee
-                  "state": "archived"
43deeee
-                }
43deeee
-              ]
43deeee
-           }
43deeee
-         }
43deeee
-
43deeee
-
43deeee
-getUpdate
43deeee
----------
43deeee
-.. list-table::
43deeee
-   :widths: 28 72
43deeee
-   :header-rows: 0
43deeee
-
43deeee
-   * - **Description**
43deeee
-     - Query specific updates in Bodhi using arguments as a filter.
43deeee
-   * - **Object**
43deeee
-     - bodhi.server.models.update
43deeee
-   * - **Valid Arguments**
43deeee
-     - stableKarma, unstableKarma, stableDays, updateType, status, request, severity, pushed, 
43deeee
-       critpath, dateApproved, alias, releaseId, userId, testGatingStatus, FromTag
43deeee
-   * - **Fields Available**
43deeee
-     - autoKarma, autotime, stableKarma, unstableKarma, stableDays, requirements, requireBugs, 
43deeee
-       requireTestCases, displayName, notes, updateType, status, request, severity, locked, pushed, 
43deeee
-       critpath, closeBugs, dateSubmitted, dateModified, dateApproved, datePushed, dateTesting, 
43deeee
-       dateStable, alias, releaseId, userId, testGatingStatus, FromTag
43deeee
-   * - **Curl Request**
43deeee
-     - ``curl -H 'Content-Type: application/json' -X POST -d '{"query": "query{getUpdate(userId: 5136){critpath}}"}' https://bodhi.fedoraproject.org/graphql``
43deeee
-   * - **GraphiQL Client Query**
43deeee
-     - ::
43deeee
-
43deeee
-         { getUpdate(userId: 5136){
43deeee
-              critpath
43deeee
-            }
43deeee
-         }
43deeee
-   * - **Output**
43deeee
-     - ::
43deeee
-
43deeee
-         {
43deeee
-            "data": {
43deeee
-               "getUpdates": [
43deeee
-              {
43deeee
-               "critpath": false
43deeee
-              }
43deeee
-            ]
43deeee
-           }
43deeee
-         }
43deeee
diff --git a/docs/server_api/index.rst b/docs/server_api/index.rst
43deeee
index 06c7991e..eabbe8f2 100644
43deeee
--- a/docs/server_api/index.rst
43deeee
+++ b/docs/server_api/index.rst
43deeee
@@ -26,39 +26,4 @@ schemas via `JSON Schema`_.
43deeee
    messages/update
43deeee
 
43deeee
 
43deeee
-REST API
43deeee
-========
43deeee
-
43deeee
-This section of the documentation describes Bodhi's REST API. You can read about the various
43deeee
-sections of the API by following the links below:
43deeee
-
43deeee
-
43deeee
-.. toctree::
43deeee
-   :maxdepth: 2
43deeee
-
43deeee
-   rest/builds
43deeee
-   rest/comments
43deeee
-   rest/composes
43deeee
-   rest/csrf
43deeee
-   rest/markdown
43deeee
-   rest/overrides
43deeee
-   rest/packages
43deeee
-   rest/releases
43deeee
-   rest/schemas
43deeee
-   rest/updates
43deeee
-   rest/users
43deeee
-
43deeee
-
43deeee
-.. _JSON Schema: https://json-schema.org/
43deeee
-
43deeee
-GRAPHQL API
43deeee
-===========
43deeee
-
43deeee
-This section of the documentation describes Bodhi's GraphQL API. You can read about the various
43deeee
-sections of the API by following the links below:
43deeee
-
43deeee
-
43deeee
-.. toctree::
43deeee
-   :maxdepth: 2
43deeee
-
43deeee
-   graphql/documentation
43deeee
\ No newline at end of file
43deeee
+.. _JSON Schema: https://json-schema.org/
43deeee
\ No newline at end of file
43deeee
diff --git a/docs/server_api/rest/builds.rst b/docs/server_api/rest/builds.rst
43deeee
deleted file mode 100644
43deeee
index f70aa573..00000000
43deeee
--- a/docs/server_api/rest/builds.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Builds
43deeee
-======
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.builds
43deeee
-   :services: build, builds
43deeee
diff --git a/docs/server_api/rest/comments.rst b/docs/server_api/rest/comments.rst
43deeee
deleted file mode 100644
43deeee
index b70afcb3..00000000
43deeee
--- a/docs/server_api/rest/comments.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Comments
43deeee
-========
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.comments
43deeee
-   :services: comment, comments, comments_rss
43deeee
diff --git a/docs/server_api/rest/composes.rst b/docs/server_api/rest/composes.rst
43deeee
deleted file mode 100644
43deeee
index b6c4b82c..00000000
43deeee
--- a/docs/server_api/rest/composes.rst
43deeee
+++ /dev/null
43deeee
@@ -1,10 +0,0 @@
43deeee
-Composes
43deeee
-========
43deeee
-
43deeee
-``cornice_sphinx`` does `not <https://github.com/Cornices/cornice.ext.sphinx/issues/15>`_ yet have
43deeee
-the ability to render documentation for the ``/composes/`` API, so we will include docblock
43deeee
-documentation for that service here instead.
43deeee
-
43deeee
-
43deeee
-.. autoclass:: bodhi.server.services.composes.Composes
43deeee
-   :members:
43deeee
diff --git a/docs/server_api/rest/csrf.rst b/docs/server_api/rest/csrf.rst
43deeee
deleted file mode 100644
43deeee
index d8488178..00000000
43deeee
--- a/docs/server_api/rest/csrf.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-CSRF
43deeee
-====
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.csrf
43deeee
-   :services: csrf
43deeee
diff --git a/docs/server_api/rest/markdown.rst b/docs/server_api/rest/markdown.rst
43deeee
deleted file mode 100644
43deeee
index d89b52ce..00000000
43deeee
--- a/docs/server_api/rest/markdown.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Markdown
43deeee
-========
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.markdown
43deeee
-   :services: markdowner
43deeee
diff --git a/docs/server_api/rest/overrides.rst b/docs/server_api/rest/overrides.rst
43deeee
deleted file mode 100644
43deeee
index 159019a8..00000000
43deeee
--- a/docs/server_api/rest/overrides.rst
43deeee
+++ /dev/null
43deeee
@@ -1,7 +0,0 @@
43deeee
-Overrides
43deeee
-=========
43deeee
-
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.overrides
43deeee
-   :services: override, overrides, overrides_rss
43deeee
diff --git a/docs/server_api/rest/packages.rst b/docs/server_api/rest/packages.rst
43deeee
deleted file mode 100644
43deeee
index 6d279ba5..00000000
43deeee
--- a/docs/server_api/rest/packages.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Packages
43deeee
-========
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.packages
43deeee
-   :services: packages
43deeee
diff --git a/docs/server_api/rest/releases.rst b/docs/server_api/rest/releases.rst
43deeee
deleted file mode 100644
43deeee
index 8fa1ae0e..00000000
43deeee
--- a/docs/server_api/rest/releases.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Releases
43deeee
-========
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.releases
43deeee
-   :services: release, releases
43deeee
diff --git a/docs/server_api/rest/schemas.rst b/docs/server_api/rest/schemas.rst
43deeee
deleted file mode 100644
43deeee
index 37456066..00000000
43deeee
--- a/docs/server_api/rest/schemas.rst
43deeee
+++ /dev/null
43deeee
@@ -1,10 +0,0 @@
43deeee
-Message schemas
43deeee
-===============
43deeee
-
43deeee
-``cornice_sphinx`` does `not <https://github.com/Cornices/cornice.ext.sphinx/issues/15>`_ yet have
43deeee
-the ability to render documentation for the ``/message-schemas/`` API, so we will include docblock
43deeee
-documentation for that service here instead.
43deeee
-
43deeee
-
43deeee
-.. autoclass:: bodhi.server.services.schemas.MessageSchemasV1
43deeee
-   :members:
43deeee
diff --git a/docs/server_api/rest/updates.rst b/docs/server_api/rest/updates.rst
43deeee
deleted file mode 100644
43deeee
index bfed55b3..00000000
43deeee
--- a/docs/server_api/rest/updates.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Updates
43deeee
-=======
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.updates
43deeee
-   :services: update, update_edit, update_get_test_results, update_request, update_waive_test_results, updates, updates_rss
43deeee
diff --git a/docs/server_api/rest/users.rst b/docs/server_api/rest/users.rst
43deeee
deleted file mode 100644
43deeee
index 29a57ee7..00000000
43deeee
--- a/docs/server_api/rest/users.rst
43deeee
+++ /dev/null
43deeee
@@ -1,6 +0,0 @@
43deeee
-Users
43deeee
-=====
43deeee
-
43deeee
-.. cornice-autodoc::
43deeee
-   :modules: bodhi.server.services.user
43deeee
-   :services: user, users, users_rss
43deeee
diff --git a/docs/user/3.x_release_notes.rst b/docs/user/3.x_release_notes.rst
43deeee
index e56e3ef8..6509f7ef 100644
43deeee
--- a/docs/user/3.x_release_notes.rst
43deeee
+++ b/docs/user/3.x_release_notes.rst
43deeee
@@ -576,7 +576,7 @@ Features
43deeee
 * Comments have a mouse hoverover for timestamps (:commit:`60e2cddb`).
43deeee
 * The compose is now skipped if the repo is already staged (:commit:`9d94edb4`).
43deeee
 * Update statuses have a descriptive tooltip in the web UI (:commit:`40d04226`).
43deeee
-* A new ``/updates/{id}/get-test-results`` :doc:`../server_api/rest/updates` API endpoint was added
43deeee
+* A new ``/updates/{id}/get-test-results`` API endpoint was added
43deeee
   that can retrieve the test results for an update from Greenwave (:commit:`9631a9b6`).
43deeee
 * API users can specify which results they'd like to waive in the waiver API (:commit:`7d51ee54`).
43deeee
 * Update CI status is now displayed in the CLI (:commit:`4ab03afe`).
43deeee
-- 
43deeee
2.35.1
43deeee