dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: "Iremonger,
	Bernard"
	<bernard.iremonger-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [RFC PATCH 3/4] doc: nics guide
Date: Mon, 02 Feb 2015 18:38:16 +0100	[thread overview]
Message-ID: <1500004.RM7mZx5SlJ@xps13> (raw)
In-Reply-To: <8CEF83825BEC744B83065625E567D7C2049DCD83-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>

2015-02-02 17:33, Iremonger, Bernard:
> From: Thomas Monjalon [mailto:thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org]
> > 2015-02-02 14:59, Iremonger, Bernard:
> > > > 2015-02-02 14:11, Iremonger, Bernard:
> > > > > > --- a/doc/guides/prog_guide/index.rst
> > > > > > +++ b/doc/guides/prog_guide/index.rst
> > > > > > @@ -101,18 +96,6 @@ Programmer's Guide
> > > > > >
> > > > > >  :ref:`Figure 9. An mbuf with Three Segments <pg_figure_9>`
> > > > > >
> > > > > > -:ref:`Figure 10. Virtualization for a Single Port NIC in SR-IOV
> > > > > > Mode <pg_figure_10>`
> > > > > > -
> > > > > > -:ref:`Figure 11. Performance Benchmark Setup <pg_figure_11>`
> > > > > > -
> > > > > > -:ref:`Figure 12. Fast Host-based Packet Processing
> > > > > > <pg_figure_12>`
> > > > > > -
> > > > > > -:ref:`Figure 13. Inter-VM Communication <pg_figure_13>`
> > > > > > -
> > > > > > -:ref:`Figure 14. Host2VM Communication Example Using kni vhost
> > > > > > Back End <pg_figure_14>`
> > > > > > -
> > > > > > -:ref:`Figure 15. Host2VM Communication Example Using qemu vhost
> > > > > > Back End <pg_figure_15>`
> > > > > > -
> > > > > >  :ref:`Figure 16. Memory Sharing inthe Intel(r) DPDK
> > > > > > Multi-process Sample Application <pg_figure_16>`
> > > > > >
> > > > > >  :ref:`Figure 17. Components of an Intel(r) DPDK KNI Application
> > > > > > <pg_figure_17>` diff --git
> > > > >
> > > > > References to Figures 9 to 17 have been removed have they been reinstated somewhere else ?
> > > >
> > > > Figures 10 to 15 moved in doc/guides/nics/img.
> > > >
> > > > I didn't re-create the references in doc/guides/nics/index.rst nor
> > > > renumbered the ones in doc/guides/prog_guide/index.rst.
> > >
> > > It would be better to recreate the references  in  doc/guides/nics/index.rst rather than just delete them.
> > > I don't think there is any need to renumber them.
> > > The references are global across documents and must be unique.
> > 
> > No the references are not really uniques:
> > 	- Figures in doc/guides/sample_app_ug/index.rst start from 1 to 17.
> > 	- Figures in doc/guides/prog_guide/index.rst start from 1 to 39.
> > When adding a new new figure in a document, we must renumber them.
> 
> I had this problem before with duplicate numbers, so in the prog_guide I prefixed the links with "pg_" so the links are unique.
> For example:
>  :ref:`Figure 16. Memory Sharing inthe Intel(r) DPDK Multi-process Sample Application <pg_figure_16>` 

OK I understand what is unique.
But I still think that the number in "Figure 16." should be automatically generated.
Or we can remove this Figure/Table list at the bottom of the index.

> > > > I think these manual numberings should be removed as it is a pain to update.
> > > > Actually I don't really understand what is the usage of such references.
> > > > So I suggest to completely remove them or generate them with a script.
> > >
> > > These references were in the original 1.7 MSWord docs.
> > > When reading a document it enabled the reader to jump to another
> > > section and jump back, they worked in the HTML docs too.
> > > I think they should be retained.
> > 
> > Are you speaking about the figure references at the bottom of this page?
> > 	http://dpdk.org/doc/guides/prog_guide
> > It doesn't really help for browsing.
> 
> No, what I mean is that within a document you can jump to another section and back for example:
> 
> file:///home/bairemon/git_home/dpdk_master/build/doc/html/guides/prog_guide/mbuf_lib.html  
> There is link on this page that allows the reader to jump to Mempool Library
> file:///home/bairemon/git_home/dpdk_master/build/doc/html/guides/prog_guide/mempool_lib.html#mempool-library
> The reader can use the back arrow in the browser to return to the original page.
> All of the links are used for this purpose.

OK, it was a misunderstanding. I agree the cross references are useful.
I'm speaking only about the Figure/Table list at the bottom of the index.

-- 
Thomas

  parent reply	other threads:[~2015-02-02 17:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31 23:35 [RFC PATCH 0/4] welcome doc for new nics and environments Thomas Monjalon
     [not found] ` <1422747307-13792-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-01-31 23:35   ` [RFC PATCH 1/4] doc: fix file attributes Thomas Monjalon
2015-01-31 23:35   ` [RFC PATCH 2/4] doc: move Xen guide out of programmers guide Thomas Monjalon
2015-01-31 23:35   ` [RFC PATCH 3/4] doc: nics guide Thomas Monjalon
     [not found]     ` <1422747307-13792-4-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-02-02 14:11       ` Iremonger, Bernard
     [not found]         ` <8CEF83825BEC744B83065625E567D7C2049DCC0B-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02 14:33           ` Thomas Monjalon
2015-02-02 14:59             ` Iremonger, Bernard
     [not found]               ` <8CEF83825BEC744B83065625E567D7C2049DCC4E-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02 17:11                 ` Thomas Monjalon
2015-02-02 17:33                   ` Iremonger, Bernard
     [not found]                     ` <8CEF83825BEC744B83065625E567D7C2049DCD83-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02 17:38                       ` Thomas Monjalon [this message]
2015-02-02 17:54                         ` Iremonger, Bernard
2015-01-31 23:35   ` [RFC PATCH 4/4] doc: remove copyright footer Thomas Monjalon
2015-03-19 16:48   ` [PATCH v2 0/3] split programmers guide a bit Thomas Monjalon
     [not found]     ` <1426783711-2407-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-03-19 16:48       ` [PATCH v2 1/3] doc: fix file attributes Thomas Monjalon
     [not found]         ` <1426783711-2407-2-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-03-19 18:03           ` Butler, Siobhan A
2015-03-19 16:48       ` [PATCH v2 2/3] doc: move Xen guide out of programmers guide Thomas Monjalon
     [not found]         ` <1426783711-2407-3-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-03-19 18:03           ` Butler, Siobhan A
2015-03-19 16:48       ` [PATCH v2 3/3] doc: nics guide Thomas Monjalon
     [not found]         ` <1426783711-2407-4-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2015-03-19 17:36           ` Iremonger, Bernard
2015-03-19 18:02           ` Butler, Siobhan A
2015-03-30 23:38       ` [PATCH v2 0/3] split programmers guide a bit Thomas Monjalon
2015-03-31 11:34         ` Mcnamara, John
     [not found]           ` <B27915DBBA3421428155699D51E4CFE2F001CD-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-31 12:23             ` Thomas Monjalon
2015-04-01  9:19               ` Iremonger, Bernard
     [not found]                 ` <8CEF83825BEC744B83065625E567D7C204A0B91F-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-01 16:36                   ` Mcnamara, John
     [not found]                     ` <B27915DBBA3421428155699D51E4CFE2F01048-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-01 17:20                       ` Iremonger, Bernard
     [not found]                         ` <8CEF83825BEC744B83065625E567D7C204A0BAB5-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-02  7:59                           ` Mcnamara, John
2015-04-02 11:04             ` [RFC] doc: refactored figure numbers into references John McNamara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500004.RM7mZx5SlJ@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=bernard.iremonger-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).