插件 jQuery.Hub.me 中文API文档
插件 jQuery.Hub.me 中文API文档 https://github.com/zenorocha/hub.me
hub.me
Let me guess!
- You’re a lazy programmer.
- You have a lot of cool projects here at Github.
- You want to show the world all your open source stuff.
am I right? So guess what, I have the perfect thing to you.
Let me introduce you hub.me, an alternative and responsive gallery to display all your projects on Github.
Why?
Discover it reading the history of my friend Clark Kent here. Portuguese version here.
Getting Started
Step 1:
Just fork this repository.
Step 2:
Then you must change the repository name to yourUsername.github.com
.
Step 3:
Now you have to open the index.html
and put your username on it.
<script>
$('body').hubMe({'username': 'yourUsername'});
</script>
Easy, huh?
*Just remember that may take up to 10 minutes to Github activate pages for your account.
Options
There are some nice features you can choose to create a even better gallery.
Themes
If you want another appearance just tell the plugin.
$('body').hubMe({ 'theme': 'black' });
For now you have 3 choices to customize it:
- blue (default)
- gray
- black
And, of course, you can create your own theme and then send to us :)
Exclude
You don’t want to display particular projects? Fine.
$('body').hubMe({ 'exclude': ['wormz', 'cufon'] });
Languages
You want the ability to hide the language sections? No problem.
$('body').hubMe({ 'languages': false });
Browser Support
We do care about it.
IE 9+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
Credits
- jQuery plugin built with jQuery Boilerplate
- Responsive design inspired by Dinosaurs with Laserz
License
MIT License © Zeno Rocha