huggingface / huggingface/doc-builder

We can't embed Tweet in doc-builder

Open
#497 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Python
Stars
144
Forks
59
Avg merge
2d 5h
Merged PRs (30d)
13

Description

Context: For the ML for Games Course I wanted to embed some tweets from Scenario.gg team that made very good showcase of their features.

However, it seems we can't do it with doc-builder since building the PR lead to errors that seems related to the fact that when we embed a tweet, we add a javascript.

`[vite-plugin-svelte] /tmp/tmprl7wke7x/kit/src/routes/unit2/2d-generation/+page.svelte:8:0 A component can only have one instance-level <script> element`

I think it's a low-priority feature but it worth mentioning it.

Error message when compiling: https://github.com/huggingface/making-games-with-ai-course/actions/runs/8721509263/job/23925393896#step:12:33

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.