-
Notifications
You must be signed in to change notification settings - Fork 229
Modernize conf.py files to only include modified Copyright, eliminati… #865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rolling
Are you sure you want to change the base?
Conversation
…ng cruft. Signed-off-by: R Kent James <[email protected]> Generated-by: Portions of this commit may include code completion from github.copilot version 1.372.0 or later
examples_tf2_py/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
test_tf2/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_bullet/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_eigen/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_eigen_kdl/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_msgs/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_py/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_ros_py/doc/source/conf.py
Outdated
| @@ -1,5 +1,4 @@ | |||
|
|
|||
| # Copyright 2023 Open Source Robotics Foundation, Inc. | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2023 Open Source Robotics Foundation, Inc. |
tf2_sensor_msgs/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
tf2_tools/doc/conf.py
Outdated
| @@ -0,0 +1,27 @@ | |||
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2024 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
Signed-off-by: R Kent James <[email protected]> Generated-by: Portions of this commit may include code completion from github.copilot version 1.372.0 or later
|
I replaced all of the copyright dates to 2025 in a single commit. |
|
Pulls: #865 |
ahcorde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some linters failing https://build.ros2.org/job/Rpr__geometry2__ubuntu_noble_amd64/350/
…vious commit Signed-off-by: R Kent James <[email protected]> Generated-by: Portions of this commit may include code completion from github.copilot version 1.372.0 or later
|
OK I fixed the flake errors. Not sure why you saw them now but not previously, as the code in question was copied from an existing conf.py. I also deleted a file I'd added inadvertently in a previous PR. The auto build with this PR fails, not sure why that is, the error makes no sense with my changes. |
Generated-by: Portions of this commit may include code completion from github.copilot version 1.372.0 or later
Description
Replace or creates a conf.py in each package in this repo, that only generates a custom Copyright notice.
Modern rosdoc2 requires nothing in a user-supplied conf.py, so any additions should be intended to modify standard rosdoc2 behavior. As far as I can tell, the only intentional change to standard rosdoc2 behavior in this repo was to provide a more detailed copyright notice.
Remove cruft such as:
What remains is an identical conf.py file in each package that generates the custom copyright notice. In some cases this involved modifying an existing conf.py, in others a new conf.py was included.
Package tf2_kdl uses a custom documentation folder name that is not being picked up by rosdoc2. So although this PR includes the new conf.py, until tf2_kdl is modified this is not actually affecting the documentation generation. This will be fixed in a future PR.
Review should confirm that the generated copyright notice is indeed what is desired. The notice is:
© Copyright 2008-2025, Open Source Robotics Foundation, Inc.Hopefully I have not misunderstood the intentions of existing conf.py files, but they appear to me to be mostly automatically-generated boilerplate that really is not needed.
Partially addresses #833
Is this user-facing behavior change?
No, only documentation.
Did you use Generative AI?
See header.