Skip to content

Remove deprecated options and flags from doc and translated files #259

Open
sbonaime wants to merge 5 commits intoOpenDroneMap:publishfrom
sbonaime:publish
Open

Remove deprecated options and flags from doc and translated files #259
sbonaime wants to merge 5 commits intoOpenDroneMap:publishfrom
sbonaime:publish

Conversation

@sbonaime
Copy link
Contributor

@sbonaime sbonaime commented Feb 18, 2026

To remove deprecated options and flags, all rst files are removed in extract_odm_strings.py.

livehtml also use autogenerate to update rst files

flowchart also modified

…extract_odm_strings.py. livehtml also use autogenerate to update rst files
Copilot AI review requested due to automatic review settings February 18, 2026 09:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements a cleanup mechanism for deprecated documentation by modifying the documentation generation process to remove obsolete argument documentation files. The script now deletes all existing RST files before regenerating them from the current ODM configuration, ensuring only active arguments remain documented.

Changes:

  • Added cleanup logic to remove all .rst files in source/arguments/ before regeneration
  • Updated livehtml target to depend on autogenerate, ensuring fresh documentation during development
  • Removed 11 deprecated argument documentation files (verbose, time, debug, pc-tile, pc-geometric, depthmap-resolution, resize-to, and several texturing-related options)

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

File Description
scripts/extract_odm_strings.py Added glob import and cleanup logic to remove all existing .rst files before regenerating documentation
Makefile Made livehtml target depend on autogenerate to ensure documentation is always current
source/arguments/*.rst (11 files) Removed deprecated argument documentation files that are no longer in ODM

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbonaime sbonaime changed the title Remove deprecated options and flags rst files Remove deprecated options and flags from doc and translated files Feb 18, 2026
@sbonaime
Copy link
Contributor Author

sbonaime commented Feb 18, 2026

@smathermather
Copy link
Contributor

Thanks for this @sbonaime, this is a much needed cleanup.

I see a copilot review on this. Can you confirm this complies with our current policy on AI contributions?
https://github.com/OpenDroneMap/documents/blob/master/CONTRIBUTING.md#use-of-ai

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