Closed dbosak01 closed 2 years ago
PR that created the unexpected behavior https://github.com/r-lib/pkgdown/pull/1517/
Thanks for the bug report, I can reproduce it.
Before there's a fix a workaround is having
navbar:
type: inverse
structure:
right: [home, intro, articles, reference, faq, news, github]
left: []
in your configuration file.
Thanks for the workaround. It works!
Good to hear! #2016 should be an actual fix (or maybe not if I got it wrong, so you're safer with the workaround for now :sweat_smile:)
Related #2070 (might break the workaround)
I don't think that's a workaround; I think that's the desired behaviour — if you don't specify a field it inherits from the default, so here you want to explicitly say that you don't want any elements on the LHS of the navbar.
Starting from pkgdown 2.0.0 I'm getting duplication of my navbar menus when it is aligned right. The relevant portion of my _pkgdown.yml looks like this:
And the effect is this:
If it is aligned left, or I use pkgdown version 1.6.1, the duplication does not occur.
I apologize for not submitting a complete reproducible example. In this case, I don't know how to supply one except to submit my entire package. My _pkgdown.yml is attached. _pkgdown.yml.txt