From e7b0b3ff2c6482280833d2bf296f5b027f6e1747 Mon Sep 17 00:00:00 2001 From: Christian Sarnataro Date: Thu, 19 Sep 2019 16:17:37 +0200 Subject: [PATCH] docs(data-point): add @class tags (#431) - Replaced @alias tags with @class and @classdesc tags. Added DataPoint temporary favicon. - Updated Docusaurus primary color to match jsdoc theme. Added a note for unstable version. closes #422 --- documentation/docs/getting-started.md | 2 ++ documentation/website/README.md | 2 ++ documentation/website/jsdoc.json | 11 ++++++++++- documentation/website/siteConfig.js | 2 +- documentation/website/static/img/favicon.ico | Bin 766 -> 4286 bytes packages/data-point/src/Accumulator.js | 2 +- packages/data-point/src/Cache.js | 3 +++ packages/data-point/src/DataPoint.js | 4 ++++ packages/data-point/src/Reducer.js | 8 ++++---- packages/data-point/src/ReducerEntity.js | 4 ++++ packages/data-point/src/ReducerFunction.js | 4 ++++ packages/data-point/src/ReducerList.js | 4 ++++ packages/data-point/src/ReducerNative.js | 3 +++ packages/data-point/src/ReducerObject.js | 3 ++- packages/data-point/src/ReducerPath.js | 3 ++- .../src/reducer-entities/model/model.js | 4 ++++ .../src/reducer-helpers/assign/assign.js | 4 ++++ .../src/reducer-helpers/constant/constant.js | 4 ++++ .../if-then-else/if-then-else.js | 4 ++++ .../data-point/src/reducer-helpers/map/map.js | 2 ++ .../src/reducer-helpers/parallel/parallel.js | 4 ++++ .../src/reducer-helpers/select/select.js | 2 ++ packages/data-point/src/tracing/Span.js | 2 +- packages/data-point/src/tracing/Tracer.js | 3 +++ 24 files changed, 74 insertions(+), 10 deletions(-) diff --git a/documentation/docs/getting-started.md b/documentation/docs/getting-started.md index 15d9a8c7..a463a0d5 100644 --- a/documentation/docs/getting-started.md +++ b/documentation/docs/getting-started.md @@ -4,6 +4,8 @@ title: Getting Started sidebar_label: Getting Started --- +> ⚠️ WARNING: the version of DataPoint documented here is version 6.x-canary, it's an unstable version and as such it must not be considered production-ready + **DataPoint is a JavaScript Utility for collecting, processing and transforming data.** DataPoint helps you reason with and streamline your data processing layer. With it you can collect, process, and transform data from multiple sources, and deliver the output in a tailored format to your end consumer. diff --git a/documentation/website/README.md b/documentation/website/README.md index fc706a81..89dfd969 100755 --- a/documentation/website/README.md +++ b/documentation/website/README.md @@ -1,5 +1,7 @@ # DataPoint API reference +> ⚠️ **WARNING**: the version of DataPoint documented here is version 6.x-canary, it's an unstable version and as such it must not be considered production-ready + This is the API reference for [Datapoint](https://github.com/ViacomInc/data-point), a JavaScript Utility for collecting, processing and transforming data. You can explore the API using the menu on the left. diff --git a/documentation/website/jsdoc.json b/documentation/website/jsdoc.json index 15c92a08..41b9ddde 100644 --- a/documentation/website/jsdoc.json +++ b/documentation/website/jsdoc.json @@ -13,7 +13,6 @@ "opts": { "template": "./node_modules/docdash", "encoding": "utf8", - "destination": "docs/", "recurse": true, "verbose": true }, @@ -25,6 +24,16 @@ "static": true, "sort": true, "disqus": "", + "sectionOrder": [ + "Tutorials", + "Classes", + "Modules", + "Externals", + "Events", + "Namespaces", + "Mixins", + "Interfaces" + ], "openGraph": { "title": "Docdash", "type": "website", diff --git a/documentation/website/siteConfig.js b/documentation/website/siteConfig.js index c662eec3..31613512 100644 --- a/documentation/website/siteConfig.js +++ b/documentation/website/siteConfig.js @@ -42,7 +42,7 @@ const siteConfig = { /* Colors for website */ colors: { - primaryColor: "#250e23", + primaryColor: "#6d426d", secondaryColor: "#190918" }, diff --git a/documentation/website/static/img/favicon.ico b/documentation/website/static/img/favicon.ico index be74abd69ad6a32de7375df13cab9354798e328f..d5705d10e30c2821aac8f0ecf24e367519ca1e03 100755 GIT binary patch literal 4286 zcmcha3s96*6vsb6Bg@h#9%3p>fR^koC<==5SR#a29n{g(UX}#olrfrVX~mc#3Ig#; zBWN>GL_ri#5G7<_Qiz9&$eB|tAp}MB_u`}3|Fz&#)iDe;6P1HHkLpHcp`uX_srNPA z3ly_q^Qa5)>`+?N+o)R9H58c9RjfaPT8Yx2Z12_?ZDl(#9Z}Dr45*7JWnT3enACU) zCLHZneqYsb0s9u9=A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