summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/lib/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-html/lib/page.js')
-rwxr-xr-xpackages/gitbook-html/lib/page.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/gitbook-html/lib/page.js b/packages/gitbook-html/lib/page.js
index ae8923e..56d8984 100755
--- a/packages/gitbook-html/lib/page.js
+++ b/packages/gitbook-html/lib/page.js
@@ -1,7 +1,12 @@
var Q = require('q');
var _ = require('lodash');
-// HTML -> Page
+/**
+ Parse content of a page
+
+ @param {String} html
+ @return {Object}
+*/
function parsePage(html) {
return {
content: html