Skip to content

Automate Warning banner #1198

@niccokunzmann

Description

@niccokunzmann

The warning banner at the top of the docs can be automated with JavaScript and does not need to be static.

  • latest should show
    Image
  • stable should show nothing
  • https://icalendar.readthedocs.io/en/<anything else>/ should show
    Image
  • Bonus: When you run make livehtml, show a warning banner that this is a local development version.

Please write a script that does this.
Also make sure this works on all versions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions