-
Notifications
You must be signed in to change notification settings - Fork 2k
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
doc: utilize smartmenus #6914
doc: utilize smartmenus #6914
Conversation
Will test this after the weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the problem for me on Doxygen 1.8.13.
However, was the doc/doxygen/index.html file added by mistake?
Add changes from RIOT-OS#6914
I managed to locate the problem. It seems like the design update is switching the box model from content-box to border-box, which causes the 16px width arrow span to include the padding, which is set by navtree.js to (16px * indent_level). If we can switch back to the default content-box model then everything should be OK again, I think. I'm not well versed in modern web technologies so I couldn't find where to change it, but there are mentions of border-box when I git grep the doc/doxygen/src tree. |
Found some more info: Bootstrap is simply incompatible with Doxygen without patching templates/html/navtree.js in the Doxygen sources. The navtree looks fine on my side when removing the box-sizing specifiers in bootstrap.min.js, but I don't know if it will have other side-effects on the layout when the dimensions in CSS are not as expected. |
Actually I already fixed that for the current version at doc.riot.org (that's what this is about). Please just send me your sources and I'll fix that again. |
Alternatively, have a look with your browser's "Inspect" function which selector sets the this? |
The selector is * found in bootstrap.min.js |
Then let's try this with a compiled result again, if this isn't a problem for you. |
(which browser are you using?) |
whats the state here? |
I need @gebart's compiled doc to fix the issue he pointed out. |
Would it make sense to fix this for .04? |
It does not affect the build doc at doc.riot-os.org at the moment, and even then is just about some broken styling, so I wouldn't give it that much priority. |
(+ there is no release-based version of doc.riot-os.org anyway). |
replacing the selector line at https://github.com/RIOT-OS/RIOT/blob/master/doc/doxygen/src/css/riot.css#L92-L95 by #nav-tree img, #nav-tree span { seem to fix it on my side. |
f0ff77a
to
7a3f500
Compare
Rebased and fixed in |
@@ -202,7 +206,7 @@ div.line.glow { | |||
} | |||
span.lineno { | |||
background-color: transparent; | |||
border-right: 3px solid #e3e3e3; | |||
border-right: 2px solid #e3e3e3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like there was a difference in here ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
7a3f500
to
66b5ada
Compare
Squashd |
|
66b5ada
to
ee18d1e
Compare
Fixed and amended immediately |
Still one white space error according to Murdock |
ee18d1e
to
b092179
Compare
Fixed and amended |
Murdock is fine, go! |
As of version 1.8.12 Doxygen uses smartmenus for the navbar on top. Our design should do so as well (while also supporting <1.8.12 Doxygen output).
Fixes #6910.