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

ability to specify the nav element #1525

Open
Evidlo opened this issue Mar 5, 2021 · 3 comments · May be fixed by #1535
Open

ability to specify the nav element #1525

Evidlo opened this issue Mar 5, 2021 · 3 comments · May be fixed by #1535

Comments

@Evidlo
Copy link

Evidlo commented Mar 5, 2021

I'm trying to embed docsify within an existing template, but I'm having a problem where docsify is hijacking my template's <nav> tag.

Looking through the source, it seems like docsify chooses the first <nav> on the page.

Is there any chance we could get a nav_el config option that lets us specify the id of the <nav> element we want to use?

@Evidlo Evidlo changed the title Controlling which <nav> is selected Embedding within a webpage Mar 8, 2021
@Koooooo-7
Copy link
Member

not yet, we register selectors just on nav rn. could u give us a simple demo to reproduce it ?
we will check it, thx a lot.

@Evidlo Evidlo linked a pull request Mar 10, 2021 that will close this issue
9 tasks
@pauldraper
Copy link

pauldraper commented Sep 26, 2021

related #799

@trusktr trusktr changed the title Embedding within a webpage ability to specify the nav element Jan 12, 2022
@trusktr
Copy link
Member

trusktr commented Jan 12, 2022

This will be part of #799. #799 needs a few more things besides the nav fix.

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

Successfully merging a pull request may close this issue.

4 participants