summaryrefslogtreecommitdiffstats
path: root/lib/json
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-05-08 22:28:15 +0200
committerSamy Pessé <samypesse@gmail.com>2016-05-08 22:28:15 +0200
commit13bc89ff4490abb9ea6ea6bd98bf86a9ad08325b (patch)
tree826940362c4b17047cae6790e8f72dae90b026f3 /lib/json
parente576fdea1405f53a83f4225abb3e2a29cafe8f4a (diff)
parentbb910f984edd8080e5fe1d1b34a7dfec7ac9d785 (diff)
downloadgitbook-13bc89ff4490abb9ea6ea6bd98bf86a9ad08325b.zip
gitbook-13bc89ff4490abb9ea6ea6bd98bf86a9ad08325b.tar.gz
gitbook-13bc89ff4490abb9ea6ea6bd98bf86a9ad08325b.tar.bz2
Merge pull request #1285 from GitbookIO/api/summary
[WIP] Api for plugins to access summary
Diffstat (limited to 'lib/json')
-rw-r--r--lib/json/encodeSummaryArticle.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/json/encodeSummaryArticle.js b/lib/json/encodeSummaryArticle.js
index 987e44a..2fc5144 100644
--- a/lib/json/encodeSummaryArticle.js
+++ b/lib/json/encodeSummaryArticle.js
@@ -20,6 +20,7 @@ function encodeSummaryArticle(article, recursive) {
anchor: article.getAnchor(),
url: article.getUrl(),
path: article.getPath(),
+ ref: article.getRef(),
articles: articles
};
}