All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nicolas Dechesne" <nicolas.dechesne@linaro.org>
To: akuster808 <akuster808@gmail.com>
Cc: docs@lists.yoctoproject.org
Subject: Re: [docs] [sphinx] updates as of Sep 10th.
Date: Fri, 11 Sep 2020 08:02:20 +0200	[thread overview]
Message-ID: <CAP71Wjyehi0VywUEtZMNmXOs7KZN2mYT2+vZ5Zhmyb+YqHNAYw@mail.gmail.com> (raw)
In-Reply-To: <574a4968-f543-ed18-954a-842acf50851d@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4898 bytes --]

On Fri, Sep 11, 2020 at 1:39 AM akuster808 <akuster808@gmail.com> wrote:

>
>
> On 9/10/20 3:03 PM, Nicolas Dechesne wrote:
> > hi there,
> >
> > some more updates on our Sphinx migration task. It turned out to be a
> > rather huge task.. "Never ask engineers to make estimates" applies
> > quite well here ;)
> >
> > I think we are getting close to where we wanted to be. As you should
> > know by now, we are planning to switch for 3.2, and the sphinx
> > migration is kind of blocking M3 right now. Richard and I have spent
> > quite a bit of time on the docs lately to make the final push.
> >
> > Any help in this last mile would be much appreciated.. The 'last mile'
> > is to review each doc and finalize what's left which was not converted
> > properly by pandoc, nor by any of the regexp find/replace we've done..
> > Unfortunately this last step is manual and time consuming.
> >
> > We are planning to merge the sphinx branch in yocto-docs and bitbake
> > repo any time now. We haven't removed the docbook files yet, we will
> > do the removal once we claim to be done.
> >
> > In terms of publishing the docs, our plan is to have a brand new YP
> > docs 'website'. On that website, we will publish docs for each
> > release/branch, and it will be easy to navigate between versions.
> >
> > We have also created 'transition' pages in Sphinx for docs from all YP
> > releases from 0.9 to 3.1.x. For each release, we have a 'static' page
> > with links to the DocBook HTML manuals. So that the YP docs website
> > will be the *only* place to look for our docs moving forward.
> >
> > In each of the 2 sphinx branches, we've done the following:
> > 1. add makefile / sphinx boilerplate
> > 2. used pandoc to convert all .xml into .rst. it's a gross
> > conversion.. far from perfect...
> > 3. added a bunch of commits to fix up what's left from the conversion
> > (images, links, ..)
> > 4. Finally we are doing a manual review of each file and fixing the
> > last things. At this point, what's the most painful is that the
> > 'code-block' sections are not converted automatically.
> >
> > If anybody has any cycle now, we need to finish #4. The current status
> > is that:
> > * brief-yoctoprojectqs/* is done.
> > * bitbake user manual is half done, and I am doing it
> > * bsp-guide/*: i started it, and will finish
> > * ref-manual/*: RP is on it.
> > * there are plenty of warnings when we build, i would like to get rid
> > of them all!
>
>
> >
> > Anything else is work that remains to be done. Before starting
> > anything, please send a quick email here to let everyone know, to
> > avoid duplication. If you have any improvement, please share your
> > patches, I will take them into the sphinx/master branch. And I will
> > continue to work on the remaining files that no one would pick.
> >
> > And since a picture is worth a thousand words...
> >
> > The new doc website is here:
> > https://docs.yoctoproject.org/
> >
> > If you want to help, please review the "WIP" patches on
> > https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/log/?h=sphinx
> > And pick one of the manuals which are left! It is not straightforward
> > to get started, I have to warn you.. don't hesitate to ask me
> > questions by email or on irc (ndec) if you need any help.
> Are we leaving the Mega manual for last or are we dropping it?
>

No, it's there. Sphinx can produce both "html" files, e.g. a 'website' with
all pages and the navigation bar, but it also has a target called
'singlehtml' which produces a single html page with all the doc. we are
publishing it as well (see the mega manual link in the left bar, or the
drop down selector on the top  you can choose between the regular site or
the mega manual). The mega manuel is:
https://docs.yoctoproject.org/singleindex.html

I am thinking about perhaps renaming it..

There are a few short coming with the Sphinx singlehtml target, the main
one being that Sphinx removes table of content in the singlehtml output.
You can move from manual to manual using the left navigation bar, but there
is no TOC in the HTML.. It's a known issue.. i am hoping we can fix that
later, but I think it's out of scope for 3.2.. At least the use case of
"grepping" through the mega manual is still supported.

I believe the new docs website will bring new ways of using the doc as
well. For example a general index is automatically generated/managed with
glossary terms, and over time we can include more terms in the index:
https://docs.yoctoproject.org/genindex.html



>
> I will take the "overview-manual" if its not taken.
>

thank you!


>
> - armin
>
> >
> > And as a reminder, instructions to build can be found here:
> > https://wiki.yoctoproject.org/wiki/Documentation_Sphinx
> >
> > cheers
> > nico
> >
> >
> >
> > 
>
>
>

[-- Attachment #2: Type: text/html, Size: 6603 bytes --]

  reply	other threads:[~2020-09-11  6:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10 22:03 [sphinx] updates as of Sep 10th Nicolas Dechesne
2020-09-10 23:39 ` [docs] " akuster
2020-09-11  6:02   ` Nicolas Dechesne [this message]
2020-09-13 15:42 ` Richard Purdie
     [not found] ` <16346239585A567B.3515@lists.yoctoproject.org>
2020-09-14  8:50   ` Richard Purdie
     [not found]   ` <16349A56620CF0CB.7642@lists.yoctoproject.org>
2020-09-14 15:26     ` Richard Purdie
2020-09-14 22:05       ` Nicolas Dechesne
2020-09-15 15:44         ` Tim Orling
2020-09-15 16:48           ` Nicolas Dechesne
2020-09-15 22:17             ` Richard Purdie
2020-09-15 22:25               ` Tim Orling

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=CAP71Wjyehi0VywUEtZMNmXOs7KZN2mYT2+vZ5Zhmyb+YqHNAYw@mail.gmail.com \
    --to=nicolas.dechesne@linaro.org \
    --cc=akuster808@gmail.com \
    --cc=docs@lists.yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.