Permalink
Browse files

init pages

  • Loading branch information...
0 parents commit 99abea578f397fb498032734ced1e00dc3015e5d @mistic100 committed May 3, 2014
Showing with 508 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +2 −0 Gemfile
  3. +21 −0 LICENSE
  4. +4 −0 README.md
  5. +50 −0 _config.yml
  6. +173 −0 _layouts/default.html
  7. +6 −0 about/index.html
  8. +6 −0 assets/css/docs.min.css
  9. +35 −0 assets/css/style.css
  10. BIN assets/images/bs-docs-masthead-pattern.png
  11. +40 −0 assets/js/docs.min.js
  12. +169 −0 index.html
@@ -0,0 +1,2 @@
+/_site
+Gemfile.lock
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'github-pages'
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Damien Sorel
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
@@ -0,0 +1,4 @@
+Jekyll Bootstrap Doc
+====================
+
+http://mistic100.github.io/jekyll-bootstrap-doc
@@ -0,0 +1,50 @@
+# base url used to resolved all internal links with pages and resources
+# set it empty when testing on local
+# set it to https://user.github.io/project before publishing
+# don't remove the &baseurl YAML reference
+baseurl: &baseurl http://mistic100.github.io/jekyll-bootstrap-doc
+
+# name of the software
+name: Jekyll Bootstrap Doc
+# current version of the software
+version: 1.0.0
+# url of the download button
+downloadUrl: https://github.com/mistic100/jekyll-bootstrap-doc
+# licence of the software
+license: MIT License
+licenseUrl: http://opensource.org/licenses/MIT
+
+# list of additional links on the right of the top menu
+headerLinks:
+ - title: GitHub
+ url: https://github.com/mistic100/jekyll-bootstrap-doc
+
+# list if additional links on the footer
+footerLinks:
+ - title: GitHub
+ url: https://github.com/mistic100/jekyll-bootstrap-doc
+ - title: Issues
+ url: https://github.com/mistic100/jekyll-bootstrap-doc/issues?state=open
+
+# github button
+githubButton:
+ user: mistic100
+ repo: jekyll-bootstrap-doc
+
+# twitter follow button
+twitterAccount: mistic100
+
+# url for tweet button
+shareUrl: *baseurl
+
+# google analytics
+analytics:
+ account:
+ domain:
+
+
+# DON'T MODIFY
+pygments: true
+highlight: pygments
+
+exclude: ['README.md', 'Gemfile.lock', 'Gemfile']
@@ -0,0 +1,173 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>{{site.name}}</title>
+
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+ <![endif]-->
+
+ <link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+ <link href="{{site.baseurl}}/assets/css/docs.min.css" rel="stylesheet">
+ <link href="{{site.baseurl}}/assets/css/style.css" rel="stylesheet">
+
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+ <script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
+ <script src="{{site.baseurl}}/assets/js/docs.min.js"></script>
+</head>
+
+<body>
+ <!-- Main navigation
+ =========================================== -->
+ <header class="navbar navbar-static-top bs-docs-nav" id="top">
+ <div class="container">
+ <div class="navbar-header" role="banner">
+ <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="{{site.baseurl}}">{{site.name}}</a>
+ </div>
+ <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
+ <ul class="nav navbar-nav">
+ {% for p in site.pages %}
+ <li {% if page.title == p.title %}class="active"{% endif %}>
+ <a href="{{site.baseurl}}{{p.url}}">{{p.title}}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+ {% for p in site.headerLinks %}
+ <li>
+ <a href="{{p.url}}">{{p.title}}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </nav>
+ </div>
+ </header>
+
+
+ <!-- Header
+ =========================================== -->
+ {% if page.isHome %}
+ <div class="bs-docs-masthead" id="content">
+ <div class="container">
+ <h1 class="home-title">{{site.name}}</h1>
+ <p class="lead">{{page.description}}</p>
+ <p class="lead">
+ <a href="{{site.downloadUrl}}" class="btn btn-outline-inverse btn-lg">Download</a>
+ </p>
+ <p class="version">Currently v{{site.version}}</p>
+ </div>
+ </div>
+
+ {% else %}
+ <div class="bs-docs-header" id="content">
+ <div class="container">
+ <h1>{{page.title}}</h1>
+ <p>{{page.description}}</p>
+ </div>
+ </div>
+ {% endif %}
+
+ <div class="container bs-docs-container">
+ <div class="row">
+ <!-- Content
+ =========================================== -->
+ <div class="col-md-9" role="main">
+ {{content}}
+ </div>
+
+ <!-- Page navigation
+ =========================================== -->
+ <div class="col-md-3" role="complementary">
+ <div class="bs-docs-sidebar hidden-print">
+ <ul class="nav bs-docs-sidenav">
+ </ul>
+ <a class="back-to-top" href="#top">
+ <i class="glyphicon glyphicon-chevron-up"></i> Back to top
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Footer
+ =========================================== -->
+ <footer class="bs-docs-footer" role="contentinfo">
+ <div class="container">
+ <div class="bs-docs-social">
+ <ul class="bs-docs-social-buttons">
+ {% if site.githubButton && site.githubButton.user && site.githubButton.repo %}
+ <li>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user={{site.githubButton.user}}&amp;repo={{site.githubButton.repo}}&amp;type=watch&amp;count=true" width="90" height="20" title="Star on GitHub"></iframe>
+ </li>
+ <li>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user={{site.githubButton.user}}&amp;repo={{site.githubButton.repo}}&amp;type=fork&amp;count=true" width="90" height="20" title="Fork on GitHub"></iframe>
+ </li>
+ {% endif %}
+ {% if site.twitterAccount %}
+ <li class="follow-btn">
+ <a href="https://twitter.com/{{site.twitterAccount}}" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @{{site.twitterAccount}}</a>
+ </li>
+ {% endif %}
+ {% if site.shareUrl %}
+ <li class="tweet-btn">
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="{{site.shareUrl}}" data-count="horizontal" data-via="{{site.twitterAccount}}" data-text="{{site.name}}">Tweet</a>
+ </li>
+ {% endif %}
+ </ul>
+ </div>
+
+ <p>
+ Licensed under <a href="{{site.licenseUrl}}" target="_blank">{{site.license}}</a>,
+ documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.
+ </p>
+ <p>
+ Documentation template by <a href="http://getbootstrap.com">Bootstrap team</a>,
+ generated with <a href="https://github.com/mistic100/jekyll-bootstrap-doc">Jekyll Bootstrap Doc</a>
+ </p>
+
+ <ul class="bs-docs-footer-links muted">
+ <li>Currently v{{site.version}}</li>
+ {% for l in site.footerLinks %}
+ <li>&middot;</li>
+ <li><a href="{{l.url}}">{{l.title}}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ </footer>
+
+ <!-- Async scripts
+ =========================================== -->
+ {% if site.twitterAccount || site.shareUrl %}
+ <script>
+ window.twttr = (function (d,s,id) {
+ var t, js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1;
+ js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
+ return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
+ }(document, "script", "twitter-wjs"));
+ </script>
+ {% endif %}
+
+ {% if site.analytics && site.analytics.account %}
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ ga('create', '{{site.analytics.account}}', '{{site.analytics.domain}}');
+ ga('send', 'pageview');
+ </script>
+ {% endif %}
+
+</body>
+</html>
@@ -0,0 +1,6 @@
+---
+layout: default
+title: About
+---
+
+<p>This is an empty page, it has no section and no titles, thus no sidebar menu is generated.</p>
Oops, something went wrong.
@@ -0,0 +1,35 @@
+.bs-docs-masthead {
+ padding-top:50px;
+ padding-bottom:40px;
+ margin-bottom:20px;
+}
+
+.bs-docs-header h1, .bs-docs-header p {
+ margin-right:0px;
+}
+
+.bs-docs-sidebar .nav > li > a {
+ font-size:15px;
+}
+.bs-docs-sidebar .nav .nav > li > a {
+ font-size:14px;
+}
+.back-top-top {
+ font-size:13px;
+}
+
+#content {
+ position:relative;
+ background:#3A1B43;
+ background:linear-gradient(135deg, #080331, #673051);
+ background:url('../images/bs-docs-masthead-pattern.png'), linear-gradient(135deg, #080331, #673051);
+}
+#content:after {
+ content:"";
+ position:absolute;
+ bottom:0px;
+ right:0px;
+ height:50px;
+ width:30%;
+ background:linear-gradient(135deg, transparent 50px, white 50px);
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,40 @@
+
+$(function() {
+ // build side menu
+ var html = '';
+
+ $('.bs-docs-section').each(function() {
+ var h1 = $(this).find('h1').first(),
+ h23 = $(this).find('h2[id], h3[id]');
+
+ if (h1.length && h1[0].id) {
+ html+= '<li><a href="#' + h1[0].id +'">'+ h1.text() +'</a>';
+
+ if (h23.length) {
+ html+= '<ul class="nav">';
+ h23.each(function() {
+ html+= '<li><a href="#' + this.id +'">'+ $(this).text() +'</a></li>';
+ });
+ html+= '</ul>';
+ }
+
+ html+= '</li>';
+ }
+ });
+
+ if (html == '') {
+ $('[role=complementary]').hide();
+ $('[role=main]').toggleClass('col-md-9 col-md-12');
+ }
+ else {
+ $('.bs-docs-sidenav').html(html);
+ }
+
+ /*!
+ * JavaScript for Bootstrap's docs (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under the Creative Commons Attribution 3.0 Unported License. For
+ * details, see http://creativecommons.org/licenses/by/3.0/.
+ */
+ !function(a){a(function(){if(navigator.userAgent.match(/IEMobile\/10\.0/)){var b=document.createElement("style");b.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.querySelector("head").appendChild(b)}{var c=a(window),d=a(document.body);a(".navbar").outerHeight(!0)+10}d.scrollspy({target:".bs-docs-sidebar"}),c.on("load",function(){d.scrollspy("refresh")}),a(".bs-docs-container [href=#]").click(function(a){a.preventDefault()}),setTimeout(function(){var b=a(".bs-docs-sidebar");b.affix({offset:{top:function(){var c=b.offset().top,d=parseInt(b.children(0).css("margin-top"),10),e=a(".bs-docs-nav").height();return this.top=c-e-d},bottom:function(){return this.bottom=a(".bs-docs-footer").outerHeight(!0)}}})},100),setTimeout(function(){a(".bs-top").affix()},100)})}(jQuery);
+});
Oops, something went wrong.

0 comments on commit 99abea5

Please sign in to comment.