From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>,
docs@lists.yoctoproject.org
Subject: Re: [docs] [sphinx] updates as of Aug 5th.
Date: Wed, 19 Aug 2020 23:59:55 +0100 [thread overview]
Message-ID: <c05381ddd372bc0e82e6b24ce45df4ae2df90e1a.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAP71Wjy23FvmvO9joR5epF2t0O5h_fJkG7KDEDaZDddkjN8xUw@mail.gmail.com>
Hi Nico/All,
Thanks for putting that list together, its really useful.
On Wed, 2020-08-05 at 23:54 +0200, Nicolas Dechesne wrote:
> 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.
>
> [...]
>
> Richard is trying to add support to easily switch between YP version
> within the doc (e.g. like the Python doc), and we will host the 'old'
> documentation as well. e.g. when choosing the 'thud' version, we want
> to show a static page (not a Sphinx doc) that points to the thud html
> doc.
I hope you're having some good away time! I'm sending this while I have
the context in my head ready for when you get back. Its taken me a lot
more work than I thought but I think I have something ready to share in
this area now. I've published some sample output at:
https://www.rpsys.net/yocto-docs/
Basically this combines the existing docbooks docs into a structure
with the new sphinx generated manual such that you can select and
nagivate around and see the different versions/options.
I'd ultimately like to replace what we have at
https://www.yoctoproject.org/docs/ with this. I appreciate there are
four links there we still need to add into the new docs page:
https://www.yoctoproject.org/docs/what-i-wish-id-known/
https://www.yoctoproject.org/docs/transitioning-to-a-custom-environment
https://www.yoctoproject.org/software-overview/
https://wiki.yoctoproject.org/wiki/TipsAndTricks
but other than that I think its much more navigable and usable for
users. Features/changes include:
* Clearly showing which version you've viewing (yes, css needs work)
* Drop down selection of recent versions
* Drop down selection of the format you want
(individual web pages or all in one mega manual)
* Older documents with newer point releases show a warning in red at
the top
* Obsolete releases show a warning in red at the top
* All the releases are listed on the main page for search engine
visibility which should improve their indexing and avoid some of the
version issues we've had (I've gone back to sumo at present) and
make it clear to users how 'behind' a given version is
I know the sphinx transition isn't complete so the "dev" manual version
has all the issues still needing to be resolved with the transition.
The CSS also needs a little more work to help with the colours/layout.
I'm interested to hear what people think of this...
Code is in the yocto-docs repo on the sphinx-rp branch. "make -f
Makefile.sphinx" will generate the docs I've shared and the generated
output in _build/final is designed to overlay the existing docbook docs
and all fit together correctly.
Cheers,
Richard
next prev parent reply other threads:[~2020-08-19 23:00 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
2020-08-19 22:59 ` Richard Purdie [this message]
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=c05381ddd372bc0e82e6b24ce45df4ae2df90e1a.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--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