-
Notifications
You must be signed in to change notification settings - Fork 352
WIP: Frameless docs + New Menu #219
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
Conversation
04450b8 to
745fa62
Compare
This is a Work in Process, there are a lot of things to fix at this point: - [x] Fix tests - [x] Review the changes made to the CSS styles - [x] Review the breadcrumbs - [x] Fix the possible conflict after elixir-lang#212 gets merged - [x] Fix the index.html to avoid the frameset. - [x] Improve the section below the `#sidebar` section in `module_template` - [x] Generate valid JSON for `sidebar_items.js` - [x] Improve CSS integration - [x] Remove frames - [x] Add an initial media query for `print` media - [x] Improve the JS style code and documentation - [x] Add meta tags `x-ua-compatible`, `viewport` and `generator` - [x] Delete `target` parameter from a element - [x] Add normalize.css - [x] Merge old full_list.css with style.css - [x] Add sidebar template - [x] Merge full_list.js into app.js - [x] Update jQuery v2.1.4 This effort will try to fix the issue elixir-lang#175
|
👍 looks good! |
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.
Why are you assigning to a built in variable?
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.
I realised this was in the old code, but it's very bad JavaScript.. just do something lke
function escapeText(text) {
return text.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
}instead
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.
@dignifiedquire Thanks for your feedback, as you mentioned it was old code, but I already applied your suggestion.
|
Great stuff ! |
|
This is awesome, let me give it a try locally. :) |
|
@milmazz this looks great. Some feedback:
|
|
@josevalim Thanks for your feedback, It looks really awful in your setup. I think the PR cover the things that you mentioned in 2 and 3. Maybe I'm testing in the wrong way: |
|
It was my fault, sorry. Thanks for the snippet, it is all good now! Some final suggestions:
Then we can ship it! :D |
Fix some differences in the CSS style after merge.
|
@josevalim 1. Already changed the navigation area to Please let me know if you need something else. |
WIP: Frameless docs + New Menu
|
❤️ 💚 💙 💛 💜 |
|
2 has been fixed already too. Sorry, I am not on top of my game today. :) I have merged this, thank you so much! |
|
I will open up issues for other bugs I find. :) |
|
@josevalim No problem, thanks for your help and your feedback. According to you, there is another issue with high priority:question: |
|
I have opened two issue reports and copied you on it. I think most of the issues can be ironed out quickly, so I have decided to merge this so we can get more feedback. :) |
|
sorry for the late reply, I just wanted to make one comment, but I haven't had the chance to do it before. I have noticed there has been a bug in ex_doc now after this PR (#229) and I realized that JQuery has been updated, I had that in mind and I since we were running a very old version, it was recommended to do a migration process. Have you done this? I think we should do it to avoid any further issues in case you have not. cheers |
|
@eksperimental Thank you, I'm really having fun 😃 As I mentioned to @josevalim, I've been able to reproduce this bug in the stable version too. Right now the bug is already fixed and merged into the master branch. Specifically the problem was the following: $('#search input').bind("keyup search reset change propertychange input paste", function (evnt) {The TBH, I didn't checked As a side note, the Finally, thanks for your suggestions, I'll look into your personal issue tracker for ExDoc looking for new ideas. Happy hacking! |

This is a Work in Process, there are a lot of things to fix at this point:
#sidebarsection inmodule_templatesidebar_items.jsprintmediax-ua-compatible,viewportandgeneratortargetparameter from a elementThis effort will try to fix the issue #175
Any comments or suggestions are more than welcome. I'll be grateful for any feedback.