Books & menus
#2037
Replies: 1 comment 3 replies
-
Can you share the source code of those files. I have a book structure in my website. Live version here, source here. Take a look and compare your setup to see if it helps you 🤗 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
This may well be me getting the grips with wowchemy modules and missing some obvious point, so please bear with me!
So: I have a couple of websites and I am experiencing a slightly weird behaviour of the menus for the book content...
The first one is online here. There are two folders that contain content formatted as "books":
book
(dah...) andsoftware
. I use blogdown and manage the whole site fromR
. The two folders are structured as follows(I'm simplifying slightly here because there are other files all over...).
Now, when I compile it and preview the site locally, all seems to work OK, but I note an interesting difference: the
book
folder shows all the sub-menus on the left-hand side, ie all the books (and the sub-documents) show up. Conversely, for thesoftware
folder, that doesn't happen, locally. Only the top-level item shows up (so if I'm previewingsoftware1
, the menu showssoftware1/some_other_file
only, but not the othersoftware
items. Interestingly, the problem goes away when I publish it online (you can see it from here and here.To confuse me even further, I now have another site (which I can't share just yet), where the structure is the following
In this case, neither locally nor when I publish under my institutions server, the full menu show up. Is it to do with the fact that the _index pages have the
Rmd
extension? (I have tried to rename them to.Rmarkdown
, but to no avail...).My apologies again if trivial and/or not clear - any help appreciated!
Gianluca
Beta Was this translation helpful? Give feedback.
All reactions