-
Notifications
You must be signed in to change notification settings - Fork 122
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
Missing breadcrumb name in maven site module #763
Comments
Some reverse engineering from the Note that the breadcrumb configuration is inherited from https://github.com/apache/maven-parent/blob/e1bc57ba6a9b1ac220d810af9d7301b8a95f0806/src/site/site.xml#L65-L68. To test in isolation those elements and fluido config need to be added to a local project. We can take the opportunity to also add the other metadata https://github.com/apache/maven-doxia/blob/4eda5adb3c9010131ac1f9118d8ed6c262883762/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java#L162-L176. |
For a possible approach for the asciidoctor plugin we can use sink.head();
sink.title();
sink.text("Example Manual");
sink.title_();
sink.head_(); |
Fortunately, there is a trick to avoid this overhead. First, you can set the |
I like the idea of splitting the header. The issue is the parse receives an Also, note to future self, we'd need to pass options and attributes to load in case the user is composing that data into other attributes like |
PR is ready #769. Still on plan to release tomorrow. |
@kriegaex v2.2.6 is out, thanks for the report and the research. |
Contains fix for breadcrumb issue: asciidoctor/asciidoctor-maven-plugin#763
I upgraded, and it works. Thank you so much. |
Contains fix for breadcrumb issue: asciidoctor/asciidoctor-maven-plugin#763
Moving this to 3.0.0. The fix for 2.2.6 was already done in a way that can be easily ported. |
* Add new HeaderParser and HeaderMetadata components to obtain Asciidoctor header details and inject them into the Sink header * Renames package `org.asciidoctor.maven.site.ast` to `org.asciidoctor.maven.site.parser` to match module name * Updated Integration Tests * Quick docs update (may require review after v3.0.0 release)
Thank you for taking your time to talk with us!
What is this issue about?
Description
When enabling breadcumbs in a maven site, the name for the current page is not present.
The expected behauviour should be similar to:
Environment information
The text was updated successfully, but these errors were encountered: