You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/23 14:33:51 UTC

[GitHub] [incubator-nuttx] v01d opened a new issue #1881: documentation: support versioned docs

v01d opened a new issue #1881:
URL: https://github.com/apache/incubator-nuttx/issues/1881


   As previously discussed, the sphinx documentation on the nuttx website should offer a version selector to allow reading docs for master ("latest") or for past releases (starting from following one).
   
   While there's already some basic skeleton to allow for this (I added an HTML template that appears on the sidebar), we need add some code to `conf.py` so that it picks up the list of releases we would like to offer. It could either be based on running some git commands from that script or it could read an environment variable set by the workflow with the same information.
   
   This would simply fill the sidebar with links like nuttx.apache.org/docs/<version>. A subsequent PR should also build the documentation for each release as well (probably by adding a trigger to act on pushes to release branches or tags, depending on how we want to deal with that).
   
   Note that we cannot simply add a hardcoded list to conf.py since this would mean that the rendered version of docs for each release would only "know" about the past releases at that time. Thus, this information needs to be generated during build so that all versions of the documentation have links to all other offered versions.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton closed issue #1881: documentation: support versioned docs

Posted by GitBox <gi...@apache.org>.
btashton closed issue #1881:
URL: https://github.com/apache/incubator-nuttx/issues/1881


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org