Skip to content

Commit a5ec514

Browse files
author
Lauren McCarthy
committed
removing static keyword closes #1336, adding info to gruntfile and wiki about previewing docs issue #1954
1 parent 74019da commit a5ec514

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Gruntfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* start the connect server and leave it running; the tests
2020
* can then be opened at localhost:9001/test/test.html
2121
*
22+
* grunt yui:dev - This rebuilds the inline documentation. It also rebuilds
23+
* each time a change to the source is detected. You can preview
24+
* the reference at localhost:9001/test/test.html
25+
*
2226
* Note: `grunt test:nobuild` will skip the build step when running the tests,
2327
* and only runs the test files themselves through the linter: this can save
2428
* a lot of time when authoring test specs without making any build changes.
@@ -447,6 +451,7 @@ module.exports = function(grunt) {
447451
'open:yui',
448452
'watch:yui'
449453
]);
454+
grunt.registerTask('yui:build', ['requirejs:yuidoc_theme', 'yui']);
450455
grunt.registerTask('default', ['test']);
451456
grunt.registerTask('saucetest', ['connect', 'saucelabs-mocha']);
452457
};

docs/yuidoc-p5-theme-src/scripts/tpl/item.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ <h4>Syntax</h4>
8585
<span class="flag final">constant</span>
8686
<% } %>
8787

88-
<% if (item.static) { %>
89-
<span class="flag static">static</span>
90-
<% } %>
91-
9288
<% if (item.chainable) { %>
9389
<p class="label label-success chainable">chainable</p>
9490
<% } %>

0 commit comments

Comments
 (0)