Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

chore (gruntfile/docs):

* Adds grunt-repos task to pull down a list of assemble repos, which is then used by grunt-readme (and passed to the templates as context)
* Adds grunt-prettify task in lieu of using an assemble plugin for prettifying the generated HTML (and since it was slowing down the build too much)
  • Loading branch information...
commit a98b319806b977838995e308668cf5e5a43fb04c 1 parent dc22567
@jonschlinkert jonschlinkert authored
Showing with 6,224 additions and 3,741 deletions.
  1. +50 −20 Gruntfile.js
  2. +40 −11 README.md
  3. +1 −1  bower.json
  4. +13 −19 docs/README.tmpl.md
  5. +944 −0 docs/plugins.json
  6. +4 −2 package.json
  7. +85 −121 test/actual/assets_base.html
  8. +85 −121 test/actual/assets_blank_path.html
  9. +85 −121 test/actual/assets_dot_slash.html
  10. +85 −121 test/actual/assets_nested.html
  11. +85 −121 test/actual/assets_trailing_slash.html
  12. +200 −138 test/actual/collections/asc/alert.html
  13. +194 −136 test/actual/collections/asc/collections-categories.html
  14. +194 −136 test/actual/collections/asc/collections-tags.html
  15. +200 −138 test/actual/collections/asc/collections.html
  16. +197 −137 test/actual/collections/asc/complex.html
  17. +568 −296 test/actual/collections/asc/context.html
  18. +209 −141 test/actual/collections/asc/debug-helpers.html
  19. +200 −138 test/actual/collections/asc/example.html
  20. +210 −143 test/actual/collections/asc/gist-helper.html
  21. +195 −138 test/actual/collections/asc/md-helper.html
  22. +209 −141 test/actual/collections/asc/no-yfm.html
  23. +200 −138 test/actual/collections/asc/yfm-context.html
  24. +209 −141 test/actual/collections/asc/yfm.html
  25. +200 −138 test/actual/collections/complex/alert.html
  26. +194 −136 test/actual/collections/complex/collections-categories.html
  27. +194 −136 test/actual/collections/complex/collections-tags.html
  28. +200 −138 test/actual/collections/complex/collections.html
  29. +197 −137 test/actual/collections/complex/complex.html
  30. +568 −296 test/actual/collections/complex/context.html
  31. +209 −141 test/actual/collections/complex/debug-helpers.html
Sorry, we could not display the entire diff because it was too big.
View
70 Gruntfile.js
@@ -13,8 +13,6 @@
module.exports = function(grunt) {
- var prettify = require('pretty');
-
// Report elapsed execution time of grunt tasks.
require('time-grunt')(grunt);
@@ -67,7 +65,7 @@ module.exports = function(grunt) {
mochaTest: {
tests: {
options: {
- reporter: 'progress',
+ reporter: 'progress'
},
src: ['test/**/*_test.js']
}
@@ -104,7 +102,6 @@ module.exports = function(grunt) {
// Should flatten nested layouts
nested_layouts: {
options: {
- postprocess: prettify,
partials: 'test/fixtures/partials/*.hbs',
data: 'test/fixtures/data/*.{json,yml}',
layout: 'one.hbs'
@@ -117,8 +114,7 @@ module.exports = function(grunt) {
custom_helpers: {
options: {
helpers: ['test/helpers/*.js'],
- name: '<%= pkg.name %>',
- postprocess: prettify
+ name: '<%= pkg.name %>'
},
files: {
'test/actual/custom_helpers/': ['test/fixtures/helpers/{foo,bar,opt}.hbs']
@@ -127,7 +123,7 @@ module.exports = function(grunt) {
// Should register and use custom plugins, without a stage defined
plugin_untitled: {
options: {
- plugins: ['./test/plugins/untitled.js'],
+ plugins: ['./test/plugins/untitled.js']
},
files: {
'test/actual/plugin_untitled.html': 'test/fixtures/plugins/untitled.hbs'
@@ -174,8 +170,7 @@ module.exports = function(grunt) {
paths: {
options: {
partials: 'test/fixtures/partials/*.hbs',
- data: 'test/fixtures/data/*.{json,yml}',
- postprocess: prettify
+ data: 'test/fixtures/data/*.{json,yml}'
},
files: {
'test/actual/paths/': ['test/fixtures/pages/*.hbs']
@@ -195,7 +190,6 @@ module.exports = function(grunt) {
// Should post-process content using a custom function
postprocess2: {
options: {
- postprocess: prettify
},
files: {
'test/actual/postprocess2.html': ['test/fixtures/pages/postprocess/postprocess2.hbs']
@@ -210,8 +204,7 @@ module.exports = function(grunt) {
// Should process and add complex YAML front matter to context
yfm: {
options: {
- data: 'test/fixtures/data/*.{json,yml}',
- postprocess: prettify
+ data: 'test/fixtures/data/*.{json,yml}'
},
files: {
'test/actual/yfm/': ['test/fixtures/pages/yfm/*.hbs']
@@ -268,7 +261,6 @@ module.exports = function(grunt) {
// Should add collections to context, sorted in descending order.
collections_desc: {
options: {
- postprocess: prettify,
collections: [
{name: 'pages', inflection: 'page', sortorder: 'DESC'},
{name: 'tags', inflection: 'tag', sortorder: 'DESC'},
@@ -282,7 +274,6 @@ module.exports = function(grunt) {
// Should add collections to context, sorted in ascending order.
collections_asc: {
options: {
- postprocess: prettify,
collections: [
{name: 'pages', inflection: 'page', sortorder: 'ASC'},
{name: 'tags', inflection: 'tag', sortorder: 'ASC'},
@@ -296,7 +287,6 @@ module.exports = function(grunt) {
// Should
collections_custom: {
options: {
- postprocess: prettify,
collections: [
{name: 'items', inflection: 'item', sortorder: 'DESC'}
]
@@ -308,7 +298,6 @@ module.exports = function(grunt) {
// Should add complex collections and related pages to context
collections_complex: {
options: {
- postprocess: prettify,
data: ['test/fixtures/data/collections/*.json']
},
files: {
@@ -364,6 +353,42 @@ module.exports = function(grunt) {
/**
+ * Beautify generated HTML to make diffs easier
+ */
+ prettify: {
+ tests: {
+ files: [
+ {expand: true, cwd: 'test/actual', src: ['**/*.html'], dest: 'test/actual/', ext: '.html'}
+ ]
+ }
+ },
+
+ /**
+ * Pull down a list of repos from Github, for the docs
+ */
+ repos: {
+ plugins: {
+ options: {
+ username: 'assemble',
+ include: ['contrib'], exclude: ['grunt', 'example', 'rss']
+ },
+ files: {
+ 'docs/plugins.json': ['repos?page=1&per_page=100']
+ }
+ }
+ },
+
+ /**
+ * Build the README using metadata from the repos task.
+ */
+ readme: {
+ options: {
+ metadata: ['docs/plugins.json']
+ }
+ },
+
+
+ /**
* Before generating any new files,
* remove files from the previous build
*/
@@ -394,19 +419,24 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-mocha-test');
+ grunt.loadNpmTasks('grunt-prettify');
grunt.loadNpmTasks('grunt-readme');
- grunt.loadNpmTasks('grunt-sync-pkg');
grunt.loadNpmTasks('grunt-release');
+ grunt.loadNpmTasks('grunt-repos');
+ grunt.loadNpmTasks('grunt-sync-pkg');
// Load this plugin.
grunt.loadTasks('tasks');
// Build
- grunt.registerTask('docs', ['readme', 'sync']);
+ grunt.registerTask('docs', ['repos', 'readme', 'sync']);
// Tests to be run.
grunt.registerTask('test', ['assemble', 'mochaTest']);
+ // Run default task, then release
+ grunt.registerTask('bump', ['default', 'release']);
+
// Default task.
- grunt.registerTask('default', ['jshint', 'clean', 'test', 'docs']);
-};
+ grunt.registerTask('default', ['jshint', 'clean', 'test', 'prettify', 'docs']);
+};
View
51 README.md
@@ -16,8 +16,9 @@
![image](https://f.cloud.github.com/assets/383994/1463257/f031bcfe-4525-11e3-9a03-89a17eee7518.png)
+## The "assemble" task
-## Getting Started
+### Getting Started
Assemble requires Grunt `~0.4.1`
_If you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide._
@@ -63,7 +64,7 @@ assemble: {
-## Options
+### Options
See the documentation for [Options](http://assemble.io/docs/Options.html) for more information.
### [assets](http://assemble.io/docs/options-assets.html)
@@ -206,7 +207,7 @@ Visit [Assemble's documentation](http://assemble.io) for more information about
-## Usage Examples
+### Usage Examples
Simple example of using data files in both `.json` and `.yml` format to build Handlebars templates.
```javascript
@@ -260,19 +261,42 @@ Visit [Assemble's documentation](http://assemble.io) for many more examples and
## Contributing
-Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project.
+Find a bug? Have a feature request? Please [create an Issue](git://github.com/assemble/assemble/issues).
+
+In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt][], and build the documentation with [grunt-readme](https://github.com/assemble/grunt-readme).
+
+Pull requests are also encouraged, and if you find this project useful please consider "starring" it to show your support! Thanks!
+
+
+## Assemble plugins
+Here are some related projects you might be interested in from the [Assemble](http://assemble.io) core team.
+
++ [assemble-contrib-anchors](https://github.com/assemble/assemble-contrib-anchors): Assemble plugin for creating anchor tags from generated html.
++ [assemble-contrib-contextual](https://github.com/assemble/assemble-contrib-contextual): Generates a JSON file containing the context of each page. Basic plugin to help see what's happening in the build.
++ [assemble-contrib-decompress](https://github.com/assemble/assemble-contrib-decompress): Assemble plugin for extracting zip, tar and tar.gz archives.
++ [assemble-contrib-download](https://github.com/assemble/assemble-contrib-download): Assemble plugin for downloading files from GitHub.
++ [assemble-contrib-lunr](https://github.com/assemble/assemble-contrib-lunr): Assemble plugin for creating a search engine within your static site using lunr.js.
++ [assemble-contrib-markdown](https://github.com/assemble/assemble-contrib-markdown): Convert markdown files to HTML using marked.js. This plugin is an alternative to Assemble's markdown Handlebars helpers. Both are useful in different scenarios.
++ [assemble-contrib-permalinks](https://github.com/assemble/assemble-contrib-permalinks): Permalinks plugin for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables powerful and configurable URI replacement patterns, presets, uses Moment.js for parsing dates, and much more.
++ [assemble-contrib-sitemap](https://github.com/assemble/assemble-contrib-sitemap): Sitemap generator plugin for Assemble
++ [assemble-contrib-toc](https://github.com/assemble/assemble-contrib-toc): Create a table of contents in the generated HTML, using Cheerio.js
++ [assemble-contrib-wordcount](https://github.com/assemble/assemble-contrib-wordcount): Assemble plugin for displaying a word-count on blog posts or pages.
+
+Visit [assemble.io/plugins](http:/assemble.io/plugins/) for more information about [Assemble](http:/assemble.io/) plugins.
+
+
## Authors
**Jon Schlinkert**
-+ [twitter.com/jonschlinkert](http://twitter.com/jonschlinkert)
-+ [github.com/jonschlinkert](http://github.com/jonschlinkert)
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
**Brian Woodward**
-+ [twitter.com/doowb](http://twitter.com/doowb)
-+ [github.com/doowb](http://github.com/doowb)
++ [github/doowb](https://github.com/doowb)
++ [twitter/doowb](http://twitter.com/jonschlinkert)
## Release History
@@ -312,9 +336,14 @@ Please see the [Contributing to Assemble](http://assemble.io/contributing) guide
## License
-Copyright (c) 2013 Sellside Inc.
-Released under the [MIT License](./LICENSE-MIT).
+Copyright (c) 2013 Assemble, contributors.
+Released under the MIT license
***
-_This file was generated on Tuesday, November 26, 2013._
+_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on Saturday, November 30, 2013._
+
+[grunt]: http://gruntjs.com/
+[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md
+[package.json]: https://npmjs.org/doc/json.html
+
View
2  bower.json
@@ -1,6 +1,6 @@
{
"name": "assemble",
- "version": "0.4.28",
+ "version": "0.4.29",
"main": [
"./lib/assemble"
]
View
32 docs/README.tmpl.md
@@ -16,39 +16,33 @@
![image](https://f.cloud.github.com/assets/383994/1463257/f031bcfe-4525-11e3-9a03-89a17eee7518.png)
+## The "assemble" task
-## Getting Started
+### Getting Started
{%= _.doc("getting-started.md") %}
-## Options
+### Options
{%= _.doc("options.md") %}
-## Usage Examples
+### Usage Examples
{%= _.doc("examples.md") %}
## Contributing
-Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project.
+{%= _.contrib("contributing.md") %}
-## Authors
-
-**Jon Schlinkert**
-
-+ [twitter.com/jonschlinkert](http://twitter.com/jonschlinkert)
-+ [github.com/jonschlinkert](http://github.com/jonschlinkert)
-
-**Brian Woodward**
-
-+ [twitter.com/doowb](http://twitter.com/doowb)
-+ [github.com/doowb](http://github.com/doowb)
+## Assemble plugins
+{%= _.include("related-repos-list.md") %}
+## Authors
+{%= _.contrib("authors.md") %}
## Release History
-{%= _.include("docs-changelog.md") %}
+{%= _.include("release-history.md") %}
## License
-Copyright (c) {%= grunt.template.today('yyyy') %} Sellside Inc.
-Released under the [MIT License](./LICENSE-MIT).
+{%= copyright %}
+{%= license %}
***
-_This file was generated on {%= grunt.template.date("fullDate") %}._
+{%= _.include("footer.md") %}
View
944 docs/plugins.json
@@ -0,0 +1,944 @@
+{
+ "repos": [
+ {
+ "id": 14260127,
+ "name": "assemble-contrib-anchors",
+ "full_name": "assemble/assemble-contrib-anchors",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-anchors",
+ "description": "Assemble plugin for creating anchor tags from generated html.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-anchors",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/releases{/id}",
+ "created_at": "2013-11-09T16:13:03Z",
+ "updated_at": "2013-11-28T19:11:15Z",
+ "pushed_at": "2013-11-28T19:11:13Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-anchors.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-anchors.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-anchors.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-anchors",
+ "homepage": "http://assemble.github.io/example-assemble-anchors/components.html#glyphicons",
+ "size": 125,
+ "stargazers_count": 3,
+ "watchers_count": 3,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 2,
+ "mirror_url": null,
+ "open_issues_count": 1,
+ "forks": 2,
+ "open_issues": 1,
+ "watchers": 3,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-anchors",
+ "download": "https://github.com/assemble/assemble-contrib-anchors/archive/master.zip"
+ },
+ {
+ "id": 13564327,
+ "name": "assemble-contrib-contextual",
+ "full_name": "assemble/assemble-contrib-contextual",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-contextual",
+ "description": "Generates a JSON file containing the context of each page. Basic plugin to help see what's happening in the build.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-contextual",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/releases{/id}",
+ "created_at": "2013-10-14T14:58:28Z",
+ "updated_at": "2013-11-28T19:37:35Z",
+ "pushed_at": "2013-11-28T19:37:34Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-contextual.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-contextual.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-contextual.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-contextual",
+ "homepage": null,
+ "size": 123,
+ "stargazers_count": 2,
+ "watchers_count": 2,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 1,
+ "forks": 0,
+ "open_issues": 1,
+ "watchers": 2,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-contextual",
+ "download": "https://github.com/assemble/assemble-contrib-contextual/archive/master.zip"
+ },
+ {
+ "id": 14783295,
+ "name": "assemble-contrib-decompress",
+ "full_name": "assemble/assemble-contrib-decompress",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-decompress",
+ "description": "Assemble plugin for extracting zip, tar and tar.gz archives. ",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-decompress",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/releases{/id}",
+ "created_at": "2013-11-28T17:49:30Z",
+ "updated_at": "2013-11-29T06:55:56Z",
+ "pushed_at": "2013-11-28T19:05:14Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-decompress.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-decompress.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-decompress.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-decompress",
+ "homepage": null,
+ "size": 112,
+ "stargazers_count": 2,
+ "watchers_count": 2,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 0,
+ "forks": 0,
+ "open_issues": 0,
+ "watchers": 2,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-decompress",
+ "download": "https://github.com/assemble/assemble-contrib-decompress/archive/master.zip"
+ },
+ {
+ "id": 14784381,
+ "name": "assemble-contrib-download",
+ "full_name": "assemble/assemble-contrib-download",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-download",
+ "description": "Assemble plugin for downloading files from GitHub.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-download",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-download/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-download/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-download/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-download/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-download/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-download/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-download/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-download/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-download/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-download/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-download/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-download/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-download/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-download/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-download/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-download/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-download/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-download/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-download/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-download/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-download/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-download/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-download/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-download/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-download/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-download/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-download/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-download/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-download/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-download/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-download/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-download/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-download/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-download/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-download/releases{/id}",
+ "created_at": "2013-11-28T18:54:29Z",
+ "updated_at": "2013-11-29T06:55:52Z",
+ "pushed_at": "2013-11-28T19:05:34Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-download.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-download.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-download.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-download",
+ "homepage": null,
+ "size": 84,
+ "stargazers_count": 2,
+ "watchers_count": 2,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 0,
+ "forks": 0,
+ "open_issues": 0,
+ "watchers": 2,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-download",
+ "download": "https://github.com/assemble/assemble-contrib-download/archive/master.zip"
+ },
+ {
+ "id": 14482625,
+ "name": "assemble-contrib-lunr",
+ "full_name": "assemble/assemble-contrib-lunr",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-lunr",
+ "description": "Assemble plugin for creating a search engine within your static site using lunr.js.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-lunr",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-lunr/releases{/id}",
+ "created_at": "2013-11-18T04:25:33Z",
+ "updated_at": "2013-11-21T21:48:47Z",
+ "pushed_at": "2013-11-21T21:48:47Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-lunr.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-lunr.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-lunr.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-lunr",
+ "homepage": "http://assemble.github.io/example-assemble-lunr/",
+ "size": 100,
+ "stargazers_count": 3,
+ "watchers_count": 3,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "open_issues_count": 1,
+ "forks": 1,
+ "open_issues": 1,
+ "watchers": 3,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-lunr",
+ "download": "https://github.com/assemble/assemble-contrib-lunr/archive/master.zip"
+ },
+ {
+ "id": 14438639,
+ "name": "assemble-contrib-markdown",
+ "full_name": "assemble/assemble-contrib-markdown",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-markdown",
+ "description": "Convert markdown files to HTML using marked.js. This plugin is an alternative to Assemble's markdown Handlebars helpers. Both are useful in different scenarios.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-markdown",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-markdown/releases{/id}",
+ "created_at": "2013-11-16T00:22:56Z",
+ "updated_at": "2013-11-16T00:51:34Z",
+ "pushed_at": "2013-11-16T00:51:33Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-markdown.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-markdown.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-markdown.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-markdown",
+ "homepage": null,
+ "size": 84,
+ "stargazers_count": 1,
+ "watchers_count": 1,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 0,
+ "forks": 0,
+ "open_issues": 0,
+ "watchers": 1,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-markdown",
+ "download": "https://github.com/assemble/assemble-contrib-markdown/archive/master.zip"
+ },
+ {
+ "id": 13308551,
+ "name": "assemble-contrib-permalinks",
+ "full_name": "assemble/assemble-contrib-permalinks",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-permalinks",
+ "description": "Permalinks plugin for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables powerful and configurable URI replacement patterns, presets, uses Moment.js for parsing dates, and much more.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-permalinks",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-permalinks/releases{/id}",
+ "created_at": "2013-10-03T20:10:32Z",
+ "updated_at": "2013-11-28T20:00:47Z",
+ "pushed_at": "2013-11-28T20:00:45Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-permalinks.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-permalinks.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-permalinks.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-permalinks",
+ "homepage": "",
+ "size": 693,
+ "stargazers_count": 13,
+ "watchers_count": 13,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 5,
+ "mirror_url": null,
+ "open_issues_count": 5,
+ "forks": 5,
+ "open_issues": 5,
+ "watchers": 13,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-permalinks",
+ "download": "https://github.com/assemble/assemble-contrib-permalinks/archive/master.zip"
+ },
+ {
+ "id": 13264451,
+ "name": "assemble-contrib-sitemap",
+ "full_name": "assemble/assemble-contrib-sitemap",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-sitemap",
+ "description": "Sitemap generator plugin for Assemble",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-sitemap",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/releases{/id}",
+ "created_at": "2013-10-02T06:48:32Z",
+ "updated_at": "2013-11-29T01:56:45Z",
+ "pushed_at": "2013-11-29T01:56:45Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-sitemap.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-sitemap.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-sitemap.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-sitemap",
+ "homepage": null,
+ "size": 167,
+ "stargazers_count": 2,
+ "watchers_count": 2,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "open_issues_count": 1,
+ "forks": 1,
+ "open_issues": 1,
+ "watchers": 2,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-sitemap",
+ "download": "https://github.com/assemble/assemble-contrib-sitemap/archive/master.zip"
+ },
+ {
+ "id": 14290300,
+ "name": "assemble-contrib-toc",
+ "full_name": "assemble/assemble-contrib-toc",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-toc",
+ "description": "Create a table of contents in the generated HTML, using Cheerio.js",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-toc",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-toc/releases{/id}",
+ "created_at": "2013-11-11T03:11:58Z",
+ "updated_at": "2013-11-18T00:11:44Z",
+ "pushed_at": "2013-11-11T08:28:39Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-toc.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-toc.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-toc.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-toc",
+ "homepage": "http://assemble.github.io/example-assemble-toc/components.html#table-of-contents",
+ "size": 110,
+ "stargazers_count": 3,
+ "watchers_count": 3,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 3,
+ "mirror_url": null,
+ "open_issues_count": 1,
+ "forks": 3,
+ "open_issues": 1,
+ "watchers": 3,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-toc",
+ "download": "https://github.com/assemble/assemble-contrib-toc/archive/master.zip"
+ },
+ {
+ "id": 14482553,
+ "name": "assemble-contrib-wordcount",
+ "full_name": "assemble/assemble-contrib-wordcount",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://1.gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-wordcount",
+ "description": "Assemble plugin for displaying a word-count on blog posts or pages.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-wordcount",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-wordcount/releases{/id}",
+ "created_at": "2013-11-18T04:20:49Z",
+ "updated_at": "2013-11-21T08:40:25Z",
+ "pushed_at": "2013-11-18T04:32:13Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-wordcount.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-wordcount.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-wordcount.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-wordcount",
+ "homepage": null,
+ "size": 84,
+ "stargazers_count": 1,
+ "watchers_count": 1,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 0,
+ "forks": 0,
+ "open_issues": 0,
+ "watchers": 1,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-wordcount",
+ "download": "https://github.com/assemble/assemble-contrib-wordcount/archive/master.zip"
+ }
+ ]
+}
View
6 package.json
@@ -53,10 +53,12 @@
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-jshint": "~0.7.1",
"grunt-mocha-test": "~0.7.0",
- "grunt-readme": "~0.2.3",
+ "grunt-prettify": "~0.3.1",
+ "grunt-readme": "~0.4.0",
+ "grunt-release": "0.6.0",
+ "grunt-repos": "~0.1.2",
"grunt-sync-pkg": "~0.1.1",
"handlebars-helper-eachitems": "~0.1.2",
- "grunt-release": "0.6.0",
"pretty": "~0.1.1",
"time-grunt": "~0.1.2"
},
View
206 test/actual/assets_base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
- <html lang="en">
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout filename: ''</title>
@@ -8,7 +8,6 @@
</head>
<body style="padding-top: 60px;">
<div class="container">
-
<!-- validate assets path -->
<section id="validate"></section>
<div class="docs-section">
@@ -17,84 +16,55 @@
</div>
<hr>
</div>
-
<ul class="pager">
-
-
- <li class="previous disabled">
- <a unselectable="on" class="unselectable">First</a>
- </li>
- <li class="previous disabled">
- <a unselectable="on" class="unselectable">&larr; Previous</a>
- </li>
-
-
-
-
-
- <li class="active pager-middle">
- <a href="assets_base.html">1</a>
- </li>
-
-
-
-
-
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Last</a>
- </li>
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Next &rarr;</a>
- </li>
-
-
-</ul><style>
-.unselectable {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -moz-user-select: none;
+ <li class="previous disabled">
+ <a unselectable="on" class="unselectable">First</a>
+ </li>
+ <li class="previous disabled">
+ <a unselectable="on" class="unselectable">&larr; Previous</a>
+ </li>
+ <li class="active pager-middle">
+ <a href="assets_base.html">1</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Last</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Next &rarr;</a>
+ </li>
+ </ul>
+ <style>
+ .unselectable {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
-ms-user-select: none;
- user-select: none;
-}
-</style>
+ user-select: none;
+ }
+ </style>
<hr>
-
<div class="row">
<!-- Column: sidebar -->
<div class="col-md-3">
<div class="bs-sidebar hidden-print" role="complementary">
<!-- pagination -->
<ul class="nav nav-pills nav-stacked">
-
-
- <li class="prev disabled">
- <a unselectable="on" class="unselectable">First</a>
- </li>
- <li class="prev disabled">
- <a unselectable="on" class="unselectable">&larr; Previous</a>
- </li>
-
-
-
-
-
- <li class="active">
- <a href="assets_base.html">1</a>
- </li>
-
-
-
-
-
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Next &rarr;</a>
- </li>
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Last</a>
- </li>
-
-
-</ul>
+ <li class="prev disabled">
+ <a unselectable="on" class="unselectable">First</a>
+ </li>
+ <li class="prev disabled">
+ <a unselectable="on" class="unselectable">&larr; Previous</a>
+ </li>
+ <li class="active">
+ <a href="assets_base.html">1</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Next &rarr;</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Last</a>
+ </li>
+ </ul>
</div>
</div>
<!-- Column: content -->
@@ -108,57 +78,33 @@
<h4><strong>Dest basename:</strong> assets</h4>
<h4><strong>Page title:</strong> (no title defined)</h4>
</div>
-
<hr>
<div class="row">
<div class="col-md-6">
<!-- Categories Collection -->
-
</div>
<div class="col-md-6">
-
</div>
</div>
-
<hr>
-
<p>Examples to test the "relative" and "assets" variables, and to show how they work</p>
-
-
-
-
-
-<h1>Same Folder</h1>
-<p>Assets folder is in the same dir as dest files.</p>
-<pre>
+ <h1>Same Folder</h1>
+ <p>Assets folder is in the same dir as dest files.</p>
+ <pre>
assets_base: {
options: {assets: 'test/actual'},
files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}
},
</pre>
-
-
-
-
-
-
-
-
-
-
-
<div class="docs-header" id="content">
<h1>Content</h1>
</div>
<ul>
-
- <li><a href="assets_base.html">assets_base.html</a></li>
-
+ <li><a href="assets_base.html">assets_base.html</a>
+ </li>
</ul>
-
<hr>
<div style="display: none">
-
<h1>Page</h1>
<!--
"this"
@@ -171,7 +117,6 @@
this.pagename: assets_base.html
this.basename: assets
this.ext: .html
-
"page"
===============================
page.src: test/fixtures/assets_path/assets.hbs
@@ -182,7 +127,6 @@
page.pagename: assets_base.html
page.basename: assets
page.ext: .html
-
"root"
===============================
src:
@@ -196,8 +140,9 @@
-->
<h1>Each pages</h1>
<ul>
- <li><a href="assets_base.html">assets</a></li>
- <!--
+ <li><a href="assets_base.html">assets</a>
+ </li>
+ <!--
"this"
===============================
this.src: test/fixtures/assets_path/assets.hbs
@@ -207,7 +152,6 @@
this.pagename: assets_base.html
this.basename: assets
this.ext: .html
-
"page"
===============================
page.src: test/fixtures/assets_path/assets.hbs
@@ -217,7 +161,6 @@
page.pagename: assets_base.html
page.basename: assets
page.ext: .html
-
"root"
===============================
src: test/fixtures/assets_path/assets.hbs
@@ -228,9 +171,7 @@
basename: assets
ext: .html
-->
-
</ul>
-
<h1>Debug Info</h1>
<pre><code class="json">
{
@@ -260,17 +201,40 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n options: {assets: 'test/actual/public'},\n files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n<h1>Same Folder</h1>\n<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n<h1>Project Root</h1>\n<p>Assets folder is in the project root, which is not the same dir as dest files.</p>\n<pre>\nassets_trailing_slash: {\n options: {assets: ''},\n files: {'test/actual/assets_trailing_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_trailing_slash}}\n\n\n{{#assets_dot_slash}}\n<h1>Project Root With Slash</h1>\n<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n<h1>Same Folder With Slash</h1>\n<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n <div class=\"docs-header\" id=\"content\">\n <h1>Content</h1>\n </div>\n <ul>\n {{#each pages}}\n <li><a href=\"{{relative ../page.dest dest}}\">{{filename}}</a></li>\n {{/each}}\n </ul>\n\n <hr>\n <div style=\"display: none\">\n\n <h1>Page</h1>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n <h1>Each pages</h1>\n <ul>\n {{#each pages}}<li><a href=\"{{relative ../page.dest dest}}\">{{basename}}</a></li>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n </ul>\n\n <h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <script src=\"{{assets}}/validation.js\"></script>\n </body>\n</html>\n",
- "pageName": "assets_base.html",
- "pagename": "assets_base.html",
- "src": "test/fixtures/assets_path/assets.hbs"
-}
-</code></pre>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="../assets/validation.js"></script>
- </body>
+ "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n options: {assets: 'test/actual/public'},\n files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n
+ <h1>Same Folder</h1>\n
+ <p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n
+ <h1>Project Root</h1>\n
+ <p>Assets folder is in the project root, which is not the same dir as dest files.</p>\n<pre>\nassets_trailing_slash: {\n options: {assets: ''},\n files: {'test/actual/assets_trailing_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_trailing_slash}}\n\n\n{{#assets_dot_slash}}\n
+ <h1>Project Root With Slash</h1>\n
+ <p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n
+ <h1>Same Folder With Slash</h1>\n
+ <p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n
+ <div class=\
+ "docs-header\" id=\ "content\">\n
+ <h1>Content</h1>\n</div>\n
+ <ul>\n {{#each pages}}\n
+ <li><a href=\ "{{relative ../page.dest dest}}\">{{filename}}</a>
+ </li>\n {{/each}}\n</ul>\n\n
+ <hr>\n
+ <div style=\ "display: none\">\n\n
+ <h1>Page</h1>\n
+ <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n
+ <h1>Each pages</h1>\n
+ <ul>\n {{#each pages}}
+ <li><a href=\ "{{relative ../page.dest dest}}\">{{basename}}</a>
+ </li>\n
+ <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n</ul>\n\n
+ <h1>Debug Info</h1>\n {{{inspect page 'json'}}}\n</div>\n</div>\n</div>\n</div>\n</div>\n
+ <script src=\ "{{assets}}/validation.js\"></script>\n</body>\n
+</html>\n", "pageName": "assets_base.html", "pagename": "assets_base.html", "src": "test/fixtures/assets_path/assets.hbs" }
+</code>
+</pre>
+</div>
+</div>
+</div>
+</div>
+</div>
+<script src="../assets/validation.js"></script>
+</body>
</html>
View
206 test/actual/assets_blank_path.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
- <html lang="en">
+<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout filename: ''</title>
@@ -8,7 +8,6 @@
</head>
<body style="padding-top: 60px;">
<div class="container">
-
<!-- validate assets path -->
<section id="validate"></section>
<div class="docs-section">
@@ -17,84 +16,55 @@
</div>
<hr>
</div>
-
<ul class="pager">
-
-
- <li class="previous disabled">
- <a unselectable="on" class="unselectable">First</a>
- </li>
- <li class="previous disabled">
- <a unselectable="on" class="unselectable">&larr; Previous</a>
- </li>
-
-
-
-
-
- <li class="active pager-middle">
- <a href="assets_blank_path.html">1</a>
- </li>
-
-
-
-
-
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Last</a>
- </li>
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Next &rarr;</a>
- </li>
-
-
-</ul><style>
-.unselectable {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -moz-user-select: none;
+ <li class="previous disabled">
+ <a unselectable="on" class="unselectable">First</a>
+ </li>
+ <li class="previous disabled">
+ <a unselectable="on" class="unselectable">&larr; Previous</a>
+ </li>
+ <li class="active pager-middle">
+ <a href="assets_blank_path.html">1</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Last</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Next &rarr;</a>
+ </li>
+ </ul>
+ <style>
+ .unselectable {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
-ms-user-select: none;
- user-select: none;
-}
-</style>
+ user-select: none;
+ }
+ </style>
<hr>
-
<div class="row">
<!-- Column: sidebar -->
<div class="col-md-3">
<div class="bs-sidebar hidden-print" role="complementary">
<!-- pagination -->
<ul class="nav nav-pills nav-stacked">
-
-
- <li class="prev disabled">
- <a unselectable="on" class="unselectable">First</a>
- </li>
- <li class="prev disabled">
- <a unselectable="on" class="unselectable">&larr; Previous</a>
- </li>
-
-
-
-
-
- <li class="active">
- <a href="assets_blank_path.html">1</a>
- </li>
-
-
-
-
-
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Next &rarr;</a>
- </li>
- <li class="next disabled">
- <a unselectable="on" class="unselectable">Last</a>
- </li>
-
-
-</ul>
+ <li class="prev disabled">
+ <a unselectable="on" class="unselectable">First</a>
+ </li>
+ <li class="prev disabled">
+ <a unselectable="on" class="unselectable">&larr; Previous</a>
+ </li>
+ <li class="active">
+ <a href="assets_blank_path.html">1</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Next &rarr;</a>
+ </li>
+ <li class="next disabled">
+ <a unselectable="on" class="unselectable">Last</a>
+ </li>
+ </ul>
</div>
</div>
<!-- Column: content -->
@@ -108,57 +78,33 @@
<h4><strong>Dest basename:</strong> assets</h4>
<h4><strong>Page title:</strong> (no title defined)</h4>
</div>
-
<hr>
<div class="row">
<div class="col-md-6">
<!-- Categories Collection -->
-
</div>
<div class="col-md-6">
-
</div>
</div>
-
<hr>
-
<p>Examples to test the "relative" and "assets" variables, and to show how they work</p>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<h1>Same Folder With Slash</h1>
-<p>Assets folder is in the same dir as dest files</p>
-<pre>
+ <h1>Same Folder With Slash</h1>
+ <p>Assets folder is in the same dir as dest files</p>
+ <pre>
assets_blank_path: {
options: {assets: 'test/actual'},
files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}
}
</pre>
-
-
<div class="docs-header" id="content">
<h1>Content</h1>
</div>
<ul>
-
- <li><a href="assets_blank_path.html">assets_blank_path.html</a></li>
-
+ <li><a href="assets_blank_path.html">assets_blank_path.html</a>
+ </li>
</ul>
-
<hr>
<div style="display: none">
-
<h1>Page</h1>
<!--
"this"
@@ -171,7 +117,6 @@
this.pagename: assets_blank_path.html
this.basename: assets
this.ext: .html
-
"page"
===============================
page.src: test/fixtures/assets_path/assets.hbs
@@ -182,7 +127,6 @@
page.pagename: assets_blank_path.html
page.basename: assets
page.ext: .html
-
"root"
===============================
src:
@@ -196,8 +140,9 @@
-->
<h1>Each pages</h1>
<ul>
- <li><a href="assets_blank_path.html">assets</a></li>
- <!--
+ <li><a href="assets_blank_path.html">assets</a>
+ </li>
+ <!--
"this"
===============================
this.src: test/fixtures/assets_path/assets.hbs
@@ -207,7 +152,6 @@
this.pagename: assets_blank_path.html
this.basename: assets
this.ext: .html
-
"page"
===============================
page.src: test/fixtures/assets_path/assets.hbs
@@ -217,7 +161,6 @@
page.pagename: assets_blank_path.html
page.basename: assets
page.ext: .html
-
"root"
===============================
src: test/fixtures/assets_path/assets.hbs
@@ -228,9 +171,7 @@
basename: assets
ext: .html
-->
-
</ul>
-
<h1>Debug Info</h1>
<pre><code class="json">
{
@@ -260,17 +201,40 @@
"last": true,
"middle": false,
"number": 1,
- "page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4><strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n <p>Examples to test the \"relative\" and \"assets\" variables, and to show how they work</p>\n\n{{#assets_nested}}\n<h1>\"Public\" Folder</h1>\n<p>Public (assets) folder is in the project root</p>\n<pre>\noriginalAssets: {{originalAssets}}\nassets: {{assets}}\ndest: {{dest}}\nsrc: {{src}}\nassets_nested: {\n options: {assets: 'test/actual/public'},\n files: {'test/actual/assets_nested.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_nested}}\n\n\n{{#assets_base}}\n<h1>Same Folder</h1>\n<p>Assets folder is in the same dir as dest files.</p>\n<pre>\nassets_base: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_base.html': ['test/files/assets.hbs']}\n},\n</pre>\n{{/assets_base}}\n\n\n{{#assets_trailing_slash}}\n<h1>Project Root</h1>\n<p>Assets folder is in the project root, which is not the same dir as dest files.</p>\n<pre>\nassets_trailing_slash: {\n options: {assets: ''},\n files: {'test/actual/assets_trailing_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_trailing_slash}}\n\n\n{{#assets_dot_slash}}\n<h1>Project Root With Slash</h1>\n<p>Assets folder is in the project rool, which is not the same dir as the dest files.</p>\n<pre>\nassets_dot_slash: {\n options: {assets: './'},\n files: {'test/actual/assets_dot_slash.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_dot_slash}}\n\n\n{{#assets_blank_path}}\n<h1>Same Folder With Slash</h1>\n<p>Assets folder is in the same dir as dest files</p>\n<pre>\nassets_blank_path: {\n options: {assets: 'test/actual'},\n files: {'test/actual/assets_blank_path.html': ['test/files/assets.hbs']}\n}\n</pre>\n{{/assets_blank_path}}\n\n <div class=\"docs-header\" id=\"content\">\n <h1>Content</h1>\n </div>\n <ul>\n {{#each pages}}\n <li><a href=\"{{relative ../page.dest dest}}\">{{filename}}</a></li>\n {{/each}}\n </ul>\n\n <hr>\n <div style=\"display: none\">\n\n <h1>Page</h1>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n <h1>Each pages</h1>\n <ul>\n {{#each pages}}<li><a href=\"{{relative ../page.dest dest}}\">{{basename}}</a></li>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.b