GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DOC: Technical Reference: Add table for text formatting by yvonnefroehlich · Pull Request #3976 · GenericMappingTools/pygmt

Conversation

@yvonnefroehlich

@yvonnefroehlich yvonnefroehlich commented Jun 15, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Description of proposed changes

Following https://docs.generic-mapping-tools.org/dev/text.html#description, this PR addes a table to the Technical References for formatting text.

Preview: https://pygmt-dev--3976.org.readthedocs.build/en/3976/techref/text_formatting.html

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yvonnefroehlich
Add table for text formating
34e15f6
@yvonnefroehlich yvonnefroehlich self-assigned this Jun 15, 2025
@yvonnefroehlich yvonnefroehlich added the documentation Improvements or additions to documentation label Jun 15, 2025
yvonnefroehlich added 4 commits June 15, 2025 19:58
@yvonnefroehlich
Use upper case letters in heading
ae405df
@yvonnefroehlich
Remove execution permission
96690f6
@yvonnefroehlich
Shorten formulation
51946af
@yvonnefroehlich
Use UNIX line endings
5d3e55e
michaelgrund
michaelgrund reviewed Jun 16, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yvonnefroehlich
Add more docs
17f3e8d
seisman
seisman reviewed Jun 17, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich and others added 2 commits June 17, 2025 16:32
@yvonnefroehlich @seisman
Improve word
3da7c53
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich
Remove docs
e800610
@yvonnefroehlich

yvonnefroehlich commented Jun 17, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

A new ruff version (0.12.0) was released a few hours ago (https://pypi.org/project/ruff/) leading to several (~20) failing Style checks (https://github.com/GenericMappingTools/pygmt/actions/runs/15714747994/job/44281566411?pr=3976).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented Jun 18, 2025

Copy link
Copy Markdown
Member

A new ruff version (0.12.0) was released a few hours ago (https://pypi.org/project/ruff/) leading to several (~20) failing Style checks (https://github.com/GenericMappingTools/pygmt/actions/runs/15714747994/job/44281566411?pr=3976).

Yes, addressed in #3980.

yvonnefroehlich reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

seisman
seisman reviewed Jun 18, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

yvonnefroehlich and others added 2 commits June 18, 2025 23:11
@yvonnefroehlich
Merge branch 'main' into add-techref-textformat
cc8dc77
@yvonnefroehlich @seisman
Escape underscores
7af82b5
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich yvonnefroehlich added this to the 0.16.0 milestone Jun 18, 2025
@seisman seisman modified the milestones: 0.16.0, 0.17.0 Jun 19, 2025
@seisman

seisman commented Jun 19, 2025

Copy link
Copy Markdown
Member

Perhaps we should also update https://www.pygmt.org/dev/tutorials/basics/text.html, maybe in a separate PR?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

seisman
seisman reviewed Jun 19, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yvonnefroehlich @seisman
Update heading
697f5a3
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich

yvonnefroehlich commented Jun 19, 2025

Copy link
Copy Markdown
Member Author

Perhaps we should also update https://www.pygmt.org/dev/tutorials/basics/text.html, maybe in a separate PR?

Good point! Adding a section to this tutorial sounds good to me, or do we just want to add a link to this Technical Reference page?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman

seisman commented Jun 20, 2025

Copy link
Copy Markdown
Member

Maybe a separate tutorial or gallery example is better?

yvonnefroehlich reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yvonnefroehlich yvonnefroehlich mentioned this pull request Jun 21, 2025
DOC: Add gallery example to show text formatting #3987
Merged
6 tasks
yvonnefroehlich added 2 commits June 21, 2025 21:21
@yvonnefroehlich
Fix typo
c630342
@yvonnefroehlich
Use line length
9bfcd72
seisman
seisman reviewed Jun 22, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yvonnefroehlich
Mention title and legend
1e50901
yvonnefroehlich and others added 4 commits June 22, 2025 10:18
@yvonnefroehlich @seisman
Improve readablity
24ff922
Co-authored-by: Dongdong Tian <[email protected]>
@yvonnefroehlich
Use upper-case to improve readability
6360e89
@yvonnefroehlich
Add more letters
96d3e05
@yvonnefroehlich
Merge branch 'main' into add-techref-textformat
d15aaea
seisman
seisman reviewed Jul 16, 2025
View reviewed changes
Comment thread doc/techref/text_formatting.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@yvonnefroehlich @seisman
Improve formulation
d02e731
Co-authored-by: Dongdong Tian <[email protected]>
@seisman

seisman commented Jul 17, 2025

Copy link
Copy Markdown
Member

Looks good. Could you please rewrap the short lines to 88 characters then it should be good to merge

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Jul 17, 2025
seisman
seisman approved these changes Jul 17, 2025
View reviewed changes
yvonnefroehlich and others added 3 commits July 17, 2025 22:18
@yvonnefroehlich
Merge branch 'main' into add-techref-textformat
fd79b38
@yvonnefroehlich
Adjust line length
c6a350c
@yvonnefroehlich
Remove file
eb05bac
@seisman
seisman merged commit a1c053c into main Jul 18, 2025
@seisman
seisman deleted the add-techref-textformat branch July 18, 2025 02:16
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@michaelgrund michaelgrund michaelgrund left review comments
@seisman seisman seisman approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@yvonnefroehlich yvonnefroehlich

Labels

documentation Improvements or additions to documentation

Projects

None yet

Milestone

0.17.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@yvonnefroehlich @seisman @michaelgrund
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.