Skip to content
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

Fix README callout #1651

Merged
merged 5 commits into from
Jun 29, 2024
Merged

Fix README callout #1651

merged 5 commits into from
Jun 29, 2024

Conversation

ofek
Copy link
Contributor

@ofek ofek commented May 27, 2024

No description provided.

Copy link
Member

@sisp sisp left a comment

Choose a reason for hiding this comment

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

Thanks for your PR! The problem with using this syntax is that we use the README on GitHub and also as the landing page of the MkDocs documentation, and Material for MkDocs doesn't recognize the GitHub syntax. I'm not aware of a single syntax that is recognized by both. The only solution I can think of right now is to use the GitHub syntax as you suggested and add a custom MkDocs hook that transforms it to the syntax that Material for MkDocs uses during the MkDocs build.

Copy link
Contributor

@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

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

Thanks @ofek! Unfortunately I don't think this will render well once on ReadTheDocs. We'd have to write a Markdown extension that supports GitHub call outs (I don't think markdown-callouts does). It wouldn't be hard, just need a bit of time :)

EDIT: I answered before seeing @sisp's answer, oops ^^

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@ofek
Copy link
Contributor Author

ofek commented May 28, 2024

I replaced it with standard markdown syntax, let me know what you think!

@ofek
Copy link
Contributor Author

ofek commented May 30, 2024

Just let me know!

Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

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

Thanks!

I like more the callout in readthedocs, but at the same time it's true that the README is a landing place for many, so we can make the exception and stick with basic markdown here.

In the rest of the docs, obviously mkdocs styling has priority.

@yajo yajo enabled auto-merge (squash) June 1, 2024 06:46
Copy link

codecov bot commented Jun 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.32%. Comparing base (65b186a) to head (7ebda51).
Report is 93 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1651   +/-   ##
=======================================
  Coverage   97.32%   97.32%           
=======================================
  Files          49       49           
  Lines        5004     5004           
=======================================
  Hits         4870     4870           
  Misses        134      134           
Flag Coverage Δ
unittests 97.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

README.md Outdated Show resolved Hide resolved
@yajo
Copy link
Member

yajo commented Jun 28, 2024

If you rebase, our CI will try to autofix it.

auto-merge was automatically disabled June 28, 2024 18:01

Head branch was pushed to by a user without write access

Co-authored-by: Sigurd Spieckermann <[email protected]>
@yajo yajo closed this Jun 29, 2024
@yajo yajo reopened this Jun 29, 2024
@yajo yajo merged commit 798d7aa into copier-org:master Jun 29, 2024
21 checks passed
@ofek ofek deleted the patch-1 branch June 30, 2024 14:48
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.

4 participants