doc: add support for publishing versioned docs

add navigation to (manually) maintained list (in conf.py) of versioned
docs, and update generating and publishing processes to be
version-aware.

Adds a file to redirect root references to /latest folder now (since we
can't update the server redirects).  Might break some links to pages
within the site from external sites.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder
2018-04-13 14:36:25 -07:00
committed by Jack Ren
parent 6b1782b360
commit b997e590f2
5 changed files with 87 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/* -- Extra CSS styles for CWP content (RTD theme) ----------------------- */
/* -- Extra CSS styles for ACRN content (RTD theme) ----------------------- */
/* make the page width fill the window */
.wy-nav-content {
@@ -14,6 +14,27 @@
}
*/
/* tweak doc version selection */
.rst-versions {
position: static;
border-top: none;
padding: 0px;
}
.rst-versions .rst-current-version {
padding: 5px;
background-color: #2980B9;
color: #80FF80;
}
.rst-versions .rst-other-versions {
padding: 5px;
}
div.rst-other-versions dl {
margin-bottom: 0;
}
/* Make the version number more visible */
.wy-side-nav-search>div.version {
color: rgba(255,255,255,1);