Skip to content

Commit

Permalink
docs & readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Nov 15, 2013
1 parent b485bc8 commit 2ff1692
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ module.exports = function(grunt) {

'use strict';

var jekyllConfig = "my_setting: 'string1' \r\n"+
"isLocal : false \r\n"+
var jekyllConfig = "isLocal : false \r\n"+
"permalink: /:title/ \r\n"+
"exclude: ['.json', '.rvmrc', '.rbenv-version', 'README.md', 'Rakefile', 'changelog.md', 'compiler.jar', 'private', 'magnific-popup.sublime-project', 'magnific-popup.sublime-workspace', '.htaccess'] \r\n"+
"auto: true \r\n"+
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Optionally:

## Changelog

### 0.9.9 (Nov 15, 2013)

- Popup instance object is now available even before the first `$.fn.magnificPopup call`.
- Methods `_onFocusIn` and `_setFocus` are now public, to allow overriding.

### 0.9.8 (Oct 26, 2013)

Expand Down
1 change: 1 addition & 0 deletions website/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<title>{{ page.title }}</title>

<meta charset="utf-8">
<meta name="description" content="{{page.description}}"/>
<meta name="viewport" content="width = device-width, initial-scale = 1.0" />
<meta name="author" content="Dmitry Semenov">
Expand Down
8 changes: 5 additions & 3 deletions website/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Here you can find the guide on how to use Magnific Popup. Besides this docs page

Please ask general questions through <a href="http://stackoverflow.com/questions/ask?tags=magnific-popup">StackOverflow</a> tagged with `magnific-popup`.

# &nbsp;
# magnific popup docs

* This will become a table of contents (this text will be scraped).
{:toc}
Expand Down Expand Up @@ -1167,7 +1167,7 @@ $.magnificPopup.instance.next = function() {

You may override any public function, just note that this change applies globally.

### Known issues
## Known issues

### Text input in [Select2](http://ivaynberg.github.io/select2/) plugin is inactive when added inside popup

Expand All @@ -1177,4 +1177,6 @@ Refer to [this discussion on GitHub](https://github.com/dimsemenov/Magnific-Popu

Improve this documentation page <a href="https://github.com/dimsemenov/Magnific-Popup/edit/master/website/documentation.md">via GitHub</a> (simply submit commit). Any improvements, including your own CodePen examples are very welcome. And, lastly, don't forget to star the script on GitHub:

<iframe src="http://ghbtns.com/github-btn.html?user=dimsemenov&amp;repo=magnific-popup&amp;type=watch&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
<div>
<iframe src="http://ghbtns.com/github-btn.html?user=dimsemenov&amp;repo=magnific-popup&amp;type=watch&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30">&nbsp;</iframe>
</div>
2 changes: 1 addition & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 id="logo-title">Magnific Popup</h1>
</div>
{% include logo.html %}
<div>
<h2 class="intro">Magnific Popup is a responsive jQuery lightbox plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible).</h2>
<h2 class="intro">Magnific Popup is a responsive jQuery lightbox & dialog plugin that is focused on performance and providing best experience for user with any device (Zepto.js compatible).</h2>
<div id="header-links">
<a href="documentation.html">Documentation</a> &middot; <a href="https://github.com/dimsemenov/Magnific-Popup">GitHub</a> &middot; <a href="wordpress.html" class="wp-version-link" data-mfp-src="#mc_embed_signup">WordPress plugin</a> &middot; <a href="#mfp-build-tool" class="mfp-build-tool-link">Build tool</a> &middot; <a class="smashing-link" href="http://coding.smashingmagazine.com/2013/05/02/truly-responsive-lightbox/">How it was made</a>
</div>
Expand Down
7 changes: 6 additions & 1 deletion website/site-assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ h2.intro {
}*/



#magnific_popup_docs {
display: none;
}
.maruku_toc {
position: fixed;
left: 0;
Expand All @@ -195,6 +197,9 @@ h2.intro {
background: rgba(255, 255, 255, 0.71);
-webkit-backface-visibility:hidden;
}
.maruku_toc ul {
list-style: none;
}
.maruku_toc ul ul {
display: none;
}
Expand Down

0 comments on commit 2ff1692

Please sign in to comment.