8 Commits

Author SHA1 Message Date
Adam Spiers
d175b76864 Fix per-project deprecation badges
I2498f00a6c863d078a70289a655b0aa3958325ed changed the badge shown at
the top of documentation pages which describes the state of the
release of the documentation currently being viewed.  However the
unfortunately release-switcher dropdown it introduced into
deprecated_badge.tmpl had the side-effect of affecting the badge.html
which is dynamically included in project documentation by some
Javascript in theme/openstackdocs/layout.html within the
openstackdocstheme repository, and the new release switcher was only
designed to work with openstack-manuals, not with any other projects.

This broke the badge for all releases (www/$RELEASE/badge.html),
excluding www/latest/ which has a hard-coded badge.html.  This was
missed during testing because the dynamic inclusion mechanism is
hardcoded to retrieve the badge from https://docs.openstack.org rather
than any local repository.

For a quick fix, reintroduce the old badge template as

    www/templates/project_deprecated_badge.tmpl

and change all the per-project badges to use this.  Later we can
investigate the possibility of enhancing this per-project badge so
that it provides release-switching functionality like the badge
currently in openstack-manuals.

Change-Id: I53c4b35e31bcdda16ffd50f9a8a26c773c8d3574
2019-02-21 10:47:40 +00:00
Sebastian Marcet
961f544a4e Updated External deprecation badge resource
In order to be fully functional to be consumable from
an external project ( ie docthemes)

- removed from external deprecation badge references to
boostrap css and font awesome css
- removed relative references to js and css and made it
absolutes

Change-Id: I07809ba90a4a7cae996994a856d9d6be9d7a1195
2018-08-10 11:24:37 -03:00
Sebastian Marcet
b603d1be80 Added deprecation badge
added a new fixed badge indicating the deprecation status of each
release

* obsolete - "No longer supported by the community. For the current release,
  CLICK HERE.", #ff0000
* EOL - "No longer supported by the community. For the current release,
  CLICK HERE.", #ff0000
* maintained - This has two states. The current release and recent releases.
** Current Release - "This is the current release.", #30739C
** Recent Release - "This is maintained, but NOT the current release. For
   the current release, CLICK HERE.", #eaeaea
* Current Release - "This is the current release.", #30739C
* Recent Release - "This is maintained, but NOT the current release. For
  the current release, CLICK HERE.", #eaeaea
* development - "This release is currently under development For the
  current release, CLICK HERE.", #eaeaea

Change-Id: I67a759440c2e99b33aa925c5e17c11a1b885ac82
2018-03-07 10:12:22 -03:00
Doug Hellmann
9dbac10669 move repetitive content from the index pages to the indexbase template
Change-Id: I85d1cb60f77fdfaaada2c82648b3e29eeeb5fc86
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 16:48:59 -04:00
Doug Hellmann
70a7d29aeb use SERIES_INFO to pick up the message to describe the series status
Change-Id: I0297a85c245b0d7711ac49506a74239e403a0838
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 16:48:59 -04:00
Doug Hellmann
e7bdd8b3a7 move series dates into generator
Change-Id: If4b7ea23b0a52f863d0770a8b460e07f609a0f25
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 16:48:59 -04:00
Doug Hellmann
59c3a9847a update release dates and status on all landing pages
Change-Id: I3c31cf740a386462ccaabd5ea9c72732d5a260ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 16:48:58 -04:00
Doug Hellmann
37c83af5a5 add landing pages for historical versions
Add landing pages with references to all of the historical versions
for completeness. For the versions where we do have guides still
published, include links.

Change-Id: I62211adab1628f10e88f4892dd85a50170da1d96
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-25 16:48:58 -04:00