-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Dropdown menu on hover for doc link versions. #37
Conversation
Some explanations of the changes would be nice :) Also I like to attach screenshots when working with css/js changes (or gifs) to ease the review process... |
Yeah. The header hierarchy on the blog needs to get fixed up. On Tue, Jan 27, 2015 at 3:03 PM, Jon Rowe [email protected]
|
Much reply, wrong issue, such doge. |
Very much so. Apologies. On Tue, Jan 27, 2015 at 3:05 PM, Jon Rowe [email protected]
|
Explanation and pictures included! |
I think I favour actually listing all of the versions on this page, rather than hiding them in a dropdown, but having some sort of dropdown nav bar for when actually in the docs... |
Dropdown menu on hover for doc link versions.
I deployed this to rspec.github.io. It looks great...however, now the doc pages are messed up. @JonRowe what did we do before to fix them? |
Also, @JonRowe, is there a way to rollback? It'd be good to know how to do that (maybe we can put it in the README?) so that when there's a botched deploy I can undo it. |
the docs are linking to http://rspec.github.io/documentation/3.1/rspec-core/js/jquery.js |
Can you do something in the docs like I tried to do here: brenfrow@9a67858 |
You are deploying with |
Yep. Here's what I did:
I noticed that BTW, I'm finding it annoying that the main branch we work off of is |
BTW, @JonRowe, at this point, the site is at a point I'm happy with and I'd like to update rspec.info DNS. Before doing that, though, I want to be sure I can safely deploy so that I can publish the blog posts that are in the pipeline. Maybe we can pair to figure out what the problem is? Another thing that would help is a staging environment....how hard would it be to have rspec-staging.github.io be our staging site we can push to test things out? |
For it to work off the apex
Not really, we could change this to being a normal repo and have a
Pass, I'm not sure what
Needs another organisation and repo but otherwise not that hard see http://rspec-staging.github.io/ note that due to our need for it to be an apex domain, and how the github pages naming system works the separate organisation and repo are necessary. |
Thanks. I'll play with deploying to rspec-staging and see if I can get that to work. |
I'm just tweaking the config to make it easier, a manual push seemed to have the same issue with docs as before, making me think maybe it's a build order issue and we're not loading something at the right time... |
Worked with my middleman deploy :/ |
This change provides a small menu (of doc links) that opens on hover, as opposed to a horizontal list.
NOW:


BEFORE: