Replies: 5 comments 16 replies
-
I am not entirely sure to understand the desired result, but it seems the profile feature is what you need, especially the profile configuration. Would you be able to share a small setup? |
Beta Was this translation helpful? Give feedback.
-
While it may not currently be possible to actually incorporate a book[s] under a website / blog, I'm working on a process that might be helpful for you too. By hosting a user / organization page on github [e.g. USER.github.io], any other project's repository can be accessed by appending it like so ... [USER.github.io/project]. What I'm working on is creating my github user page as my quarto blog, then I will create a separate book [or other project] repository, and then create links in the navigation of both like that in the above example. The benefit of this is that multiple books / projects can be "linked' to the blog in this manner. I'm just now working on implementing it - not sure if it might be a potential interim solution for you as well. |
Beta Was this translation helpful? Give feedback.
-
I do think the intended use of Quarto is to have separate projects for each publication and not nesting multiple publications. I also do think that nesting such different publications may cause troubles for the apparently much neglected multi-target publishing on many levels currently. Hence, the approach of @AgedLace seems to me to be be the correct one. I am following the separate projects approach as well to handle two books and an API documentation and a landing page glueing them together. But this discussion is valuable as the current and the intended use of Quarto needs to be stated more clearly in the documentation in a timely fashion as the number of references to Quarto in which an abuse of Quarto - at least this is what I suspect it is - is propagated as a normal solution. |
Beta Was this translation helpful? Give feedback.
-
FWIW this website https://rstudio.github.io/r-manuals/ is a Quarto website, that is offering to read the R Manuals as Quarto books. The source code is here: https://github.com/rstudio/r-manuals The "trick" was to generate the books as their own projects, with their own output folder, and then create a website that would have the rendered book folders as resources. This is quite meta and organize using scripts and templates. Drawback is that the whole Quarto website is not knowledgeable of the Books, meanings cross ref between books are non existent, and search is only available per-book, and each book is its own website. Just sharing in case in can give example to some with same needs |
Beta Was this translation helpful? Give feedback.
-
I had the exact same question. My use case is that I use Quarto for my website, which deploys via Netlify. I am currently putting up lecture notes on page called materials, for example here is a specific set of notes (work in progress!). BTW, this seems to achieve some of @rahuldave's original use case, namely that "[...] content stays as a post in the blog, but now needs to be surrounded by different navigation for a microbook" --- this can be done with the sidebar directive in the main So, it would be great to have nested book projects, but that is apparently not feasible, so I am wondering about the best workaround. I could set this up as separate Quarto book projects, but ideally I'd like each book project to deploy to a dedicated subdomain (e.g. dsanotes.neeldhara.com or something like that). Netlify seems to support subdomains only via branch deploys: I am not sure I understand this correctly, but it seems like I'd have to have each set of lecture notes live in a parallel branch of my main git repo. This feels like it will be unwieldy --- or am I parsing this wrong? Or I could do what's being done with the R Manuals site, but I can't seem to figure out how it is setup from their repo --- is there anywhere that the meta scripting and templating is documented? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to nest a book into a website. This lands up having 2
_quarto.yml
files, and the one in the book's folder is not respected.This is not surprising, as the one in the top level folder is being parsed.
I thought i might be able to add the contents of the nested
_quarto.yml
file to the top level one, but the project tag seems to be a singleton one.Is there a way of achieving what i want to do?
Beta Was this translation helpful? Give feedback.
All reactions