Re: [PATCH 14/34] docs: dev-tools: kunit: avoid using ReST :doc:`foo` markup
From: Mauro Carvalho Chehab
Date: Wed Jun 16 2021 - 02:13:34 EST
Em Wed, 16 Jun 2021 08:00:34 +0200
Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> escreveu:
> Em Sat, 5 Jun 2021 23:44:41 +0800
> David Gow <davidgow@xxxxxxxxxx> escreveu:
>
> > On Sat, Jun 5, 2021 at 9:18 PM Mauro Carvalho Chehab
> > <mchehab+huawei@xxxxxxxxxx> wrote:
> > >
> > > The :doc:`foo` tag is auto-generated via automarkup.py.
> > > So, use the filename at the sources, instead of :doc:`foo`.
> > >
> > > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> > > ---
> >
> > This is much better, thanks! Do note that there's a merge conflict
> > (and another :doc:`` tag which needs updating) in the kunit-fixes
> > branch:
> > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=kunit-fixes&id=11dbc62a73a7da9f3697e8ce83d07503c11dcabb
>
> Ok, thanks for the warning. I'm folding the enclosed patch:
Err... ended adding a wrong diff there...
I guess I'm missing my morning dosage of caffeine ;-)
The diff I appended is this one:
diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst
index ee21e482a0de..63ef7b625c13 100644
--- a/Documentation/dev-tools/kunit/start.rst
+++ b/Documentation/dev-tools/kunit/start.rst
@@ -236,5 +236,5 @@ Next Steps
==========
* Check out the Documentation/dev-tools/kunit/tips.rst page for tips on
writing idiomatic KUnit tests.
-* Optional: see the Documentation/dev-tools/kunit/usage.rst page for a more
+* Optional: see the :doc:`usage` page for a more
in-depth explanation of KUnit.
It basically reverts a change in order to avoid merge conflicts at
linux-next when this patch gets merged via docs-next.
I'll submit later a followup patch against 5.14-rc1.
Thanks,
Mauro