-
Notifications
You must be signed in to change notification settings - Fork 45
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
Auto generate nav based on pages Headers 2 #102
Comments
Isn't this done already? See, for example, https://docs.quarkiverse.io/quarkus-pact/dev/consumer-index.html. I did a quick code search, and all the content in the right is only based on headers, not on manual config. |
Or is the idea to also have that content on the right appear on the left? I think that's just a layout thing, not a generation thing, but I'd need to experiment. Maybe @ia3andy you could provide a screenshot of the intended effect? I looked at quarkiverse/quarkus-renarde#148 (comment) but it wasn't clear enough to me where the nav was, and what was different from the current state. |
@holly-cummins so as a User point of view, it seems to me that:
In the left Nav, I would automatically link to all pages and reference h2 (main titles) |
Do you think there's value in having stuff over in the right that duplicates stuff on the left? It feels like ... a lot of duplication. I know it's how Antora pages are usually structured, but that doesn't make it good. :) I wonder if just having everything on the left would be more natural to people who weren't antora-users. On the left nav, automatically discovering the pages may need some thought, to make sure we
We can apply a convention that I also don't know if antora lets us drop the nav element in antora.yml, but I can do some experiments. I agree that when viewing an extension, the left bar is pretty sparse, and I definitely agree that filling it in manually down to H2 is (a) boring and (b) a recipe for errors. |
I think it looks nice: https://docs.quarkiverse.io/quarkus-renarde/dev/ |
Ah, totally agree :)
Spliting is fine. But in my experience the left is not folded, and both follow you. I don't find it helpful to split navigation into two parts arbitrarily. |
Originally posted by @gastaldi in quarkiverse/quarkus-renarde#148 (comment)
The text was updated successfully, but these errors were encountered: