Skip to content
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

NavBar #78

Open
adamwojt opened this issue Sep 20, 2022 · 9 comments
Open

NavBar #78

adamwojt opened this issue Sep 20, 2022 · 9 comments

Comments

@adamwojt
Copy link

adamwojt commented Sep 20, 2022

I am really missing sticky NavBar on the left for this library. i think it might be bit different request than #51
Virtually all docs have this.

image
image
image

@Linbreux
Copy link
Owner

Hi @adamwojt,
What kind of navbar do you mean? A table of contents of the current page? We are currently working of a [[toc]] macro, there are also plans to create a sidebar. #70 (comment)

@adamwojt
Copy link
Author

@Linbreux The sidebar on the left. I guess it's a dupe then. I thought that the macro issue is bit different than that.

@Linbreux
Copy link
Owner

@adamwojt
The sidebar is on the TODO list ;) We just need to find a good way to integrate it.
I'll notify you when we are there!

@adamwojt adamwojt closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2022
@skjerns
Copy link

skjerns commented Feb 1, 2023

Is this still on the "not planned" list?

I think a sidebar would be really useful feature!

@Linbreux
Copy link
Owner

Linbreux commented Feb 1, 2023

Hi @skjerns,
I am currently working on this. For now I'm thinking of something like the image bellow:
image

On the left a customizable sidebar, maybe a yaml or something.
On the right a table of contents.

Suggestions or PR's :) are always welcome.

@Linbreux Linbreux reopened this Feb 1, 2023
@Jerakin
Copy link
Contributor

Jerakin commented Feb 24, 2024

I have started on this. How does something like this look?

I think that having practically having the whole folder structure would be the best. Then on the right side we could add the table of content like in Linbreux example above.

20240224204845.mp4

@Linbreux
Copy link
Owner

@Jerakin This looks clean! Keep in mind that a bunch of people have a lot of files in there root folder (50+).

@Jerakin
Copy link
Contributor

Jerakin commented Feb 25, 2024

Yeah, if there is a lot of files there will be a scrollbar
image

@Jerakin
Copy link
Contributor

Jerakin commented Feb 25, 2024

I was thinking that it would be really cool that if you had a structure like this

wiki/
├─ gummi/
│  ├─ cupcake.md
│  ├─ fruitcake.md
├─ gummi.md
├─ how to use the wiki.md

The the gummi.md file wouldn't show up in the list but rather it would be rendered if you pressed the gummi folder. This would require a bit of change though as currently you can press anywhere on the folder name to expand it, if we added that functionality you would need to press on the arrow only to expand it.

Meaning the menu would be rendered without the gummi.md but the folder would the page for it.

wiki/
├─ gummi/
│  ├─ cupcake.md
│  ├─ fruitcake.md
├─ how to use the wiki.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants