Conversation
🪼 branch checks and previews
Install Gradio from this PR pip install https://gradio-pypi-previews.s3.amazonaws.com/76f9bdc411e82def1da0ca8f0db39998e0be2103/gradio-6.9.0-py3-none-any.whlInstall Gradio Python Client from this PR pip install "gradio-client @ git+https://github.com/gradio-app/gradio@76f9bdc411e82def1da0ca8f0db39998e0be2103#subdirectory=client/python"Install Gradio JS Client from this PR npm install https://gradio-npm-previews.s3.amazonaws.com/76f9bdc411e82def1da0ca8f0db39998e0be2103/gradio-client-2.1.0.tgz |
🦄 change detectedThis Pull Request includes changes to the following packages.
✅ Changeset approved by @aliabd
|
freddyaboulton
left a comment
There was a problem hiding this comment.
Thanks @aliabd ! This is going to be super useful. I'm getting empty markdown for both Interface and gr.DateTime components though. I made sure I was on the main branch of the docs:
|
@freddyaboulton i made a bunch of fixes and you shouldn't be seeing that issue anymore. Also figured out how to do content negotiation using cloudflare functions, while keeping the site static and now everything is working as expected! here's an example with claude code: to test out what the markdown for a page looks like easiest way is just the copy button. but to test out the content negotiation easiest way is curl
|
|
This is awesome @aliabd ! The conversion works seamlessly but I found some issues with the conversion function: Tips are rendered as html
|
|
I would say the "" issue is the only blocker here |






Was slightly more complicated than i anticipated.
This adds support for crawling the website in markdown! The way it works is that it intercepts the request and checks if the user agent is an llm crawler. If it is then:
Also added a copy page button and open in huggingchat to the docs pages just like the one we had in guides. You can use it to quickly test if the markdown is correct for the page.
Will continue to test this and make sure everything looks good
Closes: #12586