Generate crossref stub

This commit is contained in:
Shan Carter
2017-01-09 15:39:36 -08:00
parent 4ca4c92c13
commit 5e44237783
3 changed files with 7 additions and 46 deletions
+3
View File
@@ -0,0 +1,3 @@
export default function(data) {
return "crossref";
}
+4
View File
@@ -11,6 +11,8 @@ import citation from "./components/citation";
import markdown from "./components/markdown";
import code from "./components/code";
import generateCrossref from "./components/generate-crossref";
function render(dom, data) {
data = data || {};
html(dom);
@@ -48,3 +50,5 @@ export {footer as footer};
export {citation as citation};
export {markdown as markdown};
export {code as code};
export {generateCrossref as generateCrossref};
-46
View File
@@ -1,46 +0,0 @@
export default {
"title": "Experiments in Handwriting with a Neural Network",
"description": "Several interactive visualizations of a generative model of handwriting. Some are fun, some are serious.",
"url": "http://distill.pub/2016/handwriting/",
"github": "https://github.com/distillpub/post--handwriting",
"firstPublished": "Tue Dec 6 2016 21:39:33 GMT-0700 (PDT)",
"lastPublished": "Tue Dec 6 2016 21:39:33 GMT-0700 (PDT)",
"authors": [
{
"firstName": "Shan",
"lastName": "Carter",
"personalURL": "http://shancarter.com",
"affiliation": "Google Brain",
"affiliationURL": "http://g.co/brain"
},
{
"firstName": "David",
"lastName": "Ha",
"personalURL": "https://github.com/hardmaru",
"affiliation": "Google Brain",
"affiliationURL": "http://g.co/brain"
},
{
"firstName": "Ian",
"lastName": "Johnson",
"personalURL": "https://github.com/enjalot",
"affiliation": "Google Cloud",
"affiliationURL": ""
},
{
"firstName": "Chris",
"lastName": "Olah",
"personalURL": "http://colah.github.io/",
"affiliation": "Google Brain",
"affiliationURL": "http://g.co/brain"
}
],
journal: {
"title": "Distill",
"full_title": "Distill",
"abbrev_title": "Distill",
"url": "http://distill.pub",
"doi": "00.0000/dstl",
"issn": "0000-0000"
}
};