Skip to content

Citing GMT: Place Zenodo DOI badge in the same line as the version text#164

Open
yvonnefroehlich wants to merge 6 commits into
GenericMappingTools:masterfrom
yvonnefroehlich:format-dois
Open

Citing GMT: Place Zenodo DOI badge in the same line as the version text#164
yvonnefroehlich wants to merge 6 commits into
GenericMappingTools:masterfrom
yvonnefroehlich:format-dois

Conversation

@yvonnefroehlich

@yvonnefroehlich yvonnefroehlich 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:

currently aligned indent coverted to a table
gmt_website_dois_oneline citing_gmt_indent gmt_website_dois

@yvonnefroehlich yvonnefroehlich changed the title DOC: Place Zenodo DOI badge in the same line as the version text Citing GMT: Place Zenodo DOI badge in the same line as the version text Apr 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
Member Author

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
Member Author

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?

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.

2 participants