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 .py extension from gdalmove, pct2rgb and rgb2pct docs #10053

Merged
merged 1 commit into from
May 29, 2024

Conversation

plimkilde
Copy link
Contributor

What does this PR do?

Remove .py extension from documentation of remaining Python programs (gdalmove, pct2rgb and rgb2pct), now that there are proper entry points for all of these.

What are related issues/pull requests?

Tasklist

  • Make sure code is correctly formatted (cf pre-commit configuration)
  • Add test case(s)
  • Add documentation
  • Updated Python API documentation (swig/include/python/docs/)
  • Review
  • Adjust for comments
  • All CI builds and checks have passed

Environment

Provide environment details, if relevant:

  • OS:
  • Compiler:

Sorry, something went wrong.

@jratike80
Copy link
Collaborator

It might be good to add "NOTE: xxyyzz is a Python script, and will only work if GDAL was built with Python support" also for gdalmove.

@plimkilde
Copy link
Contributor Author

plimkilde commented May 29, 2024

It might be good to add "NOTE: xxyyzz is a Python script, and will only work if GDAL was built with Python support" also for gdalmove.

Well spotted, though the Python program docs each have subtly different notes regarding this. So I guess a separate PR to harmonize the "only-available-with-Python-support" note for all Python programs would be appropriate.

@rouault
Copy link
Member

rouault commented May 29, 2024

harmonize the "only-available-with-Python-support" note for all Python programs would be appropriate.

The most occurence occurence now, after the recent flow of changes, must be the one of https://gdal.org/programs/ogr_layer_algebra.html#notes

@rouault rouault merged commit 556ee62 into OSGeo:master May 29, 2024
2 checks passed
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.

None yet

3 participants