-
Notifications
You must be signed in to change notification settings - Fork 259
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
Add Quarto Space docs #1226
base: main
Are you sure you want to change the base?
Add Quarto Space docs #1226
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very exciting!
1. Create the Quarto space, and clone it locally | ||
|
||
<a href="https://huggingface.co/new-space?template=posit/quarto-template"> <img src="https://huggingface.co/datasets/huggingface/badges/raw/main/deploy-to-spaces-lg.svg"/> </a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would split this into two steps, and I think you should add an example code snippet on how to clone the repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, cloning locally is not a strict requirement no? People can do the development entirely in the UI. I would suggest to split this into
- Creating and setting up the repo, doing changes in the Space by directly modifying
/src
- Developing locally (install quarto, VS Code extension)
- Learn more about Quarto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose that's true, but working on a quarto site in the browser without being able to preview the site would likely be pretty awkward. Happy to change the organization though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think mentioning, even if briefly, the in-browser setup could be ok!
Co-authored-by: Omar Sanseviero <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks a lot!
|
||
2. Clone the Repo | ||
|
||
To clone the space locally run the following command, make sure to replace `<YOUR_HF_USER>` with your Hugging Face username. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They might need to be logged in if the Space is private.
Co-authored-by: Pedro Cuenca <[email protected]>
This adds documentation for the Quarto space template .
@osanseviero