-
Notifications
You must be signed in to change notification settings - Fork 347
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
Document how to setup custom domain on Github Pages when using quarto publish gh-pages
#4941
Document how to setup custom domain on Github Pages when using quarto publish gh-pages
#4941
Comments
Proposed solution:
resources:
- CNAME |
Maybe this belongs in https://quarto.org/docs/publishing/github-pages.html#render-to-docs. But perhaps this is actually an issue for all publishing methods (rendering to docs, @cscheid or @cderv could one of you confirm if the proposed solution applies to all publishing methods? |
Different publishing targets will generally need different documentation. (eg, quarto pub doesn't support custom domains) |
I meant just the different methods of publishing GitHub pages (only those discussed on this doc page), as opposed to other publishing venues. I.e. should this exist as a top level section of "GitHub Pages" or as a subsection of the "Render to docs" section on that page. |
I came across this when trying to stop github pages over-writing my custom domain. |
You need to tell Quarto This was also highlighted in a previous comment, see #4941 (comment). |
From: I believe so, because the other issue means to add something in the "publishing" parts of the website.
I believe, we should use an include here. |
Also from quarto-dev/quarto-web#1091:
It makes sense to reiterate these files are automatically detected in https://quarto.org/docs/websites/website-tools.html#site-resources |
Discussed in #3249
Originally posted by jmgirard November 8, 2022
I am hosting a Quarto website on Github Pages using the "docs" method. I have a custom domain and thus need to have a
docs/CNAME
file in my project. However, it seems that quarto is removing this file whenever I render viaquarto render
. Is there a way to tell quarto to keep this CNAME file? I tried thewebsite: site-url
option but that didn't seem to do it.This is also from quarto-dev/quarto-actions#73
The text was updated successfully, but these errors were encountered: