Skip to content

Add a new documentation group "Technical References" #2834

Closed

Description

@seisman

Justification codes like BL and TR are commonly used in GMT and PyGMT. Currently, we have explanations like:

The justification is a two-character code that is a combination of a horizontal (L\ (eft), C\ (enter), or R\ (ight)) and a vertical (T\ (op), M\ (iddle), or B\ (ottom)) code.

Instead of repeatedly explaining justification codes in different plotting methods, I feel it makes more sense to have a separate page explaining justification codes then we can link to this page when necessary.

Looking at the divio documentation system, I feel it should belong to "Reference" documentation, rather than "Tutorials". Currently, we have an "API Reference" page (https://www.pygmt.org/dev/api/index.html), but apparently "justification" is not an API thing. Maybe we need another section like "Technical Reference" or something else?

Activity

  1. added
    discussions
    on Nov 27, 2023
  2. yvonnefroehlich commented on Dec 3, 2023

    @yvonnefroehlich
    Member

    Thanks @seisman for pointing out this aspect! This documentation concept page looks interesting - thanks for posting the link!

    We have multiple docstrings and examples that mention these 2-character codes for the position and justify parameters:

    I agree it would be better to have this bundled in one place, and link to it in the docstrings and examples.

    If we decide on any kind of "technical reference", what would make sense to include beside these 2-character codes? Maybe:

  3. seisman commented on Dec 4, 2023

    @seisman
    MemberAuthor

    If we decide on any kind of "technical reference", what would make sense to include beside these 2-character codes? Maybe:

    I believe there are a lot that can be added to this "section":

    1. List of plotting symbols/markers, similar to https://matplotlib.org/stable/api/markers_api.html
    2. List of supported fonts? [Document the supported 35 standard Postscript fonts in the Technical Reference section #3378]
    3. How PyGMT parameters converts to GMT command line options [very technical but maybe useful to some new maintainers and even users]
    4. Explanation of some common options/parameters.
    5. How the "current" CPT works.
    6. ...
  4. changed the title [-]Add explainations for justification codes[/-] [+]Add a new documentation group for "technical explanations" or "showcases"[/+] on Dec 19, 2023
  5. seisman commented on May 25, 2024

    @seisman
    MemberAuthor

    Ping @GenericMappingTools/pygmt-maintainers for more discussions on this.

  6. yvonnefroehlich commented on Jun 4, 2024

    @yvonnefroehlich
    Member

    I apologize for the delayed reply here. Currently I am quite busy with a research project and have only little time to contribute to other things 🙁.

    I feel this has partly similarities to the "Technical References" of the GMT documentation. So I think we can focus on PyGMT specific aspects in more detail, and mention topics that are identical to GMT in a more general way and add the link to the "Technical References" for details.

  7. seisman commented on Jun 7, 2024

    @seisman
    MemberAuthor

    I think we will go with "Technical References" if no further objections.

  8. changed the title [-]Add a new documentation group for "technical explanations" or "showcases"[/-] [+]Add a new documentation group "Technical References"[/+] on Jun 11, 2024
  9. added
    documentation
    help wanted
    and removed
    discussions
    on Jun 11, 2024
  10. removed
    help wanted
    on Sep 10, 2024
  11. added this to the 0.14.0 milestone on Sep 23, 2024
  12. seisman commented on Sep 23, 2024

    @seisman
    MemberAuthor

    We have added some documentation to the new "Technical References" section in PR #3378. More documentation will be added to this section in the future, as proposed in the above posts. I think it would be better to open separate issues to track each documentation request.

    Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions