Skip to content

Commit 5ff4aa7

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: submitting-patches: use :doc: for references
There are two broken references at submitting-patches.rst: Documentation/process/submitting-patches.rst:240: WARNING: undefined label: security-bugs (if the link has no caption the label must precede a section header) Documentation/process/submitting-patches.rst:336: WARNING: undefined label: documentation/process/email-clients.rst (if the link has no caption the label must precede a section header) Those are due to some recent renames and file moves. It turns that maintaining :ref: is currently harder than using :doc:, as we now have a script to help checking such references. So, replace :ref: to :doc: there, making them to point to the current file name. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/3ba405f579cf35ef2b39dd210d8ad46adc79f0ad.1599660067.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent b899353 commit 5ff4aa7

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

‎Documentation/process/submitting-patches.rst‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ can greatly increase the chances of your change being accepted.
1010

1111
This document contains a large number of suggestions in a relatively terse
1212
format. For detailed information on how the kernel development process
13-
works, see :ref:`Documentation/process <development_process_main>`.
14-
Also, read :ref:`Documentation/process/submit-checklist.rst <submitchecklist>`
15-
for a list of items to check before
16-
submitting code. If you are submitting a driver, also read
17-
:ref:`Documentation/process/submitting-drivers.rst <submittingdrivers>`;
18-
for device tree binding patches, read
19-
Documentation/devicetree/bindings/submitting-patches.rst.
13+
works, see :doc:`development-process`. Also, read :doc:`submit-checklist`
14+
for a list of items to check before submitting code. If you are submitting
15+
a driver, also read :doc:`submitting-drivers`; for device tree binding patches,
16+
read :doc:`submitting-patches`.
2017

2118
This documentation assumes that you're using ``git`` to prepare your patches.
2219
If you're unfamiliar with ``git``, you would be well-advised to learn how to
@@ -241,7 +238,7 @@ If you have a patch that fixes an exploitable security bug, send that patch
241238
to security@kernel.org. For severe bugs, a short embargo may be considered
242239
to allow distributors to get the patch out to users; in such cases,
243240
obviously, the patch should not be sent to any public lists. See also
244-
:ref:`Documentation/admin-guide/security-bugs.rst <security-bugs>`.
241+
:doc:`/admin-guide/security-bugs`.
245242

246243
Patches that fix a severe bug in a released kernel should be directed
247244
toward the stable maintainers by putting a line like this::
@@ -313,9 +310,8 @@ decreasing the likelihood of your MIME-attached change being accepted.
313310
Exception: If your mailer is mangling patches then someone may ask
314311
you to re-send them using MIME.
315312

316-
See :ref:`Documentation/process/email-clients.rst <email_clients>`
317-
for hints about configuring your e-mail client so that it sends your patches
318-
untouched.
313+
See :doc:`/process/email-clients` for hints about configuring your e-mail
314+
client so that it sends your patches untouched.
319315

320316
Respond to review comments
321317
--------------------------
@@ -333,7 +329,7 @@ for their time. Code review is a tiring and time-consuming process, and
333329
reviewers sometimes get grumpy. Even in that case, though, respond
334330
politely and address the problems they have pointed out.
335331

336-
See :ref:`Documentation/process/email-clients.rst` for recommendations on email
332+
See :doc:`email-clients` for recommendations on email
337333
clients and mailing list etiquette.
338334

339335

0 commit comments

Comments
 (0)