Skip to content

Citing GMT: Place version number and Zenodo DOI badge in the same line using a table - #164

Merged
seisman merged 6 commits into
GenericMappingTools:masterfrom
yvonnefroehlich:format-dois
Jul 10, 2026
Merged

Citing GMT: Place version number and Zenodo DOI badge in the same line using a table#164
seisman merged 6 commits into
GenericMappingTools:masterfrom
yvonnefroehlich:format-dois

Conversation

@yvonnefroehlich

@yvonnefroehlichyvonnefroehlich commented Apr 27, 2026

Copy link
Copy Markdown
Member

Extending #163, trying to place the Zenodo DOI badges of the single releases in the same line as the related version text.

Currently the badge is added in a new line, which looks not optimal:

currentlyaligned indentcoverted to a table
gmt_website_dois_onelineciting_gmt_indentgmt_website_dois

@yvonnefroehlichyvonnefroehlich changed the title DOC: Place Zenodo DOI badge in the same line as the version textCiting GMT: Place Zenodo DOI badge in the same line as the version textApr 27, 2026
@seisman

seisman commented Apr 27, 2026

Copy link
Copy Markdown
Member

Preview tells that it still doesn't work. Since Sphinx supports both Markdown and ReST. Maybe it's easier to switch index.rst to index.md instead?

@yvonnefroehlich

Copy link
Copy Markdown
MemberAuthor

Preview tells that it still doesn't work.

I added blank lines before the badge line. Now, at least the indent is correct.

Since Sphinx supports both Markdown and ReST. Maybe it's easier to switch index.rst to index.md instead?

I tried this locally but so far I did not manage that the badge image is displayed correctly.

@yvonnefroehlich

yvonnefroehlich commented Jun 19, 2026

Copy link
Copy Markdown
MemberAuthor

So, I found that using a table can be helpful here. With these changes it get this:

gmt_website_dois

I could also add the bold style to the version numbers to be consistent with the list for the papers.

@seisman what do you think?

@yvonnefroehlichyvonnefroehlich changed the title Citing GMT: Place Zenodo DOI badge in the same line as the version textCiting GMT: Place version number and Zenodo DOI badge in the same line using a tableJun 30, 2026
@yvonnefroehlich

Copy link
Copy Markdown
MemberAuthor

Ping @GenericMappingTools/gmt-docs and @seisman for comments on using a table here.

@seismanseisman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but see if others have more comments.

@seisman
seisman merged commit 2ddeb4a into GenericMappingTools:masterJul 10, 2026
2 checks passed
@yvonnefroehlich
yvonnefroehlich deleted the format-dois branch July 10, 2026 16:23
Sign up for freeto 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.

2 participants

@yvonnefroehlich@seisman