Remove deprecated options and flags from doc and translated files #259
Remove deprecated options and flags from doc and translated files #259sbonaime wants to merge 5 commits intoOpenDroneMap:publishfrom
Conversation
…extract_odm_strings.py. livehtml also use autogenerate to update rst files
There was a problem hiding this comment.
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.
|
texturing-data-term is deprecated and should be removed from WebODM |
|
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? |
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