Project

Profile

Help

Story #2673

Updated by bmbouter about 7 years ago

A banner should be put on the top of every page docs page saying "This documentation is for an unsupported version of Pulp. Consider upgrading to a "supported version":http://pulpproject.org/docs/." 

 For example something like what the Celery docs have:    http://docs.celeryproject.org/en/3.1/userguide/workers.html 

 After discussion below a dynamic approach should be used. This involves creating a new 'supported_releases.json' file hosted at https://github.com/pulp/pulp_packaging/tree/master/ci/config/releases/ with all a single x.y strings string in it as a list. it. Here is an example with 2.12 and 3.0 showing as supported: example: 

 <pre> 
 ["2.12", "3.0"] "2.12" 
 </pre> 

 Then some javascript should check the docs version of the current page and if it is not in the x.y stream that is supported, show the banner.

Back