From 058b63e7a7f3a1fe1342475ee3d1d09b68014d8f Mon Sep 17 00:00:00 2001 From: Jim Bumgardner Date: Tue, 9 Jan 2024 10:57:07 -0800 Subject: [PATCH] Cleanup and styling for papers. --- .eleventy.js | 58 ---- ...ecasting-community-water-system-outages.md | 4 +- docs/pages/how-to-use.md | 2 +- docs/site/_data/readability.json | 253 +++++++++--------- docs/src/assets/img/orcid-icon.png | Bin 0 -> 1486 bytes docs/src/assets/img/tile-icon-paper.png | Bin 0 -> 794 bytes docs/src/css/sass/ds-site-global.scss | 17 +- 7 files changed, 140 insertions(+), 194 deletions(-) create mode 100644 docs/src/assets/img/orcid-icon.png create mode 100644 docs/src/assets/img/tile-icon-paper.png diff --git a/.eleventy.js b/.eleventy.js index 3c73ae21..9d7c4375 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -78,67 +78,9 @@ module.exports = function (eleventyConfig) { 'docs/src/assets/article-content': 'content/img', }); eleventyConfig.addPassthroughCopy({ 'docs/src/css/fonts': 'fonts' }); - // eleventyConfig.addPassthroughCopy({ - // 'components/base-css/dist/themes': 'css', - // }); - // eleventyConfig.addPassthroughCopy({ - // 'components/accordion/template.html': 'css/accordion.html', - // }); - // eleventyConfig.addPassthroughCopy({ - // 'components/link-grid/template.html': 'css/link-grid.html', - // }); - // eleventyConfig.addPassthroughCopy({ - // 'components/step-list/template.html': 'css/step-list.html', - // }); eleventyConfig.addPassthroughCopy({ '_site_dist/*': '/' }); eleventyConfig.addPassthroughCopy({ '_build_dist/*': 'builds' }); - // eleventyConfig.addPassthroughCopy({ - // 'components/icons/dist/svg': 'cagov-icons-svg', - // }); - // eleventyConfig.addPassthroughCopy({ 'components/icons/src/fonts': 'fonts' }); - /* - // generate allfiles? - var fileList = []; - // for all the .md files in ./docs (recursively) - // add the url to the list - - - eleventyConfig.addCollection('scorepages', function (collection) { - // console.log("--> collection.stuff"); - // console.trace(); - var fileList = []; - let output = []; - collection.getAll().forEach((item) => { - var url = item.url; - // console.log("considering "+url); - if (url.match(/^\/((content-design|human-centered-design|product-management)\/)?[\w-]+\/$/)) { - var outputPath = url; - var inputPath = './docs/pages'+url; - // replace trailing / with ".md" on inputPath - if (url.match(/\/$/)) { - // remove last character of inputPath - inputPath = inputPath.slice(0, -1); - inputPath = inputPath + '.md'; - } - // if inputPath doesn't exist, log it - if (fs.existsSync(inputPath)) { - // console.log(" will score -> "+inputPath); - fileList.push({outputPath:outputPath, inputPath:inputPath}); - // item.inputPath = inputPath; - // item.outputPath = outputPath; - // output.push(item); - } - } else if (url.match(/^\/$/)) { - // console.log(" will score -> "+inputPath); - fileList.push({outputPath:url, inputPath:'./docs/site/homepage.njk'}); - } - }); - let abbrevFileList = fileList.filter(item => { return item.outputPath != "_site/blog/index.html";}) - fs.writeFileSync('./_site_dist/allFiles.json',JSON.stringify(abbrevFileList),'utf8'); - return output; - }); - */ eleventyConfig.on("eleventy.after", async ({ results }) => { // Generate map of all HTML files for tests. diff --git a/docs/pages/data/forecasting-community-water-system-outages.md b/docs/pages/data/forecasting-community-water-system-outages.md index de164323..d17f83f8 100644 --- a/docs/pages/data/forecasting-community-water-system-outages.md +++ b/docs/pages/data/forecasting-community-water-system-outages.md @@ -2,12 +2,12 @@ title: Forecasting community water system outages description: ODI used data to forecast the impact of drought on community water systems. headerlabel: Papers -headericon: +headericon: paper ---

We forecasted the impact of drought on community water systems.

-[Monica G. Bobra](https://orcid.org/0000-0002-5662-9604)¹, Dan Wang², Hung Bui², Esa Eslami¹, Kimberly Hicks¹, Eric Zúñiga², Arman Madani¹ +[Monica G. Bobra](https://orcid.org/0000-0002-5662-9604)¹ , Dan Wang², Hung Bui², Esa Eslami¹, Kimberly Hicks¹, Eric Zúñiga², Arman Madani¹ ¹ California Office of Data and Innovation, 401 I Street, Ste 200, Sacramento, CA 95814 ² California State Water Resources Control Board, 1001 I Street, 24th Floor, Sacramento, CA 95814 diff --git a/docs/pages/how-to-use.md b/docs/pages/how-to-use.md index 8405093a..648734aa 100644 --- a/docs/pages/how-to-use.md +++ b/docs/pages/how-to-use.md @@ -50,7 +50,7 @@ Here are our recommendations for how to use each type of resource on the Hub.
-
 
+
 

Papers

We share the details about how we got things done in papers. If you want to learn exactly how we did something, read papers about our projects.
diff --git a/docs/site/_data/readability.json b/docs/site/_data/readability.json index ce4b79fc..7b88bac9 100644 --- a/docs/site/_data/readability.json +++ b/docs/site/_data/readability.json @@ -1,4 +1,15 @@ { + "/CHANGELOG/": { + "readability": { + "letterCount": 88, + "syllableCount": 28, + "wordCount": 14, + "sentenceCount": 5, + "polysyllabicWordCount": 4, + "ari": 9.58, + "timestamp": 1704825085902 + } + }, "/error.html": { "readability": { "letterCount": 128, @@ -7,18 +18,18 @@ "sentenceCount": 3, "polysyllabicWordCount": 3, "ari": 9.64, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, - "/CHANGELOG/": { + "/": { "readability": { - "letterCount": 88, - "syllableCount": 28, - "wordCount": 14, - "sentenceCount": 5, - "polysyllabicWordCount": 4, - "ari": 9.58, - "timestamp": 1704312887000 + "letterCount": 405, + "syllableCount": 135, + "wordCount": 71, + "sentenceCount": 13, + "polysyllabicWordCount": 18, + "ari": 8.17, + "timestamp": 1704825085902 } }, "/docs/src/js/airtable-form/CHANGELOG/": { @@ -29,7 +40,7 @@ "sentenceCount": 0, "polysyllabicWordCount": 0, "ari": 1, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/docs/src/js/airtable-form/README/": { @@ -40,7 +51,7 @@ "sentenceCount": 0, "polysyllabicWordCount": 0, "ari": 1, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/docs/src/js/airtable-form/preview/": { @@ -51,7 +62,7 @@ "sentenceCount": 0, "polysyllabicWordCount": 0, "ari": 1, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/docs/src/js/airtable-form/template/": { @@ -62,18 +73,7 @@ "sentenceCount": 5, "polysyllabicWordCount": 0, "ari": -0.89, - "timestamp": 1704312887000 - } - }, - "/sandbox/": { - "readability": { - "letterCount": 60, - "syllableCount": 19, - "wordCount": 11, - "sentenceCount": 4, - "polysyllabicWordCount": 0, - "ari": 5.64, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/front-matter/": { @@ -84,7 +84,18 @@ "sentenceCount": 7, "polysyllabicWordCount": 19, "ari": 12.28, - "timestamp": 1704312887000 + "timestamp": 1704825085902 + } + }, + "/how-to-use/": { + "readability": { + "letterCount": 1620, + "syllableCount": 524, + "wordCount": 329, + "sentenceCount": 37, + "polysyllabicWordCount": 49, + "ari": 6.21, + "timestamp": 1704825085902 } }, "/markdown/": { @@ -95,7 +106,7 @@ "sentenceCount": 56, "polysyllabicWordCount": 51, "ari": 5.57, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/page-score-info/": { @@ -106,7 +117,18 @@ "sentenceCount": 102, "polysyllabicWordCount": 139, "ari": 6.56, - "timestamp": 1704312887000 + "timestamp": 1704825085902 + } + }, + "/sandbox/": { + "readability": { + "letterCount": 60, + "syllableCount": 19, + "wordCount": 11, + "sentenceCount": 4, + "polysyllabicWordCount": 0, + "ari": 5.64, + "timestamp": 1704825085902 } }, "/content-design/odi-style-guide/": { @@ -117,7 +139,18 @@ "sentenceCount": 450, "polysyllabicWordCount": 537, "ari": 5.01, - "timestamp": 1704312887000 + "timestamp": 1704825085902 + } + }, + "/content-design/plain-language-checklist/": { + "readability": { + "letterCount": 1684, + "syllableCount": 532, + "wordCount": 333, + "sentenceCount": 32, + "polysyllabicWordCount": 56, + "ari": 7.59, + "timestamp": 1704825085902 } }, "/content-design/plain-language-equity-standard/": { @@ -128,18 +161,18 @@ "sentenceCount": 27, "polysyllabicWordCount": 47, "ari": 8.57, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, - "/product-management/product-craft-accessibility/": { + "/content-design/principles/": { "readability": { - "letterCount": 901, - "syllableCount": 301, - "wordCount": 166, - "sentenceCount": 28, - "polysyllabicWordCount": 42, - "ari": 7.1, - "timestamp": 1704312887000 + "letterCount": 400, + "syllableCount": 126, + "wordCount": 76, + "sentenceCount": 21, + "polysyllabicWordCount": 17, + "ari": 5.17, + "timestamp": 1704825085902 } }, "/content-design/recommended-reading/": { @@ -150,7 +183,40 @@ "sentenceCount": 55, "polysyllabicWordCount": 45, "ari": 7.91, - "timestamp": 1704312887000 + "timestamp": 1704825085902 + } + }, + "/human-centered-design/innovation-skills-accelerator/": { + "readability": { + "letterCount": 550, + "syllableCount": 180, + "wordCount": 96, + "sentenceCount": 14, + "polysyllabicWordCount": 19, + "ari": 8.98, + "timestamp": 1704825085902 + } + }, + "/product-management/product-craft-accessibility/": { + "readability": { + "letterCount": 901, + "syllableCount": 301, + "wordCount": 166, + "sentenceCount": 28, + "polysyllabicWordCount": 42, + "ari": 7.1, + "timestamp": 1704825085902 + } + }, + "/product-management/run-of-show/": { + "readability": { + "letterCount": 1368, + "syllableCount": 425, + "wordCount": 275, + "sentenceCount": 33, + "polysyllabicWordCount": 41, + "ari": 6.17, + "timestamp": 1704825085902 } }, "/content-design/principles/be-concise/": { @@ -161,7 +227,7 @@ "sentenceCount": 40, "polysyllabicWordCount": 58, "ari": 6.76, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/content-design/principles/build-accessibility-from-start/": { @@ -172,7 +238,7 @@ "sentenceCount": 79, "polysyllabicWordCount": 134, "ari": 7.56, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/content-design/principles/focus-on-user-needs-services/": { @@ -183,7 +249,7 @@ "sentenceCount": 29, "polysyllabicWordCount": 37, "ari": 6.14, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/content-design/principles/meet-your-audience-where-they-are/": { @@ -194,7 +260,18 @@ "sentenceCount": 32, "polysyllabicWordCount": 42, "ari": 6.66, - "timestamp": 1704312887000 + "timestamp": 1704825085902 + } + }, + "/content-design/principles/organize-content-strategically/": { + "readability": { + "letterCount": 2753, + "syllableCount": 882, + "wordCount": 573, + "sentenceCount": 58, + "polysyllabicWordCount": 68, + "ari": 6.14, + "timestamp": 1704825085902 } }, "/content-design/principles/write-in-plain-language/": { @@ -205,7 +282,7 @@ "sentenceCount": 69, "polysyllabicWordCount": 79, "ari": 5.15, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } }, "/content-design/principles/write-with-conversational-official-voice/": { @@ -216,95 +293,7 @@ "sentenceCount": 75, "polysyllabicWordCount": 133, "ari": 7.13, - "timestamp": 1704312887000 - } - }, - "/content-design/principles/organize-content-strategically/": { - "readability": { - "letterCount": 2753, - "syllableCount": 882, - "wordCount": 573, - "sentenceCount": 58, - "polysyllabicWordCount": 68, - "ari": 6.14, - "timestamp": 1704312887000 - } - }, - "/how-to-use/": { - "readability": { - "letterCount": 1500, - "syllableCount": 486, - "wordCount": 301, - "sentenceCount": 34, - "polysyllabicWordCount": 48, - "ari": 6.47, - "timestamp": 1704312887000 - } - }, - "/": { - "readability": { - "letterCount": 344, - "syllableCount": 113, - "wordCount": 61, - "sentenceCount": 10, - "polysyllabicWordCount": 14, - "ari": 8.18, - "timestamp": 1704312887000 - } - }, - "/content-design/odi-style-guide-pt2/": { - "readability": { - "letterCount": 2048, - "syllableCount": 662, - "wordCount": 404, - "sentenceCount": 60, - "polysyllabicWordCount": 60, - "ari": 5.81, - "timestamp": 1704312887000 - } - }, - "/content-design/plain-language-checklist/": { - "readability": { - "letterCount": 1684, - "syllableCount": 532, - "wordCount": 333, - "sentenceCount": 32, - "polysyllabicWordCount": 56, - "ari": 7.59, - "timestamp": 1704312887000 - } - }, - "/content-design/principles/": { - "readability": { - "letterCount": 400, - "syllableCount": 126, - "wordCount": 76, - "sentenceCount": 21, - "polysyllabicWordCount": 17, - "ari": 5.17, - "timestamp": 1704312887000 - } - }, - "/human-centered-design/innovation-skills-accelerator/": { - "readability": { - "letterCount": 550, - "syllableCount": 180, - "wordCount": 96, - "sentenceCount": 14, - "polysyllabicWordCount": 19, - "ari": 8.98, - "timestamp": 1704312887000 - } - }, - "/product-management/run-of-show/": { - "readability": { - "letterCount": 1368, - "syllableCount": 425, - "wordCount": 275, - "sentenceCount": 19, - "polysyllabicWordCount": 41, - "ari": 9.24, - "timestamp": 1704312887000 + "timestamp": 1704825085902 } } } \ No newline at end of file diff --git a/docs/src/assets/img/orcid-icon.png b/docs/src/assets/img/orcid-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..85e4ba0547d2a953c97dd49fbd43d43f703293b3 GIT binary patch literal 1486 zcmV;<1u^=GP))a+!b=S2-jZZC{ziMKWPfEh7W$|EDn zJ_shZUW^rcc3=t#BI|mwJhoJB&JVd~fX03hB_0;nZa|t3*H&>65QVw#kN@f`T-XOj z;8pzU>vH1Fhyfb=)$~Baec0dqW<+>5Q zFO$iB^hViGP<>CCLW0P;o_)BmPSTJWG0D=h<}Fn8|6ADt!&a{#Il zD7VrJ5kwYZsZhhk1ALiE%jt*LQOKP z0O<852Rd#k3;EfH3wdJv#{$rGlx$(A`7o^g`yA5zk}iYfQRrhPf<^#?QzQwQY#iPte^#zN%mkPy zi)KAR{Nyt5x$>UmR005HQg7RCvz)O*ncC01i zfv-Vwdr|pqZ|T-7FG~F3GC;k3lB@v$0E6rl9R^56t1%#>g{!@k$|&b!l_;Mu*pBo> z>ZnNQc|b8Xl^UngxPF;Nzvu^)!qGtlRp zQ0|A5(?ko{*6fa$5tA?i064JkO+CEQK4u(vF+aFL6b3V503&DKwwaT5Aj;0d%H~6& zwtF3;(*OWQ0DxY4^#01`!$7UiKWXd-nxI^o55wDyySkz>+TxoB_}>6TVXoIPIvq=e zhyr_lF9l{){AGp5E~Ut17@v5F}1)@L7nSa0+xbS0cS@wihq zK=Fm-QTS@A2=O@cvp5INMqe&pT541xLoa5;B+i|9+^N2Iz#Bc;b?^LPa`0qK6y}E9 zGiM6#A27g-n8dg3f$NQtMb1FS?aRedPDSH^PW$kjo|Lq_g@VJk#$AcP;hCCI{$(?8zVyMf%xRQPpsPx0vhW+yn?0r*-aG8n?P$L_Y*&S9e);!RxHX-Bz2tq`~artMT_7r)P*bS6ddT9HJ>|7V?tUd>$k`F*VQLx-+?7rwl6 zk@yX=_x}D`p%0xab!+~8n00V7`*og#qVsZb#yiUYwlq)Mc$+QhjH)K*-ulljiDBMP z>WXCexoaafHL6a(^6F_{5Lc9VLRM_kC+W^o8)oKC&y2$QU%ytTm$3@0ZDid2c)o2* z%Z>#r&M-$5&AcnMGye36(#75dj?9|Rgx@xP&!4AJ^6d6Kcd_7Wn=BMGls+>|mvi;~ z+`L1EpV`3wfib(hf))RQ=rwCn3l+9j?Nm0bDzu!}$QUFMW4l-Tz%k=Yrj2=yY%b3m z<>LdrrIVa_=0BE{P{^DYbKKbA!VWowV;`3+t1NLa=D%?GBM*SlJhEySl_~X<5)!=GoItzE6Hs@uf__vLQ=#dg6n;5y(>eR`#?H%^ zK)kOE%NB1)jmWZ^*Vx$e%*3qV+l5&z-`CIAFaUyrqR+J(%KYbKJf3LM*gSiOnXPJr zmR!ZR53?Be%JMOXd~C?iiERX8M$=_W