You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Navigation macro's final parameter full_path is false by default. However, specifying it as false explicitly gives the same result as setting it to true.
Expected behavior <<Navigation(Title, subdir, false)>> should behave the same as <<Navigation(Title, subdir)>> (which does have the correct behavior of not including the full path), rather than behaving like <<Navigation(Title, subdir, true)>> (which shows subdir in the path).
Environment Info
Gollum 5.3.2
Running on: x86_64-linux-gnu with Ruby version 3.0.2
Using:
rugged 1.7.1
gollum-rugged_adapter 2.1.0
gollum-lib 5.2.4
Markdown rendering gem: kramdown
Other renderering gems:
none
The text was updated successfully, but these errors were encountered:
If you (or anyone reading this) would provide step-by-step instructions for reproduction and describe the output vs. the expected output, that would help developers easily reproduce this issue and make it more straightforward to start fixing the issue.
I haven't tried reproducing this myself, yet, but I would assume we need at least one page in a subdirectory to reproduce?
I would imagine so, otherwise you would have nothing printed and would be unable to see whether the subdirectory is printed or not. This works for me to reproduce the issue:
Describe the bug
The Navigation macro's final parameter
full_path
is false by default. However, specifying it as false explicitly gives the same result as setting it to true.Expected behavior
<<Navigation(Title, subdir, false)>>
should behave the same as<<Navigation(Title, subdir)>>
(which does have the correct behavior of not including the full path), rather than behaving like<<Navigation(Title, subdir, true)>>
(which showssubdir
in the path).Environment Info
The text was updated successfully, but these errors were encountered: