Skip to content

Commit 815a4a8

Browse files
authored
Merge pull request #14703 from nextcloud/backport/14644/stable33
2 parents 0399b50 + 6816381 commit 815a4a8

8 files changed

Lines changed: 9 additions & 10 deletions

File tree

developer_manual/app_development/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ purpose there are several events emitted that an app can act upon.
3131
* ``OCP\AppFramework\Http\TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS`` (constant): loaded when a template response is finished
3232
* ``OCP\AppFramework\Http\TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN`` (constant): loaded when a template response is finished for a logged in user
3333

34-
You can subscribe listeners to these events in the :ref:`bootstrapping code<Bootstrapping>` of the app. See the :ref:`events documentation<Events>` for more details on the event dispatcher and available events.
34+
You can register listeners for these events in the :ref:`bootstrapping code<Bootstrapping>` of the app. See the :ref:`events documentation<Events>` for more details on the event dispatcher and available events.

developer_manual/basics/backgroundjobs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and ``\OCP\BackgroundJob\TimedJob``.
1616

1717
The ``QueuedJob`` is for one time jobs. This can for example be triggered by inserting
1818
a job because an event happened. The ``TimedJob`` has a method ``setInterval`` where
19-
you can set the time minimum time in seconds between the jobs (from the constructor).
19+
you can set the minimum time in seconds between the jobs (from the constructor).
2020
This is useful in case you want to have a job that is run at most once a day for example.
2121

2222
Of course you can customize this all to your liking by just extending ``\OCP\BackgroundJob\Job``

developer_manual/basics/setting.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ setting with attribute.
169169
}
170170
171171
172-
If you have several ``IDelegatedSettings`` classes that are needed for a function, simply add the annotation multiple times.
173-
them in the key "settings" and they must separate with semi-colons.
172+
If you have several ``IDelegatedSettings`` classes that are needed for a function, add multiple attributes and separate them with semicolons.
174173

175174
.. note::
176175

developer_manual/client_apis/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Nextcloud's APIs are mainly available through :ref:`rest-apis`, :ref:`OCS <ocsap
77
Generic Errors
88
--------------
99

10-
Additional to specific errors of an API, there are a few generic errors Nextcloud might throw on web APIs.
10+
In addition to specific errors of an API, there are a few generic errors Nextcloud might throw on web APIs.
1111

1212
Maintenance Mode
1313
****************

developer_manual/digging_deeper/performance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Performance considerations
66

77
This document introduces some common considerations and tips on improving performance of Nextcloud. Speed of Nextcloud is important - nobody likes to wait and often, what is *just slow* for a small amount of data will become *unusable* with a large amount of data. Please keep these tips in mind when developing for Nextcloud and consider reviewing your app to make it faster.
88

9-
.. note::**Tips welcome**: More tips and ideas on performance are very welcome!
9+
.. note:: Tips welcome: More tips and ideas on performance are very welcome!
1010

1111
PHP Performance
1212
---------------

developer_manual/digging_deeper/status.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Updating the status programmatically
4242
------------------------------------
4343

4444
A Nextcloud application can change the user status programmatically. This feature
45-
`setUserStatus` from the `OCP\\UserStatus\\IManager` interface when for example an
46-
user execute an action in the UI.
45+
`setUserStatus` from the `OCP\\UserStatus\\IManager` interface when for example a
46+
user executes an action in the UI.
4747

4848
If the status is supposed to be reverted with an upcoming action from the
4949
user, `setUserStatus` will require to be called with `$createBackup = true`.

developer_manual/exapp_development/faq/BehindCompanyProxy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Method 2: Set System-Wide Environment Variables
136136

137137
.. code-block:: bash
138138
139-
sudo -E -u www-data test-deploy docker_socket_proxy --info-xml https://raw.githubusercontent.com/nextcloud/test-deploy/main/appinfo/info.xml --test-deploy-mode --no-ansi --no-warnings
139+
sudo -E -u www-data php occ app_api:app:register test-deploy docker_socket_proxy --info-xml https://raw.githubusercontent.com/nextcloud/test-deploy/main/appinfo/info.xml --test-deploy-mode --no-ansi --no-warnings
140140

141141
It should now work without connectivity issues.
142142

developer_manual/getting_started/devenv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ or to prune all merged branches, you would execute this::
134134

135135
find . -maxdepth 3 -type d -name .git -exec sh -c 'cd "{}"/../ && pwd && git remote prune origin' \;
136136

137-
It is even easier if you create alias from these commands in case you want to avoid retyping those each time you need them.
137+
It is even easier if you create aliases for these commands in case you want to avoid retyping those each time you need them.
138138

139139

140140
.. _GitHub: https://github.com/nextcloud

0 commit comments

Comments
 (0)