Skip to content
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

Remove unneeded .doctrees from sphinx output #150

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

rkent
Copy link
Contributor

@rkent rkent commented Oct 28, 2024

When running rosdoc2 over entire distros (using the scan option), disk usage is quite large. Investigating, the majority of that disk usage is in the .doctrees folder. AFAICT, this folder is only used during generation of the toctrees, and is not needed for display of the documentation from the html.

This is also an issue on the standard buildfarm, though not as bad. See https://docs.ros.org/en/rolling/p/rclcpp/.doctrees/ for example.

This PR deletes the .doctrees folder after the sphinx documentation generation is complete.

Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tfoote tfoote merged commit c5bd3b9 into ros-infrastructure:main Oct 29, 2024
5 checks passed
@rkent rkent deleted the delete-doctrees branch October 29, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants