ros2_documentation icon indicating copy to clipboard operation
ros2_documentation copied to clipboard

Update doc version warning logic to exclude specific pages

Open Victor-Boyd opened this issue 2 years ago • 0 comments

This commit modifies the Sphinx template logic to prevent the version warning message from appearing on the 'Contributing to ROS 2 Documentation' page and any pages within the 'Releases' section. The update is aimed at improving user experience by selectively displaying version warnings only where relevant.

Additionally, this change addresses and resolves issues #3949 and #3966, which were related to unwanted version warning messages on documentation pages deemed unnecessary for such alerts.

  • Exclude '/Contributing/Contributing-To-ROS-2-Documentation.html' from version warning messages.
  • Exclude any pages under '/Releases/' from version warning messages.
  • Fixes #3949 and #3966.

Victor-Boyd avatar Feb 21 '24 10:02 Victor-Boyd