Skip to content

Update banner for RTD #1878

Open
Open
@oraNod

Description

@oraNod

On RTD the url path starts with /projects/ so the EOL banner is displayed on all branches, including devel.

To fix this, we need to update the template:

if (startsWith(current_url_path, "/ansible-core/")) {

You can reproduce this issue by visiting https://ansible.readthedocs.io/projects/ansible-core/devel/

The EOL banner displays instead of the current / devel banner.

EOL banner is this one:

image

Current / devel banner should be the same as https://docs.ansible.com/ansible-core/devel/index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    DaWGsGood discussion item for the DaWGsRTD migrationRelated to the migration of content to readthedocs

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions