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

update thumnail #2533

Merged
merged 38 commits into from
Dec 16, 2024
Merged

Conversation

davidberenstein1957
Copy link
Member

@davidberenstein1957 davidberenstein1957 commented Dec 16, 2024

Congratulations! You've made it this far! Once merged, the article will appear at https://huggingface.co/blog. Official articles
require additional reviews. Alternatively, you can write a community article following the process here.

Preparing the Article

You're not quite done yet, though. Please make sure to follow this process (as documented here):

  • Add an entry to _blog.yml.
  • Add a thumbnail. There are no requirements here, but there is a template if it's helpful.
  • Check you use a short title and blog path.
  • Upload any additional assets (such as images) to the Documentation Images repo. This is to reduce bloat in the GitHub base repo when cloning and pulling. Try to have small images to avoid a slow or expensive user experience.
  • Add metadata (such as authors) to your md file. You can also specify guest or org for the authors.
  • Ensure the publication date is correct.
  • Preview the content. A quick way is to paste the markdown content in https://huggingface.co/new-blog. Do not click publish, this is just a way to do an early check.

Here is an example of a complete PR: #2382

Getting a Review

Please make sure to get a review from someone on your team or a co-author.
Once this is done and once all the steps above are completed, you should be able to merge.
There is no need for additional reviews if you and your co-authors are happy and meet all of the above.

Feel free to add @pcuenca as a reviewer if you want a final check. Keep in mind he'll be biased toward light reviews
(e.g., check for proper metadata) rather than content reviews unless explicitly asked.

davidberenstein1957 and others added 30 commits December 9, 2024 12:42
update images with tinypng version
add example tables
Co-authored-by: Daniel Vila Suero <[email protected]>
Co-authored-by: Daniel Vila Suero <[email protected]>
Co-authored-by: Pedro Cuenca <[email protected]>
Co-authored-by: Sara Han <[email protected]>
@davidberenstein1957 davidberenstein1957 marked this pull request as ready for review December 16, 2024 14:34
@davidberenstein1957
Copy link
Member Author

@pcuenca :)

Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

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

Nice! As the previous thumbnail was already published, it will be cached by the CDN for ~24 hours. The easiest solution to override is to rename this file (and update _blog.yml and the markdown metadata accordingly). Sorry for the trouble!

@davidberenstein1957
Copy link
Member Author

@pcuenca that should do it.

@davidberenstein1957 davidberenstein1957 merged commit 0f119d4 into huggingface:main Dec 16, 2024
1 check passed
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