-
Notifications
You must be signed in to change notification settings - Fork 346
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
Need instructions for adding a new example #3300
Comments
I agree that this could be documented better. However I would prefer to have it in the wiki instead of some hidden file somewhere in the depths of the repo. |
As per #3296, now it seems pretty straightforward to add a new example to the GMT gallery. For example, if we want to add a new example
In the example documentation file
to include the script into the documentation, and
to include the image file into the documentation. |
We need to decide where to put these instructions.
Thoughts? |
After thinking about it a bit more I 'd like to add a fourth option to @seisman's list:
Reasoning: Adding an example might be one of the first contributions to GMT by a new user (it was at least my first contribution). Therefore I would argue the bar should be as low as possible. Not to flood GMT with silly examples but to explain the concepts behind the documentation as well. Basically a how-to or maybe even a tutorial. I can only speak from the perspective of a first time contributor to a GitHub based project. It looks quite daunting when confronted with the git pull request workflow, the system how GMT is organized and build and reStructuredText all at once for the first time. It was a steep learning curve for me and I'm still relying on my cheatsheets to use GitHub. I think this initial steep learning curve might be one of the biggest hurdles to transform GMT to a community-developed project as it might turn away most of the potential contributors right from the start. Therefore I would make this an fully fledged page in the documentation. |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
We have no instructions explaining how to add examples to the GMT gallery. PR #3296 is a good examples showing what files need to be added/updated.
We should document it in CONTRIBUTING.md or in the
doc/examples/README.examples
file. I prefer the latter.The text was updated successfully, but these errors were encountered: