diff --git a/docs/source/assets/css/_doc.scss b/docs/source/assets/css/_doc.scss index 37aea71e9..6103fec02 100755 --- a/docs/source/assets/css/_doc.scss +++ b/docs/source/assets/css/_doc.scss @@ -246,3 +246,17 @@ mark { padding-top: $baseline * .8; padding-bottom: $baseline * .55; } + +.deprecation-message { + margin: 1rem; + max-width: 100%; +} + +.deprecation-heading { + font-weight: bold; +} + +.deprecation-description { + margin: 0; + padding: 0; +} diff --git a/docs/source/documentation/get-started/_get-started.md b/docs/source/documentation/get-started/_get-started.md index 369af7737..e0161421f 100644 --- a/docs/source/documentation/get-started/_get-started.md +++ b/docs/source/documentation/get-started/_get-started.md @@ -10,7 +10,7 @@ There are three ways to use Calcite Web: - (a) copying static files into your project - (b) installing via a package manager -- (c) loading files from the cdn +- (c) loading files from a self-hosted cdn By default, Calcite Web expects image files to be located at `../`. If your fonts are elsewhere, set the `$font-path` variable diff --git a/docs/source/documentation/get-started/_static-files.md b/docs/source/documentation/get-started/_static-files.md index 2a4df35b9..02563d51d 100644 --- a/docs/source/documentation/get-started/_static-files.md +++ b/docs/source/documentation/get-started/_static-files.md @@ -1,11 +1 @@ -This is probably the easiest way, but you won't get any of the helpful Sass mixins. If you're looking to get up and running quickly, just [download the latest release](https://github.com/ArcGIS/calcite-web/releases) and move the zipped files to wherever you keep your assets (CSS, JavaScript, images). Be sure to use [the documentation site](http://esri.github.io/calcite-web/) to copy and paste patterns, components, and even a sample html boilerplate. - -You can also use a hosted version of Calcite Web: - -``` - - - - - -``` +If you're looking to get up and running quickly, just [download the latest release](https://github.com/Esri/calcite-web/releases) and move the zipped files to wherever you keep your assets (CSS, JavaScript, images). Be sure to use [the documentation site](http://esri.github.io/calcite-web/) to copy and paste patterns, components, and even a sample html boilerplate. diff --git a/docs/source/documentation/javascript/_importing.md b/docs/source/documentation/javascript/_importing.md index 6b75efbc7..29a9f2923 100644 --- a/docs/source/documentation/javascript/_importing.md +++ b/docs/source/documentation/javascript/_importing.md @@ -43,12 +43,12 @@ require(['path/to/calcite-web.js'], function(calcite){ #### IIFE -If `calcite-web.js` is used on a page with no module syntax, it will just attach itself to `window.calcite`. Here is an example which initializes Calcite from a hosted file on S3: +If `calcite-web.js` is used on a page with no module syntax, it will just attach itself to `window.calcite`. Here is an example which initializes Calcite from a self-hosted CDN location: ```html
... - + diff --git a/docs/source/documentation/patterns/_interactive-overview.md b/docs/source/documentation/patterns/_interactive-overview.md index 9c9f2c254..a17ecfdae 100644 --- a/docs/source/documentation/patterns/_interactive-overview.md +++ b/docs/source/documentation/patterns/_interactive-overview.md @@ -1,3 +1,3 @@ -Interactive patterns rely on `calcite-web.js` to work properly. You must add a reference to `calcite-web.js` (either from the cdn or you can host it yourself). After that, you should startup all the interactive patterns on load with `calcite.init()`. +Interactive patterns rely on `calcite-web.js` to work properly. You must add a reference to `calcite-web.js`. After that, you should startup all the interactive patterns on load with `calcite.init()`. For more on using `calcite-web.js` you can view the [JavaScript Documentation](../javascript/). \ No newline at end of file diff --git a/docs/source/guides/quickstart/demo.html b/docs/source/guides/quickstart/demo.html index 9f91e3c3c..0ab40e5d4 100644 --- a/docs/source/guides/quickstart/demo.html +++ b/docs/source/guides/quickstart/demo.html @@ -11,7 +11,7 @@Calcite Web can also be used by referencing self hosted files.
+ Browse releases +