docs/filesystems:fixes two build warnings
cover docs/filesystems:fixes two build warnings
This series of patches fix some warnings:
linux-next/Documentation/filesystems/cifs/cifsd.rst:3: WARNING: Title overline too short.
=========================
CIFSD - SMB3 Kernel Server
=========================
linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING: document isn't included in any toctree
Yanteng Si(2):
docs: filesystems: cifsd: fix document title markup
docs: filesystems: add cifs to the index file
---
Documentation/filesystems/cifs/cifsd.rst | 4 ++-- Documentation/filesystems/cifs/index.rst | 12 ++++++++++++ Documentation/filesystems/index.rst | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-)
PATCH 1/2 docs: filesystems: cifsd: fix document title markup
As warned by sphinx:
linux-next/Documentation/filesystems/cifs/cifsd.rst:3: WARNING:
Title overline too short.
=========================
CIFSD - SMB3 Kernel Server
=========================
so,just increase it!
--- Documentation/filesystems/cifs/cifsd.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/filesystems/cifs/cifsd.rst +2 -2
@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0 -========================= +========================== CIFSD - SMB3 Kernel Server -========================= +========================== CIFSD is a linux kernel server which implements SMB3 protocol in kernel space for sharing files over network.
Signature · 1 line
2.25.1
RE: [PATCH 1/2] docs: filesystems: cifsd: fix document title markup
Hi Yanteng,
Thanks for your patch.
I have already applied the patch to fix this warning to steve's tree.
https://github.com/smfrench/smb3-kernel/commit/801019d874df84f5fa8d21148c2a82edc80785da
Thanks!
Quoted 31 lines
As warned by sphinx:
linux-next/Documentation/filesystems/cifs/cifsd.rst:3: WARNING:
Title overline too short.=========================
CIFSD - SMB3 Kernel Server
=========================so,just increase it!
--- Documentation/filesystems/cifs/cifsd.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/filesystems/cifs/cifsd.rst +2
-2@@ -1,8 +1,8 @@ .. SPDX-License-Identifier: GPL-2.0 -========================= +========================== CIFSD - SMB3 Kernel Server -========================= +========================== CIFSD is a linux kernel server which implements SMB3 protocol in kernel space for sharing files overnetwork.
--
2.25.1
PATCH 2/2 docs: filesystems: add cifs to the index file
In reply to Yanteng SiFilesystems has a new cifs folder. Add it to the index file. Should address this warning:
linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING:
document isn't included in any toctree
--- Documentation/filesystems/cifs/index.rst | 12 ++++++++++++ Documentation/filesystems/index.rst | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Documentation/filesystems/cifs/index.rst
Documentation/filesystems/cifs/index.rst new file +12 -0
@@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +==== +CIFS +==== + +.. toctree:: + :maxdepth: 2 + :numbered: + + cifsd + cifsroot
Documentation/filesystems/index.rst +1 -1
@@ -72,7 +72,7 @@ Documentation for filesystem implementations. befs bfs btrfs - cifs/cifsroot + cifs/index ceph coda configfs
Signature · 1 line
2.25.1
RE: [PATCH 2/2] docs: filesystems: add cifs to the index file
Quoted 17 lines
Filesystems has a new cifs folder. Add it to the index file. Should address this warning:
linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING:
document isn't included in any toctree--- Documentation/filesystems/cifs/index.rst | 12 ++++++++++++ Documentation/filesystems/index.rst | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644
Documentation/filesystems/cifs/index.rstDocumentation/filesystems/cifs/index.rst new file +0
-0
Documentation/filesystems/cifs/index.rst line 9
Quoted 9 lines
Documentation/filesystems/cifs/index.rst new file +9
-0@@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +==== +CIFS +==== + +.. toctree:: + :maxdepth: 2 + :numbered:
Could you please explain what :maxdepth and :numbered are ?
Thanks!
Quoted 18 lines
Documentation/filesystems/cifs/index.rst new file +3
-0+ + cifsd + cifsrootDocumentation/filesystems/index.rst +1
-2@@ -72,7 +72,7 @@ Documentation for filesystem implementations. befs bfs btrfs - cifs/cifsroot + cifs/index ceph coda configfs --2.25.1
Re: RE: [PATCH 2/2] docs: filesystems: add cifs to the index file
Sorry, I copied an index as a base from somewhere else and modified it, obviously I didn't do a very nice job and this will cause problems for future developers. Just keep the defaults, can I delete them in v2? Thanks!
Yanteng
"Namjae Jeon" <[email protected]>写道:
> > Filesystems has a new cifs folder. Add it to the index file.
> > Should address this warning:
> >
> > linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING:
> > document isn't included in any toctree
> > ---
> > Documentation/filesystems/cifs/index.rst | 12 ++++++++++++ > > Documentation/filesystems/index.rst | 2 +- > > 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644
> > Documentation/filesystems/cifs/index.rst
> >
> > diff --git a/Documentation/filesystems/cifs/index.rst b/Documentation/filesystems/cifs/index.rst > > new file mode 100644
> > index 000000000000..b4a487e9adff
> > --- /dev/null
> > +++ b/Documentation/filesystems/cifs/index.rst
> > @@ -0,0 +1,12 @@
> > +.. SPDX-License-Identifier: GPL-2.0
> > +
> > +====
> > +CIFS
> > +====
> > +
> > +.. toctree::
> > + :maxdepth: 2
> > + :numbered:
> Could you please explain what :maxdepth and :numbered are ?
>
> Thanks!
> > +
> > + cifsd
> > + cifsroot
> > diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst > > index d4853cb919d2..bdba80ae2bb1 100644
> > --- a/Documentation/filesystems/index.rst
> > +++ b/Documentation/filesystems/index.rst
> > @@ -72,7 +72,7 @@ Documentation for filesystem implementations.
> > befs > > bfs > > btrfs > > - cifs/cifsroot > > + cifs/index > > ceph > > coda > > configfs
> > --
> > 2.25.1
>
RE: RE: [PATCH 2/2] docs: filesystems: add cifs to the index file
Quoted 3 lines
Sorry, I copied an index as a base from somewhere else and modified it, obviously I didn't do a very nice job and this will cause problems for future developers. Just keep the defaults, can I delete them in v2?
Is it really right to delete them? First we have to know what they mean. When I see Documentation/filesystems/nfs/index.st, :maxdepth is set to 1. Can you take a look more ?
Quoted 49 lines
Thanks!
Yanteng
"Namjae Jeon" <[email protected]>写道:
> > Filesystems has a new cifs folder. Add it to the index file.
> > Should address this warning:
> >
> >linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING:
> > document isn't included in any toctree > > --- > >Documentation/filesystems/cifs/index.rst| 12 ++++++++++++
> >Documentation/filesystems/index.rst| 2 +-
> > 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 > >Documentation/filesystems/cifs/index.rst
> >
> > diff --gita/Documentation/filesystems/cifs/index.rstb/Documentation/filesystems/cifs/index.rst
> > new file mode 100644
> > index 000000000000..b4a487e9adff > > ---/dev/null> > +++b/Documentation/filesystems/cifs/index.rst
> > @@ -0,0 +1,12 @@
> > +.. SPDX-License-Identifier: GPL-2.0 > > + > > +==== > > +CIFS > >+==== > > + > > +.. toctree:: > > + :maxdepth: 2 > > + :numbered:> Could you please explain what :maxdepth and :numbered are ?
>
> Thanks!
> > +
> > + cifsd
> > + cifsroot
> > diff --gita/Documentation/filesystems/index.rstb/Documentation/filesystems/index.rst> > indexd4853cb919d2..bdba80ae2bb1100644 > > ---a/Documentation/filesystems/index.rst> > +++b/Documentation/filesystems/index.rst
> > @@ -72,7 +72,7 @@ Documentation for filesystem implementations.> > befs > > bfs > > btrfs > > - cifs/cifsroot > > + cifs/index > > ceph > > coda > > configfs> > --
> > 2.25.1
>
Re: RE: RE: [PATCH 2/2] docs: filesystems: add cifs to the index file
Thank you! In the past two days I have consulted not only other indexes, but also the Sphinx manual. In the meantime I have done a lot of experimentation. Now I am convinced that: ":maxdepth:1" is appropriate; ":numbered" is not needed. Thanks!
Yanteng
> -----原始邮件-----
> 发件人: "Namjae Jeon" <[email protected]>
> 发送时间: 2021-03-19 11:35:39 (星期五)
> 收件人: "'司延腾'" <[email protected]>
> 抄送: [email protected], "'Steve French'" <[email protected]>, "'Gibeom Kim'" <[email protected]>, [email protected], "'Huacai chen'" <[email protected]>, [email protected], "'Jonathan > Corbet'" <[email protected]>
> 主题: RE: RE: [PATCH 2/2] docs: filesystems: add cifs to the index file
>
> > Sorry, I copied an index as a base from somewhere else and modified it, obviously I didn't do a very
> > nice job and this will cause problems for future developers. Just keep the defaults, can I delete them
> > in v2?
> Is it really right to delete them? First we have to know what they mean.
> When I see Documentation/filesystems/nfs/index.st, :maxdepth is set to 1.
> Can you take a look more ?
>
> > Thanks!
> >
> > Yanteng
> >
> > "Namjae Jeon" <[email protected]>写道:
> > > > Filesystems has a new cifs folder. Add it to the index file.
> > > > Should address this warning:
> > > >
> > > > linux-next/Documentation/filesystems/cifs/cifsd.rst: WARNING:
> > > > document isn't included in any toctree > > --- > >
> > Documentation/filesystems/cifs/index.rst | 12 ++++++++++++
> > > > Documentation/filesystems/index.rst | 2 +-
> > > > 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 > >
> > Documentation/filesystems/cifs/index.rst
> > > >
> > > > diff --git a/Documentation/filesystems/cifs/index.rst
> > b/Documentation/filesystems/cifs/index.rst
> > > > new file mode 100644
> > > > index 000000000000..b4a487e9adff > > --- /dev/null > > +++
> > b/Documentation/filesystems/cifs/index.rst
> > > > @@ -0,0 +1,12 @@
> > > > +.. SPDX-License-Identifier: GPL-2.0 > > + > > +==== > > +CIFS > >
> > +==== > > + > > +.. toctree::
> > > > + :maxdepth: 2
> > > > + :numbered:
> > > Could you please explain what :maxdepth and :numbered are ?
> > >
> > > Thanks!
> > > > +
> > > > + cifsd
> > > > + cifsroot
> > > > diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst
> > > > index d4853cb919d2..bdba80ae2bb1 100644 > > --- a/Documentation/filesystems/index.rst
> > > > +++ b/Documentation/filesystems/index.rst
> > > > @@ -72,7 +72,7 @@ Documentation for filesystem implementations.
> > > > befs > > > > bfs > > > > btrfs > > > > - cifs/cifsroot > > > > + cifs/index > > > > ceph > > > > coda > > > > configfs
> > > > --
> > > > 2.25.1
> > >
> >
> >
> > </[email protected]>
>
>
</[email protected]></[email protected]></[email protected]></[email protected]></[email protected]></[email protected]>