* Documents not in sphinx toctree
@ 2020-11-05 16:12 Marc-André Lureau
2020-11-05 16:19 ` Peter Maydell
2020-11-05 16:34 ` Paolo Bonzini
0 siblings, 2 replies; 6+ messages in thread
From: Marc-André Lureau @ 2020-11-05 16:12 UTC (permalink / raw)
To: QEMU
Cc: Pankaj Gupta, Paolo Bonzini, Jens Freimann, Sergio Lopez,
Kashyap Chamarthy
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
Hi,
By running sphinx over the docs/ directory (like readthedocs.org presumably
does), it finds a couple of rst documents that are not referenced:
- cpu-hotplug.rst
- microvm.rst
- pr-manager.rst
- virtio-net-failover.rst
- virtio-pmem.rst
Shouldn't they be?
If not (I wonder why), there should be a way to explicitly exclude those,
and avoid extra warnings.
thanks
--
Marc-André Lureau
[-- Attachment #2: Type: text/html, Size: 699 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Documents not in sphinx toctree
2020-11-05 16:12 Documents not in sphinx toctree Marc-André Lureau
@ 2020-11-05 16:19 ` Peter Maydell
2020-11-05 16:36 ` Jens Freimann
2020-11-05 16:34 ` Paolo Bonzini
1 sibling, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2020-11-05 16:19 UTC (permalink / raw)
To: Marc-André Lureau
Cc: Pankaj Gupta, Sergio Lopez, Kashyap Chamarthy, QEMU,
Paolo Bonzini, Jens Freimann
On Thu, 5 Nov 2020 at 16:14, Marc-André Lureau
<marcandre.lureau@gmail.com> wrote:
> By running sphinx over the docs/ directory (like readthedocs.org presumably does), it finds a couple of rst documents that are not referenced:
> - cpu-hotplug.rst
> - microvm.rst
> - pr-manager.rst
> - virtio-net-failover.rst
> - virtio-pmem.rst
>
> Shouldn't they be?
These all need to be moved into the correct manual. That
might involve splitting them into several pieces so that
the different pieces can go into different manuals.
The difficulty is that this requires attention from somebody
who has at least some vague idea of the contents and who
can move them around appropriately.
In the meantime, they're in exactly the same boat as
the various *.txt documents in docs/ -- old stuff
that doesn't end up in the user-facing manuals and which
nobody's got round to properly integrating into the docs yet.
> If not (I wonder why), there should be a way to explicitly
> exclude those, and avoid extra warnings.
The only thing that runs sphinx directly on the docs
is readthedocs, and it doesn't care about warnings :-)
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Documents not in sphinx toctree
2020-11-05 16:12 Documents not in sphinx toctree Marc-André Lureau
2020-11-05 16:19 ` Peter Maydell
@ 2020-11-05 16:34 ` Paolo Bonzini
1 sibling, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2020-11-05 16:34 UTC (permalink / raw)
To: Marc-André Lureau, QEMU
Cc: Pankaj Gupta, Jens Freimann, Sergio Lopez, Kashyap Chamarthy
On 05/11/20 17:12, Marc-André Lureau wrote:
> Hi,
>
> By running sphinx over the docs/ directory (like readthedocs.org
> <http://readthedocs.org> presumably does), it finds a couple of rst
> documents that are not referenced:
> - cpu-hotplug.rst
> - microvm.rst
> - pr-manager.rst
> - virtio-net-failover.rst
> - virtio-pmem.rst
>
> Shouldn't they be?
>
> If not (I wonder why), there should be a way to explicitly exclude
> those, and avoid extra warnings.
They were written or converted after we had decided to switch to Sphinx,
but before we had a proper manual structure.
The problem is finding them a place...
Paolo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Documents not in sphinx toctree
2020-11-05 16:19 ` Peter Maydell
@ 2020-11-05 16:36 ` Jens Freimann
2020-11-05 17:04 ` Peter Maydell
0 siblings, 1 reply; 6+ messages in thread
From: Jens Freimann @ 2020-11-05 16:36 UTC (permalink / raw)
To: Peter Maydell
Cc: Paolo Bonzini, Marc-André Lureau, QEMU, Sergio Lopez,
Kashyap Chamarthy
On Thu, Nov 05, 2020 at 04:19:00PM +0000, Peter Maydell wrote:
>On Thu, 5 Nov 2020 at 16:14, Marc-André Lureau
><marcandre.lureau@gmail.com> wrote:
>> By running sphinx over the docs/ directory (like readthedocs.org presumably does), it finds a couple of rst documents that are not referenced:
>> - cpu-hotplug.rst
>> - microvm.rst
>> - pr-manager.rst
>> - virtio-net-failover.rst
Given the current structure of the content in
https://qemu.readthedocs.io/en/latest/,
would adding this as a new bullet in "QEMU System Emulation User’s
Guide" be the right thing to do?
regards,
Jens
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Documents not in sphinx toctree
2020-11-05 16:36 ` Jens Freimann
@ 2020-11-05 17:04 ` Peter Maydell
2020-11-06 12:58 ` Pankaj Gupta
0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2020-11-05 17:04 UTC (permalink / raw)
To: Jens Freimann
Cc: Paolo Bonzini, Marc-André Lureau, QEMU, Sergio Lopez,
Kashyap Chamarthy
On Thu, 5 Nov 2020 at 16:36, Jens Freimann <jfreimann@redhat.com> wrote:
>
> On Thu, Nov 05, 2020 at 04:19:00PM +0000, Peter Maydell wrote:
> >On Thu, 5 Nov 2020 at 16:14, Marc-André Lureau
> ><marcandre.lureau@gmail.com> wrote:
> >> By running sphinx over the docs/ directory (like readthedocs.org presumably does), it finds a couple of rst documents that are not referenced:
> >> - cpu-hotplug.rst
> >> - microvm.rst
> >> - pr-manager.rst
> >> - virtio-net-failover.rst
>
> Given the current structure of the content in
> https://qemu.readthedocs.io/en/latest/,
> would adding this as a new bullet in "QEMU System Emulation User’s
> Guide" be the right thing to do?
Adding which?
For cpu-hotplug.rst:
I guess the system manual. The document has a bit of a
"tutorial" feel which doesn't entirely fit the rest of the
manuals.
For microvm.rst:
docs/system/target-i386.rst should be split into
documentation for each of the machine models separately
(as a list of links to docs in docs/system/i386/, similar
to the structure of target-arm.rst and docs/system/arm/).
Then microvm.rst can go into docs/system/i386.
For pr-manager.rst:
The parts that are documenting the qemu-pr-helper invocation
should turn into a docs/tools/ manpage for it.
The other parts should go in the system manual I guess.
For virtio-net-failover.rst:
Should go under the "Network emulation" part of the system
manual, I think.
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Documents not in sphinx toctree
2020-11-05 17:04 ` Peter Maydell
@ 2020-11-06 12:58 ` Pankaj Gupta
0 siblings, 0 replies; 6+ messages in thread
From: Pankaj Gupta @ 2020-11-06 12:58 UTC (permalink / raw)
To: Peter Maydell
Cc: Sergio Lopez, Kashyap Chamarthy, QEMU, Marc-André Lureau,
Paolo Bonzini, Jens Freimann
> > >> By running sphinx over the docs/ directory (like readthedocs.org presumably does), it finds a couple of rst documents that are not referenced:
> > >> - cpu-hotplug.rst
> > >> - microvm.rst
> > >> - pr-manager.rst
> > >> - virtio-net-failover.rst
> >
> > Given the current structure of the content in
> > https://qemu.readthedocs.io/en/latest/,
> > would adding this as a new bullet in "QEMU System Emulation User’s
> > Guide" be the right thing to do?
>
> Adding which?
>
> For cpu-hotplug.rst:
> I guess the system manual. The document has a bit of a
> "tutorial" feel which doesn't entirely fit the rest of the
> manuals.
>
> For microvm.rst:
> docs/system/target-i386.rst should be split into
> documentation for each of the machine models separately
> (as a list of links to docs in docs/system/i386/, similar
> to the structure of target-arm.rst and docs/system/arm/).
> Then microvm.rst can go into docs/system/i386.
>
> For pr-manager.rst:
> The parts that are documenting the qemu-pr-helper invocation
> should turn into a docs/tools/ manpage for it.
> The other parts should go in the system manual I guess.
>
> For virtio-net-failover.rst:
> Should go under the "Network emulation" part of the system
> manual, I think.
Maybe existing memory emulation 'txt' files need to be converted into '.rst',
and along with virtio-pmem.rst could be moved to a new section?
Thanks,
Pankaj
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-06 12:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-05 16:12 Documents not in sphinx toctree Marc-André Lureau
2020-11-05 16:19 ` Peter Maydell
2020-11-05 16:36 ` Jens Freimann
2020-11-05 17:04 ` Peter Maydell
2020-11-06 12:58 ` Pankaj Gupta
2020-11-05 16:34 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).