From: "Robert Berger" <robert.berger.yocto.user@gmail.com>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: docs@lists.yoctoproject.org
Subject: Re: [docs] [sphinx] updates as of Aug 5th.
Date: Thu, 27 Aug 2020 22:05:37 +0300 [thread overview]
Message-ID: <3cdc3f06-6413-55ee-fd2b-2abf1349abc0@gmail.com> (raw)
In-Reply-To: <CAP71WjxnVfjaoKRx4-tfko5gcZFG4ACSdW2znjZwHii9rxZT4w@mail.gmail.com>
Hi Nic,
As far as I can see this looks good.
As soon as the official mega manual and bitbake manual are replaced by
Sphinx I'll give it a spin.
Regards,
Robert
On 24/08/2020 18:36, Nicolas Dechesne wrote:
> hi Robert,
>
> thanks for your time!
>
> On Tue, Aug 11, 2020 at 6:07 PM Robert Berger@yocto.user
> <robert.berger.yocto.user@gmail.com> wrote:
>>
>> Hi,
>>
>> My comments are in-line
>>
>> On 06/08/2020 00:54, Nicolas Dechesne wrote:
>>> hi there,
>>>
>>> I will be away from the Interweb the next two weeks. So I wanted to
>>> share some updates about how the YP docs migration to Sphinx is doing.
>>> [it is a fairly long email].
>>>
>>> To be honest, I wouldn't mind a little bit of help, and I will give
>>> some hints about how you can help!
>>>
>>> We are still working on publishing the current Sphinx docs on
>>> yoctoproject.org, in the meantime, it's here for YP and Bitbake
>>> documentation.
>>>
>>> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/index.html
>>> https://people.linaro.org/~nicolas.dechesne/bitbake-docs/html/
>>>
>>> All changes are pushed to the 'sphinx' branch in yocto-docs and in
>>> bitbake trees.
>>
>> As long as chapters/sub chapters and variables are have some kind of
>> stable links this should work for me.
>
> Chapters/sections links will be stable. There is one difference
> between how it's done with docbook files since the links were "hand
> crafted", with Sphinx, they are generated from the 'section' name, but
> they won't change unless we change the section name. e.g.:
>
> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/overview-manual/overview-manual-concepts.html#shared-state
>
> I am planning to rename the individual files to avoid the duplication
> in the url (e.g. overview-manual/overview-manual-concepts.rst should
> be overview-manual/concepts.rst).
>
>>
>> To give you some context:
>>
>> I my training I have many links from my slides to the good old doc.
>> e.g.
>>
>> in my latex magic I have something like:
>> {\tt \href{\MegaManualVarSearch LAYERSERIES\_COMPAT}{LAYERSERIES\_COMPAT
>> (MM)}}
>>
>> which ends up into a link pointing to a downloaded version of the good
>> old Mega manual:
>>
>> file:///xxx/mega-manual/mega-manual.html#var-LAYERSERIES_COMPAT
>>
>> It looks like I could do the same with your stuff:
>>
>> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/ref-manual/ref-variables.html#term-LAYERSERIES_COMPAT
>
> yes, that's correct.
>
>>
>> and I hope there will be a Mega Manual which contains them all ;)
>
> Here again there is a nice feature with Sphinx. We can generate a
> global 'index' table that is automatically generated with all 'terms'
> from all the glossaries, see:
> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/genindex.html
>
> e.g. there can be more than 1 glossary. Currently we have 2:
> * the variable glossary from the reference manual:
> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/_sources/ref-manual/ref-variables.rst.txt
> * the terms glossary:
> https://people.linaro.org/~nicolas.dechesne/yp-docs/html/_sources/ref-manual/ref-terms.rst.txt
>
> We can also add any term from any place within the whole documentation
> set. I like that a lot.
>
>>
>> Regards,
>>
>> Robert
>>
>>>
>>>
>>>
>>
next prev parent reply other threads:[~2020-08-27 19:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 21:54 [sphinx] updates as of Aug 5th Nicolas Dechesne
2020-08-06 2:35 ` [docs] " Tim Orling
2020-08-06 18:33 ` Mark Morton
2020-08-06 22:39 ` Robert P. J. Day
2020-08-11 16:06 ` Robert Berger
2020-08-24 15:36 ` Nicolas Dechesne
2020-08-27 19:05 ` Robert Berger [this message]
2020-08-19 22:59 ` Richard Purdie
2020-08-24 15:48 ` Nicolas Dechesne
2020-08-24 16:26 ` Richard Purdie
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=3cdc3f06-6413-55ee-fd2b-2abf1349abc0@gmail.com \
--to=robert.berger.yocto.user@gmail.com \
--cc=docs@lists.yoctoproject.org \
--cc=nicolas.dechesne@linaro.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