Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
chore(docs): minor docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Jan 9, 2014
1 parent 69e7abd commit fecc2f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,15 @@ module.exports = function (grunt) {

// Copies remaining files to places other tasks can use
copy: {
fonts: {
static: {
files: [{
expand: true,
cwd: 'bower_components/font-awesome',
dest: '<%= yo.pages %>',
cwd: '<%= yo.pages %>',
dest: '<%= yo.pages %>/static',
src: [
'fonts/*'
'images/{,*/}*.png',
'scripts/{,*/}*.js',
'styles/{,*/}*.css'
]
}]
},
Expand Down Expand Up @@ -414,7 +416,7 @@ module.exports = function (grunt) {
docs: {
options: {
module: 'mgcrea.ngStrapDocs',
usemin: 'scripts/docs.min.js'
usemin: 'scripts/docs.tpl.min.js'
},
files: [{
cwd: '<%= yo.src %>',
Expand Down Expand Up @@ -504,11 +506,11 @@ module.exports = function (grunt) {
'ngtemplates:docs',
'concat:generated',
'ngmin:docs',
'copy:fonts',
'copy:docs',
'cssmin:generated',
'uglify:generated',
'concat:docs',
'copy:static',
'rev',
'usemin',
// 'htmlmin:docs' // breaks code preview
Expand Down
2 changes: 1 addition & 1 deletion src/affix/docs/affix.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2 id="affix-examples">Examples</h2>

<div class="callout callout-warning">
<h4>Plugin dependency</h4>
<p>Affix require the <a href="#">jqlite.dimensions</a> plugin to be included.</p>
<p>Affix require the <a href="//github.com/mgcrea/angular-strap/blob/master/src/jqlite/dimensions.js" target="_blank">jqlite.dimensions</a> plugin to be included.</p>
</div>

<div class="highlight">
Expand Down
2 changes: 1 addition & 1 deletion src/button/docs/button.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h4>Group directives are also available as shortcuts</h4>
<p>Use <code>bs-checkbox-group</code> and <code>bs-radio-group</code> to easily setup the proper markup at compile time.</p>
</div>

<h3 id="buttons-usage">Live demo <a class="small" href="#" target="_blank"><i class="fa fa-edit" data-title="edit in plunker" data-placement="right" bs-tooltip></i></a></h3>
<h3 id="buttons-usage">Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="button/docs/button.demo.html" data-content-js-url="button/docs/button.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>

<pre class="bs-example-scope">$scope.button = {{button | json}};</pre>
<div class="bs-example" style="padding-bottom: 24px;" append-source>
Expand Down
4 changes: 2 additions & 2 deletions src/tab/docs/tab.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="tabs">Tabs <a class="small" href="//github.com/mgcrea/angular-strap/blob
<h2 id="tabs-examples">Examples</h2>
<p>Add quick, dynamic tab functionality to transition through panes of local content.</p>

<h3>Live demo <a class="small" href="#" target="_blank"><i class="fa fa-edit" data-title="edit in plunker" data-placement="right" bs-tooltip></i></a></h3>
<h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="tab/docs/tab.demo.html" data-content-js-url="tab/docs/tab.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip><i class="fa fa-edit"></i></a></h3>
<pre class="bs-example-scope">$scope.tabs = {{tabs | json}};</pre>
<div class="bs-example" append-source>
<!-- ngModel is optional -->
Expand All @@ -33,7 +33,7 @@ <h3>Live demo <a class="small" href="#" target="_blank"><i class="fa fa-edit" da
<h2 id="tabs-usage">Usage</h2>
<p>Append a <code>bs-tabs</code>attribute to any element to enable the directive.</p>

<div class="bs-callout bs-callout-info">
<div class="callout callout-info">
<h4>Custom animations</h4>
<p>Pane animation is done with <code>ngClass('active')</code> callbacks and require custom CSS.</p>
<pre class="bs-exemple-code">
Expand Down

0 comments on commit fecc2f5

Please sign in to comment.