Skip to content

Commit

Permalink
events, rest: Add DEPRECATED suffix in titles as needed. (#744)
Browse files Browse the repository at this point in the history
Simplify some cross-references to the replacement APIs.
  • Loading branch information
acolomb authored Mar 13, 2022
1 parent af93ba9 commit d9d570a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 19 deletions.
6 changes: 3 additions & 3 deletions events/devicerejected.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DeviceRejected
--------------
DeviceRejected (DEPRECATED)
---------------------------

.. deprecated:: v1.13.0
This event is still emitted for compatibility, but deprecated. Use
the replacement :ref:`pending-devices-changed` event instead.
the replacement :doc:`pendingdeviceschanged` event instead.

Emitted when there is a connection from a device we are not configured
to talk to.
Expand Down
6 changes: 3 additions & 3 deletions events/folderrejected.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FolderRejected
--------------
FolderRejected (DEPRECATED)
---------------------------

.. deprecated:: v1.13.0
This event is still emitted for compatibility, but deprecated. Use
the replacement :ref:`pending-folders-changed` event instead.
the replacement :doc:`pendingfolderschanged` event instead.

Emitted when a device sends index information for a folder we do not
have, or have but do not share with the device in question.
Expand Down
2 changes: 0 additions & 2 deletions events/pendingdeviceschanged.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _pending-devices-changed:

PendingDevicesChanged
---------------------

Expand Down
2 changes: 0 additions & 2 deletions events/pendingfolderschanged.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _pending-folders-changed:

PendingFoldersChanged
---------------------

Expand Down
4 changes: 2 additions & 2 deletions rest/folder-pullerrors-get.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /rest/folder/pullerrors
===========================
GET /rest/folder/pullerrors (DEPRECATED)
========================================

.. deprecated:: v0.14.53
This endpoint still works as before but is deprecated. Use
Expand Down
4 changes: 2 additions & 2 deletions rest/system-config-get.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /rest/system/config
=======================
GET /rest/system/config (DEPRECATED)
====================================

.. deprecated:: v1.12.0
This endpoint still works as before but is deprecated. Use :ref:`rest-config`
Expand Down
4 changes: 2 additions & 2 deletions rest/system-config-insync-get.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /rest/system/config/insync
==============================
GET /rest/system/config/insync (DEPRECATED)
===========================================

.. deprecated:: v1.12.0
This endpoint still works as before but is deprecated. Use
Expand Down
6 changes: 3 additions & 3 deletions rest/system-config-post.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
POST /rest/system/config
========================
POST /rest/system/config (DEPRECATED)
=====================================

.. deprecated:: v1.12.0
This endpoint still works as before but is deprecated. Use :ref:`rest-config`
This endpoint still works as before but is deprecated. Use :doc:`config`
instead.

Post the full contents of the configuration, in the same format as returned by
Expand Down

0 comments on commit d9d570a

Please sign in to comment.