diff --git a/Gruntfile.js b/Gruntfile.js
index 669c0feaf..9b99fdc43 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -33,18 +33,6 @@ module.exports = function (grunt) {
'web-sdk-preclone': require('./grunt-tasks/web-sdk/clean-preclone'),
'web-sdk-postclone': require('./grunt-tasks/web-sdk/clean-postclone'),
- 'deck-gl-preclone': require('./grunt-tasks/deck-gl/clean-preclone'),
- 'deck-gl-postclone': require('./grunt-tasks/deck-gl/clean-postclone'),
-
- 'gmaps-preclone': require('./grunt-tasks/gmaps/clean-preclone'),
- 'gmaps-postclone': require('./grunt-tasks/gmaps/clean-postclone'),
-
- 'amazon-location-preclone': require('./grunt-tasks/amazon-location/clean-preclone'),
- 'amazon-location-postclone': require('./grunt-tasks/amazon-location/clean-postclone'),
-
- 'mapbox-preclone': require('./grunt-tasks/mapbox/clean-preclone'),
- 'mapbox-postclone': require('./grunt-tasks/mapbox/clean-postclone'),
-
'cartojs-doc': require('./grunt-tasks/carto-js/clean-doc'),
'cartojs-postclone': require('./grunt-tasks/carto-js/clean-postclone'),
@@ -118,18 +106,6 @@ module.exports = function (grunt) {
'web-sdk-copy': require('./grunt-tasks/web-sdk/copy'),
'web-sdk-copy-examples': require('./grunt-tasks/web-sdk/copy-examples'),
- 'deck-gl-copy': require('./grunt-tasks/deck-gl/copy'),
- 'deck-gl-copy-examples': require('./grunt-tasks/deck-gl/copy-examples'),
-
- 'gmaps-copy': require('./grunt-tasks/gmaps/copy'),
- 'gmaps-copy-examples': require('./grunt-tasks/gmaps/copy-examples'),
-
- 'amazon-location-copy': require('./grunt-tasks/amazon-location/copy'),
- 'amazon-location-copy-examples': require('./grunt-tasks/amazon-location/copy-examples'),
-
- 'mapbox-copy': require('./grunt-tasks/mapbox/copy'),
- 'mapbox-copy-examples': require('./grunt-tasks/mapbox/copy-examples'),
-
'cartojs-maps': require('./grunt-tasks/carto-js/copy-maps'),
'cartojs-copy': require('./grunt-tasks/carto-js/copy'),
@@ -210,17 +186,6 @@ module.exports = function (grunt) {
'web-sdk-doc': require('./grunt-tasks/web-sdk/shell-doc'),
'web-sdk-doc-releases': require('./grunt-tasks/web-sdk/shell-doc-releases'),
- 'deck-gl-gitclone': require('./grunt-tasks/deck-gl/shell-gitclone'),
- 'deck-gl-gitclone-releases': require('./grunt-tasks/deck-gl/shell-gitclone-releases'),
- 'deck-gl-doc': require('./grunt-tasks/deck-gl/to-check/shell-doc'),
- 'deck-gl-doc-releases': require('./grunt-tasks/deck-gl/to-check/shell-doc-releases'),
-
- 'gmaps-gitclone': require('./grunt-tasks/gmaps/shell-gitclone'),
-
- 'amazon-location-gitclone': require('./grunt-tasks/amazon-location/shell-gitclone'),
-
- 'mapbox-gitclone': require('./grunt-tasks/mapbox/shell-gitclone'),
-
'cartojs-gitclone': require('./grunt-tasks/carto-js/shell-gitclone'),
'cartojs-gitcheckout': require('./grunt-tasks/carto-js/shell-gitcheckout'),
'cartojs-doc': require('./grunt-tasks/carto-js/shell-doc'),
@@ -267,16 +232,6 @@ module.exports = function (grunt) {
'web-sdk-examples': require('./grunt-tasks/web-sdk/string-replace-examples'),
'web-sdk-reference': require('./grunt-tasks/web-sdk/string-replace-reference'),
- 'deck-gl-guides': require('./grunt-tasks/deck-gl/string-replace-guides'),
- 'deck-gl-examples': require('./grunt-tasks/deck-gl/string-replace-examples'),
- 'deck-gl-reference': require('./grunt-tasks/deck-gl/string-replace-reference'),
-
- 'gmaps-examples': require('./grunt-tasks/gmaps/string-replace-examples'),
-
- 'amazon-location-examples': require('./grunt-tasks/amazon-location/string-replace-examples'),
-
- 'mapbox-examples': require('./grunt-tasks/mapbox/string-replace-examples'),
-
'cartoframes-examples': require('./grunt-tasks/cartoframes/string-replace-examples'),
'cartoframes-guides': require('./grunt-tasks/cartoframes/string-replace-guides'),
'cartoframes-new-guides': require('./grunt-tasks/cartoframes/string-replace-new-guides'),
@@ -366,46 +321,6 @@ module.exports = function (grunt) {
'clean:web-sdk-postclone'
]);
- /* DECK-GL TASK ROUTINE */
- grunt.registerTask('deck-gl-doc', [
- 'clean:deck-gl-preclone',
- 'shell:deck-gl-gitclone',
- 'copy:deck-gl-copy',
- 'string-replace:deck-gl-guides',
- 'string-replace:deck-gl-examples',
- 'copy:deck-gl-copy-examples',
- 'clean:deck-gl-postclone'
- ]);
-
- /* GOOGLE-MAPS TASK ROUTINE */
- grunt.registerTask('gmaps-doc', [
- 'clean:gmaps-preclone',
- 'shell:gmaps-gitclone',
- 'copy:gmaps-copy',
- 'string-replace:gmaps-examples',
- 'copy:gmaps-copy-examples',
- 'clean:gmaps-postclone'
- ]);
-
- grunt.registerTask('amazon-location-doc', [
- 'clean:amazon-location-preclone',
- 'shell:amazon-location-gitclone',
- 'copy:amazon-location-copy',
- 'string-replace:amazon-location-examples',
- 'copy:amazon-location-copy-examples',
- 'clean:amazon-location-postclone'
- ]);
-
- /* MAPBOX TASK ROUTINE */
- grunt.registerTask('mapbox-doc', [
- 'clean:mapbox-preclone',
- 'shell:mapbox-gitclone',
- 'copy:mapbox-copy',
- 'string-replace:mapbox-examples',
- 'copy:mapbox-copy-examples',
- 'clean:mapbox-postclone'
- ]);
-
/* CARTOJS TASK ROUTINE */
grunt.registerTask('cartojsdoc', [
'clean:cartojs-doc',
@@ -581,10 +496,6 @@ module.exports = function (grunt) {
grunt.registerTask('doc', [
'cartovldoc',
'web-sdk-doc',
- 'deck-gl-doc',
- 'gmaps-doc',
- 'amazon-location-doc',
- 'mapbox-doc',
'cartoframesdoc',
'cartojsallldoc',
'shell:cartodb-gitclone',
diff --git a/_app/_data/home/webapps.yml b/_app/_data/home/webapps.yml
deleted file mode 100644
index efed7d701..000000000
--- a/_app/_data/home/webapps.yml
+++ /dev/null
@@ -1,22 +0,0 @@
--
- image: '/developers/img/icons/deck-gl.svg'
- title: 'CARTO for deck.gl'
- description: 'CARTO adds a spatial back-end to applications developed with deck.gl and you can choose from multiple basemaps.'
- permalink: '/developers/deck-gl/'
- recommended: true
--
- image: '/developers/img/icons/gmaps.svg'
- title: 'CARTO + Google Maps'
- description: 'If you are building your apps using Google Maps, checkout this guide to know how to add CARTO layers.'
- permalink: '/developers/gmaps/guides/getting-started/'
--
- image: '/developers/img/icons/mapbox.svg'
- title: 'CARTO + Mapbox GL'
- description: 'Checkout this guide to know how to visualize CARTO datasets in a Mapbox GL application.'
- permalink: '/developers/mapbox/guides/getting-started/'
--
- image: '/developers/img/icons/aws.svg'
- title: 'CARTO + Amazon Location'
- description: 'Take a look to this guide to know how to visualize CARTO layers in an application built using Amazon Location Service'
- permalink: '/developers/amazon-location/'
-
diff --git a/_app/_data/subnavbar.yml b/_app/_data/subnavbar.yml
index 8aa1bf777..b42ae8341 100644
--- a/_app/_data/subnavbar.yml
+++ b/_app/_data/subnavbar.yml
@@ -10,18 +10,6 @@
- name: Data Observatory
url: https://carto.com/help/working-with-data/intro_data_observatory
isLink: true
-- name: Dev tools
- dropdownElements:
- - name: CARTO for deck.gl
- url: https://carto.com/developers/deck-gl
- - name: CARTO + Google Maps
- url: https://carto.com/developers/gmaps/guides/getting-started
- - name: CARTO + Mapbox GL
- url: https://carto.com/developers/mapbox/guides/getting-started
- - name: CARTO + Amazon Location
- url: https://carto.com/developers/amazon-location
- - name: Mobile SDK
- url: https://carto.com/developers/mobile-sdk
- name: APIs
dropdownElements:
- name: SQL API
diff --git a/_app/_data/technologies.yml b/_app/_data/technologies.yml
index 7ab993474..d74910cfe 100644
--- a/_app/_data/technologies.yml
+++ b/_app/_data/technologies.yml
@@ -253,7 +253,7 @@
icon_path: '/img/icons/web-sdk.svg'
header_title: Web SDK
header_subtitle: Web SDK is a JavaScript library to create custom applications on top of CARTO, using deck.gl
- header_warning: DEPRECATION WARNING! This project won't be continued. Due to feedback received from the users and to bring a better integration with deck.gl, we're moving to a native deck.gl module. See [@deck.gl/carto](https://github.com/CartoDB/deck.gl/blob/carto-module/docs/api-reference/carto/overview.md)
+ header_warning: DEPRECATION WARNING! This project won't be continued. Due to feedback received from the users and to bring a better integration with deck.gl, we're moving to a native deck.gl module. See [@deck.gl/carto](https://deck.gl/docs/api-reference/carto/overview)
sub_navbar: true
overview: true
guide: true
@@ -268,112 +268,6 @@
beta: true
deprecated: true
full_deprecated: true
--
- parent_slug: deck-gl
- slug: deck-gl
- parent_root: true
- versions: false
- version: ''
- overview_name: CARTO for deck.gl
- overview_text:
- - "Deck.gl is one of the most popular Open Source map visualization libraries and is the preferred library to use with CARTO. With deck.gl and CARTO you can create highly scalable applications that visualize location data in many different ways. Since version 8.3, deck.gl includes a submodule @deck.gl/carto that you can use to work with CARTO datasets and tilesets in a very easy and straightforward way."
- - "To understand how to install the library and run the examples, [read the guide]({{site.baseurl}}/deck-gl/guides/getting-started/)."
- - "You can learn more about deck.gl on the official [website](https://deck.gl), where you can find a dedicated section on the @deck.gl/carto [submodule](https://deck.gl/docs/api-reference/carto/overview)."
- icon_path: '/img/icons/deck-gl.svg'
- header_title: CARTO for deck.gl
- header_subtitle: "Build applications using CARTO & deck.gl advanced framework for data visualization. This is our recommended library."
- sub_navbar: true
- overview: true
- guide: true
- support: false
- reference_tab: true
- reference_skip_at_overview: true
- examples: true
- examples_tab: true
- repository: https://github.com/visgl/deck.gl/tree/master/modules/carto
- section: none
- priority: 3
- beta: false
- deprecated: false
- full_deprecated: false
--
- parent_slug: gmaps
- slug: gmaps
- parent_root: true
- versions: false
- version: ''
- overview_name: CARTO + Google Maps
- overview_text:
- - You can use CARTO with the Google Maps API by taking advantage of its support for deck.gl overlays. You just need to instantiate the map, create the GoogleMapsOverlay layer and then add it to the map by calling the setMap method on the layer.
- icon_path: '/img/icons/gmaps.svg'
- header_title: CARTO + Google Maps
- header_subtitle: Build applications using CARTO & Google Maps.
- sub_navbar: true
- overview: false
- guide: true
- support: false
- reference_tab: false
- reference_skip_at_overview: true
- examples: true
- examples_tab: false
- repository: https://github.com/CartoDB/viz-doc/tree/master/gmaps
- section: none
- priority: 3
- beta: false
- deprecated: false
- full_deprecated: false
--
- parent_slug: amazon-location
- slug: amazon-location
- parent_root: true
- versions: false
- version: ''
- overview_name: CARTO + Amazon Location
- overview_text:
- - Take a look to this guide to know how to visualize CARTO layers in an application built using Amazon Location Service
- icon_path: '/img/icons/aws.svg'
- header_title: CARTO + Amazon Location
- header_subtitle: Build applications using CARTO & Amazon Location.
- sub_navbar: true
- overview: false
- guide: true
- support: false
- reference_tab: false
- reference_skip_at_overview: true
- examples: false
- examples_tab: false
- repository: https://github.com/CartoDB/viz-doc/tree/master/amazon-location
- section: none
- priority: 3
- beta: false
- deprecated: false
- full_deprecated: false
--
- parent_slug: mapbox
- slug: mapbox
- parent_root: true
- versions: false
- version: ''
- overview_name: CARTO + Mapbox GL
- overview_text:
- - You can use CARTO with the Mapbox GL JS library by directly using the vector tiles generated from our Maps API as a new layer.
- icon_path: '/img/icons/mapbox.svg'
- header_title: CARTO + Mapbox GL
- header_subtitle: Build applications using CARTO & Mapbox GL.
- sub_navbar: true
- overview: false
- guide: true
- support: false
- reference_tab: false
- reference_skip_at_overview: true
- examples: true
- examples_tab: false
- repository: https://github.com/CartoDB/viz-doc/tree/master/mapbox
- section: none
- priority: 3
- beta: false
- deprecated: false
- full_deprecated: false
-
parent_slug: carto-js
slug: carto-js
diff --git a/_app/_plugins/guidesgenerator.rb b/_app/_plugins/guidesgenerator.rb
index 9b8dc1514..34c3c5176 100644
--- a/_app/_plugins/guidesgenerator.rb
+++ b/_app/_plugins/guidesgenerator.rb
@@ -19,7 +19,7 @@ def initialize(site, base, dir, tech, guide, first, content, tech_info, guide_na
self.data['description'] = content.gsub(regex, "").gsub(/^\n+/, "").lines.first
if first
add = File.join(site.baseurl, dir, '/')
- r = (tech == 'fundamentals' or tech == 'styling' or tech == 'gmaps' or tech == 'amazon-location' or tech == 'mapbox') ? File.join('/', tech, '/') : File.join('/', tech, 'guides/')
+ r = (tech == 'fundamentals' or tech == 'styling') ? File.join('/', tech, '/') : File.join('/', tech, 'guides/')
redirect = RedirectPage.new(site, site.source, r, add)
redirect.render(site.layouts, site.site_payload)
redirect.write(site.dest)
diff --git a/_app/_sass/_technologies.scss b/_app/_sass/_technologies.scss
index e8053e234..f0cfcb144 100644
--- a/_app/_sass/_technologies.scss
+++ b/_app/_sass/_technologies.scss
@@ -1,9 +1,6 @@
// Colors for sections
$cartovl-c: #1785fb;
$web-sdk-c: #1785fb;
-$deck-gl-c: #1592BB;
-$gmaps-c: #e73a2f;
-$mapbox-c: #3654ff;
$cartojs-c: #00b9bf;
$pythonsdk-c: #ff990b;
$mobilesdk-c: #8264c5;
@@ -28,9 +25,6 @@ $dc-colors: (
'carto-vl': $cartovl-c,
'carto-js': $cartojs-c,
'web-sdk': $web-sdk-c,
- 'deck-gl': $deck-gl-c,
- 'gmaps': $gmaps-c,
- 'mapbox': $mapbox-c,
'python-sdk': $pythonsdk-c,
'mobile-sdk': $mobilesdk-c,
'cartoframes': $cartoframes-c,
diff --git a/_app/deck-gl/reference/index.html b/_app/deck-gl/reference/index.html
deleted file mode 100644
index 3dc0d1cd5..000000000
--- a/_app/deck-gl/reference/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
----
-layout: reference
-title: 'CARTO for deck.gl - Reference API'
----
-
-
diff --git a/_app/fundamentals/_includes/imported_content/01-getting-started.md b/_app/fundamentals/_includes/imported_content/01-getting-started.md
index 355c69684..19af044e3 100644
--- a/_app/fundamentals/_includes/imported_content/01-getting-started.md
+++ b/_app/fundamentals/_includes/imported_content/01-getting-started.md
@@ -81,7 +81,7 @@ If you are looking at developing your first spatial application using CARTO, you
Our recommendation is that you use deck.gl as it provides the most flexible visualization and is the preferred library for CARTO. It also supports many basemaps that can be easily modified. We are also deck.gl contributors. If you want further information on the difference between the available libraries, check out this document.
-Check out the following Javascript code from the [Hello World]({{site.baseurl}}/deck-gl/examples/#example-hello-world) example to see how easy it is to visualize a CARTO dataset.
+Check out the following Javascript code from the [Hello World](https://docs.carto.com/deck-gl/examples/basic-examples/hello-world/) example to see how easy it is to visualize a CARTO dataset.
```js
deck.carto.setDefaultCredentials({
@@ -110,7 +110,7 @@ const deckgl = new deck.DeckGL({
});
```
-Continue by reading the CARTO for deck.gl getting started [guide]({{site.baseurl}}/deck-gl/guides/getting-started) or take a look at the [examples]({{site.baseurl}}/deck-gl/examples/).
+Continue by reading the CARTO for deck.gl getting started [guide](https://docs.carto.com/deck-gl/guides/getting-started/) or take a look at the [examples](https://docs.carto.com/deck-gl/examples/basic-examples/hello-world/).
### And If I am a data scientist looking to do spatial analysis?
diff --git a/_app/index.html b/_app/index.html
index f539209fa..5d84df836 100644
--- a/_app/index.html
+++ b/_app/index.html
@@ -7,25 +7,9 @@
Web App Development
-
If you are starting to build web applications with CARTO, check out our Hello World example with CARTO for deck.gl. Or use CARTO with other supported libraries. But if you are entirely new to the platform we recommend you check out our Getting started section.
+
If you are starting to build web applications with CARTO, check out our Hello World example with CARTO for deck.gl. Or use CARTO with other supported libraries. But if you are entirely new to the platform we recommend you check out our Getting started section.
-
diff --git a/_config.yml b/_config.yml
index f60d3b44d..291ab7a0d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -60,10 +60,6 @@ sqlapi_docs: /developers/sql-api
torque_docs: '/developers/torque-js'
cartovl_docs: '/developers/carto-vl'
web-sdk_docs: '/developers/web-sdk'
-deck-gl_docs: '/developers/deck-gl'
-gmaps_docs: '/developers/gmaps'
-amazon-location_docs: '/developers/amazon-location'
-mapbox_docs: '/developers/mapbox'
cartoframes_docs: '/developers/cartoframes'
styling_cartocss: '/developers/styling/cartocss'
styling_turbocarto: '/developers/styling/turbocarto'
diff --git a/grunt-tasks/amazon-location/clean-postclone.js b/grunt-tasks/amazon-location/clean-postclone.js
deleted file mode 100644
index 0a4acf6f0..000000000
--- a/grunt-tasks/amazon-location/clean-postclone.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: ['amazon-location-repo*', 'test-amazon-location*']
- }
- ]
-};
diff --git a/grunt-tasks/amazon-location/clean-preclone.js b/grunt-tasks/amazon-location/clean-preclone.js
deleted file mode 100644
index 697cb0770..000000000
--- a/grunt-tasks/amazon-location/clean-preclone.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: [
- '<%= config.app %><%= config["amazonLocation"].path %>/v*',
- '<%= config.app %><%= config["amazonLocation"].path %><%= config["amazonLocation"].data %>/sidebar_*.yml',
- '<%= config.app %><%= config["amazonLocation"].path %>/_includes/*/imported_content',
- '<%= config.app %><%= config["amazonLocation"].path %><%= config["amazonLocation"].data %>/examples.json',
- '<%= config.app %><%= config["amazonLocation"].path %>/examples/maps/'
- ]
- }
- ]
-};
diff --git a/grunt-tasks/amazon-location/copy-examples.js b/grunt-tasks/amazon-location/copy-examples.js
deleted file mode 100644
index 6ffd5b0df..000000000
--- a/grunt-tasks/amazon-location/copy-examples.js
+++ /dev/null
@@ -1,61 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/amazon-location/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/amazon-location/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/amazon-location/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/amazon-location/examples/maps'
- }
-];
-
-config['amazonLocation'].releases.forEach(function (version) {
- files.push(
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/' + version + '/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/amazon-location/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/' + version + '/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/amazon-location/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/' + version + '/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/amazon-location/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/amazon-location/' + version + '/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/amazon-location/' + version + '/examples/maps'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/amazon-location/copy.js b/grunt-tasks/amazon-location/copy.js
deleted file mode 100644
index b92b95135..000000000
--- a/grunt-tasks/amazon-location/copy.js
+++ /dev/null
@@ -1,63 +0,0 @@
-var config = require('../config');
-
-var files = [
- // examples
- {
- expand: true,
- cwd: 'amazon-location-repo/amazon-location/examples',
- src: '*.json',
- dest: '<%= config.app %>/amazon-location/_data'
- },
- {
- expand: true,
- cwd: 'amazon-location-repo/amazon-location/examples',
- src: '*.css',
- dest: '<%= config.app %>/amazon-location/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'amazon-location-repo/amazon-location/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/amazon-location/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'amazon-location-repo/amazon-location/docs/guides',
- src: '**/*.md',
- dest: '<%= config.app %>/amazon-location/_includes/guides/imported_content/'
- }
-];
-
-config['amazonLocation'].releases.forEach(function (version) {
- files.push(
- // examples
- {
- expand: true,
- cwd: 'amazon-location-repos/' + version + '/amazon-location/examples',
- src: '*.json',
- dest: '<%= config.app %>/amazon-location/' + version + '/_data'
- },
- {
- expand: true,
- cwd: 'amazon-location-repos/' + version + '/amazon-location/examples',
- src: '*.css',
- dest: '<%= config.app %>/amazon-location/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'amazon-location-repos/' + version + '/amazon-location/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/amazon-location/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'amazon-location-repos/' + version + '/amazon-location/docs/guides',
- src: ['**/*.md'],
- dest: '<%= config.app %>/amazon-location/' + version + '/_includes/guides/imported_content/'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/amazon-location/shell-gitclone.js b/grunt-tasks/amazon-location/shell-gitclone.js
deleted file mode 100644
index a41adf23f..000000000
--- a/grunt-tasks/amazon-location/shell-gitclone.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var downloadFromGitHubCommand =
- 'curl -L https://api.github.com/repos/CartoDB/viz-doc/tarball/<%= config["amazonLocation"].branch || config["amazonLocation"].tag %> > test-amazon-location.tar.gz && mkdir -p amazon-location-repo && tar -xf test-amazon-location.tar.gz --strip-components=1 -C amazon-location-repo';
-
-console.log(downloadFromGitHubCommand);
-module.exports = {
- command: downloadFromGitHubCommand
-};
diff --git a/grunt-tasks/amazon-location/string-replace-examples.js b/grunt-tasks/amazon-location/string-replace-examples.js
deleted file mode 100644
index 066c711ba..000000000
--- a/grunt-tasks/amazon-location/string-replace-examples.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: 'amazon-location-repo/amazon-location/examples',
- src: '**/*.html',
- dest: '_app/amazon-location/_includes/examples/'
- }
-];
-
-config['amazonLocation'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd: 'amazon-location-repos/' + version + '/amazon-location/examples',
- src: '**/*.html',
- dest:
- '<%= config.app %>/<%= config["amazonLocation"].path %>/' +
- version +
- '/_includes/examples/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: []
- }
-};
diff --git a/grunt-tasks/config.js b/grunt-tasks/config.js
index 8c7bb00de..e26230b48 100644
--- a/grunt-tasks/config.js
+++ b/grunt-tasks/config.js
@@ -76,45 +76,6 @@ module.exports = {
tag: '1.0.0-alpha.3', // 'vM.m.p'
releases: ['1.0.0-alpha.3']
},
- /* deck-gl config */
- 'deck-gl': {
- repo: 'git://github.com/CartoDB/viz-doc.git',
- folder: 'deck-gl',
- path: '/deck-gl',
- data: '/_data',
- branch: 'master',
- tag: '', // 'vM.m.p'
- releases: []
- },
- /* gmaps config */
- gmaps: {
- repo: 'git://github.com/CartoDB/viz-doc.git',
- folder: 'gmaps',
- path: '/gmaps',
- data: '/_data',
- branch: 'master',
- tag: '', // 'vM.m.p'
- releases: []
- },
- amazonLocation: {
- repo: 'git://github.com/CartoDB/viz-doc.git',
- folder: 'amazon-location',
- path: '/amazon-location',
- data: '/_data',
- branch: 'master',
- tag: '', // 'vM.m.p'
- releases: []
- },
- /* mapbox config */
- mapbox: {
- repo: 'git://github.com/CartoDB/viz-doc.git',
- folder: 'mapbox',
- path: '/mapbox',
- data: '/_data',
- branch: 'master',
- tag: '', // 'vM.m.p'
- releases: []
- },
/* airship config */
airship: {
repo: 'git://github.com/CartoDB/airship.git',
diff --git a/grunt-tasks/deck-gl/clean-postclone.js b/grunt-tasks/deck-gl/clean-postclone.js
deleted file mode 100644
index 347eab62c..000000000
--- a/grunt-tasks/deck-gl/clean-postclone.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: ['deck-gl-repo*', 'test-deck-gl*']
- }
- ]
-};
diff --git a/grunt-tasks/deck-gl/clean-preclone.js b/grunt-tasks/deck-gl/clean-preclone.js
deleted file mode 100644
index b3e33018f..000000000
--- a/grunt-tasks/deck-gl/clean-preclone.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: [
- '<%= config.app %><%= config["deck-gl"].path %>/v*',
- '<%= config.app %><%= config["deck-gl"].path %><%= config["deck-gl"].data %>/sidebar_*.yml',
- '<%= config.app %><%= config["deck-gl"].path %>/_includes/*/imported_content',
- '<%= config.app %><%= config["deck-gl"].path %><%= config["deck-gl"].data %>/examples.json',
- '<%= config.app %><%= config["deck-gl"].path %>/examples/maps/'
- ]
- }
- ]
-};
diff --git a/grunt-tasks/deck-gl/copy-examples.js b/grunt-tasks/deck-gl/copy-examples.js
deleted file mode 100644
index 437f45858..000000000
--- a/grunt-tasks/deck-gl/copy-examples.js
+++ /dev/null
@@ -1,61 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/deck-gl/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/deck-gl/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/deck-gl/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/deck-gl/examples/maps'
- }
-];
-
-config['deck-gl'].releases.forEach(function (version) {
- files.push(
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/' + version + '/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/deck-gl/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/' + version + '/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/deck-gl/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/' + version + '/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/deck-gl/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/deck-gl/' + version + '/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/deck-gl/' + version + '/examples/maps'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/deck-gl/copy.js b/grunt-tasks/deck-gl/copy.js
deleted file mode 100644
index a5266126b..000000000
--- a/grunt-tasks/deck-gl/copy.js
+++ /dev/null
@@ -1,113 +0,0 @@
-var config = require('../config');
-
-var files = [
- // reference
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/docs/reference',
- src: '**/*.md',
- dest: '<%= config.app %>/deck-gl/_includes/reference/imported_content/'
- },
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/docs/reference',
- src: '**/*.yaml',
- dest: '<%= config.app %>/deck-gl/reference/'
- },
- // examples
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/examples',
- src: '*.json',
- dest: '<%= config.app %>/deck-gl/_data'
- },
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/examples',
- src: '*.css',
- dest: '<%= config.app %>/deck-gl/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/deck-gl/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/docs/guides',
- src: '**/*.md',
- dest: '<%= config.app %>/deck-gl/_includes/guides/imported_content/'
- }
-];
-
-config['deck-gl'].releases.forEach(function (version) {
- files.push(
- // reference
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/reference',
- src: '**/*.md',
- dest:
- '<%= config.app %>/deck-gl/' +
- version +
- '/_includes/reference/imported_content/'
- },
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/reference',
- src: '**/*.yaml',
- dest: '<%= config.app %>/deck-gl/' + version + '/reference/'
- },
- // support
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/support',
- src: '**/*.md',
- dest:
- '<%= config.app %>/deck-gl/' +
- version +
- '/_includes/support/imported_content/'
- },
- // media
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/media',
- src: '**/*.*',
- dest: '<%= config.app %>/deck-gl/' + version + '/img/'
- },
- // examples
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/examples',
- src: '*.json',
- dest: '<%= config.app %>/deck-gl/' + version + '/_data'
- },
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/examples',
- src: '*.css',
- dest: '<%= config.app %>/deck-gl/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/deck-gl/' + version + '/_includes/examples/'
- },
- // guides
- {
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/guides',
- src: ['**/*.md'],
- dest:
- '<%= config.app %><%= config["deck-gl"].path %>/' +
- version +
- '/_includes/guides/imported_content/'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/deck-gl/shell-gitclone-releases.js b/grunt-tasks/deck-gl/shell-gitclone-releases.js
deleted file mode 100644
index 11398180d..000000000
--- a/grunt-tasks/deck-gl/shell-gitclone-releases.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Get all the deck-gl releases
- */
-var config = require('../config');
-var MAIN_DIR = 'deck-gl-repos';
-var TAG_API_URL = 'https://api.github.com/repos/CartoDB/viz-doc/tarball/$tag';
-var REPO_DIR_NAME = '$tag';
-var ZIP_NAME = 'test-deck-gl-$tag.tar.gz';
-var FULL_DIR = MAIN_DIR + '/' + REPO_DIR_NAME;
-var TAGS = config['deck-gl'].releases.join(' ');
-var commands = {
- CREATE_DIR: 'mkdir "' + MAIN_DIR + '";',
- GET_ZIP_REPO: 'curl -L "' + TAG_API_URL + '" > "' + ZIP_NAME + '"',
- EXTRACT_REPO:
- 'mkdir "' +
- FULL_DIR +
- '" && tar -xf "' +
- ZIP_NAME +
- '" --strip-components=1 -C "' +
- FULL_DIR
-};
-
-module.exports = {
- command:
- commands.CREATE_DIR +
- 'for tag in ' +
- TAGS +
- ';' +
- 'do $(' +
- commands.GET_ZIP_REPO +
- ' && ' +
- commands.EXTRACT_REPO +
- '"); ' +
- 'done;'
-};
diff --git a/grunt-tasks/deck-gl/shell-gitclone.js b/grunt-tasks/deck-gl/shell-gitclone.js
deleted file mode 100644
index 26286bc3c..000000000
--- a/grunt-tasks/deck-gl/shell-gitclone.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var downloadFromGitHubCommand =
- 'curl -L https://api.github.com/repos/CartoDB/viz-doc/tarball/<%= config["deck-gl"].branch || config["deck-gl"].tag %> > test-deck-gl.tar.gz && mkdir -p deck-gl-repo && tar -xf test-deck-gl.tar.gz --strip-components=1 -C deck-gl-repo';
-
-console.log(downloadFromGitHubCommand);
-module.exports = {
- command: downloadFromGitHubCommand
-};
diff --git a/grunt-tasks/deck-gl/string-replace-examples.js b/grunt-tasks/deck-gl/string-replace-examples.js
deleted file mode 100644
index 99b3b0b84..000000000
--- a/grunt-tasks/deck-gl/string-replace-examples.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/examples',
- src: '**/*.html',
- dest: '_app/deck-gl/_includes/examples/'
- }
-];
-
-config['deck-gl'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/examples',
- src: '**/*.html',
- dest:
- '<%= config.app %>/<%= config["deck-gl"].path %>/' +
- version +
- '/_includes/examples/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: []
- }
-};
diff --git a/grunt-tasks/deck-gl/string-replace-guides.js b/grunt-tasks/deck-gl/string-replace-guides.js
deleted file mode 100644
index 3c2267e63..000000000
--- a/grunt-tasks/deck-gl/string-replace-guides.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: 'deck-gl-repo/deck.gl/docs/guides',
- src: ['**/*.md'],
- dest: '<%= config.app %>/deck-gl/_includes/guides/imported_content/'
- }
-];
-
-config['deck-gl'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd: 'deck-gl-repos/' + version + '/deck.gl/docs/guides',
- src: ['**/*.md'],
- dest:
- '<%= config.app %><%= config["deck-gl"].path %>/' +
- version +
- '/_includes/guides/imported_content/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: []
- }
-};
diff --git a/grunt-tasks/deck-gl/string-replace-reference.js b/grunt-tasks/deck-gl/string-replace-reference.js
deleted file mode 100644
index d77cb1610..000000000
--- a/grunt-tasks/deck-gl/string-replace-reference.js
+++ /dev/null
@@ -1,39 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd:
- '<%= config.app %><%= config["deck-gl"].path %>/<%= config["deck-gl"].data %>/',
- src: ['autodoc.json'],
- dest:
- '<%= config.app %><%= config["deck-gl"].path %>/<%= config["deck-gl"].data %>/'
- }
-];
-
-config['deck-gl'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd:
- '<%= config.app %><%= config["deck-gl"].path %>/' +
- version +
- '/<%= config["deck-gl"].data %>/',
- src: ['autodoc.json'],
- dest:
- '<%= config.app %><%= config["deck-gl"].path %>/' +
- version +
- '/<%= config["deck-gl"].data %>/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: [
- {
- pattern: /\\\\@/g,
- replacement: '@'
- }
- ]
- }
-};
diff --git a/grunt-tasks/deck-gl/to-check/shell-doc-releases.js b/grunt-tasks/deck-gl/to-check/shell-doc-releases.js
deleted file mode 100644
index e296d2dfc..000000000
--- a/grunt-tasks/deck-gl/to-check/shell-doc-releases.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- command:
- 'for version in $(ls ./deck-gl-repos);' +
- 'do $(mkdir -p <%= config.app %><%= config["deck-gl"].path %>/${version}<%= config["deck-gl"].data %> && ./node_modules/.bin/documentation build deck-gl-repos/${version}/src/** -f json --shallow > <%= config.app %><%= config["deck-gl"].path %>/${version}<%= config["deck-gl"].data %>/autodoc.json);' +
- 'done;'
-};
diff --git a/grunt-tasks/deck-gl/to-check/shell-doc.js b/grunt-tasks/deck-gl/to-check/shell-doc.js
deleted file mode 100644
index 2cd20900f..000000000
--- a/grunt-tasks/deck-gl/to-check/shell-doc.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- command:
- './node_modules/.bin/documentation build deck-gl-repo/src/** -f json --shallow > <%= config.app %><%= config["deck-gl"].path %><%= config["deck-gl"].data %>/autodoc.json'
-};
diff --git a/grunt-tasks/deck-gl/to-check/string-replace-util.js b/grunt-tasks/deck-gl/to-check/string-replace-util.js
deleted file mode 100644
index 5563006a4..000000000
--- a/grunt-tasks/deck-gl/to-check/string-replace-util.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var config = require("../config");
-
-function versionFromPath(filePath) {
- var VERSION_REGEX = /\bv?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z-]+(?:\.[\da-z-]+)*)?(?:\+[\da-z-]+(?:\.[\da-z-]+)*)?\b/gi;
- var versions = VERSION_REGEX.exec(filePath);
- if (versions) {
- return versions[0];
- }
- return null;
-}
-
-// function replaceExamplesCSS() {
-// var fileName = arguments[9]; // <<
-// var version = versionFromPath(fileName) || config["web-sdk"].tag;
-// var versionPrefix = version ? version + "/" : "";
-
-// return (
-// ' '
-// );
-// }
-
-module.exports = {
- versionFromPath: versionFromPath,
- // replaceExamplesCSS: replaceExamplesCSS,
-};
diff --git a/grunt-tasks/gmaps/clean-postclone.js b/grunt-tasks/gmaps/clean-postclone.js
deleted file mode 100644
index d20b53bbe..000000000
--- a/grunt-tasks/gmaps/clean-postclone.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: ['gmaps-repo*', 'test-gmaps*']
- }
- ]
-};
diff --git a/grunt-tasks/gmaps/clean-preclone.js b/grunt-tasks/gmaps/clean-preclone.js
deleted file mode 100644
index 7ac498911..000000000
--- a/grunt-tasks/gmaps/clean-preclone.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: [
- '<%= config.app %><%= config["gmaps"].path %>/v*',
- '<%= config.app %><%= config["gmaps"].path %><%= config["gmaps"].data %>/sidebar_*.yml',
- '<%= config.app %><%= config["gmaps"].path %>/_includes/*/imported_content',
- '<%= config.app %><%= config["gmaps"].path %><%= config["gmaps"].data %>/examples.json',
- '<%= config.app %><%= config["gmaps"].path %>/examples/maps/'
- ]
- }
- ]
-};
diff --git a/grunt-tasks/gmaps/copy-examples.js b/grunt-tasks/gmaps/copy-examples.js
deleted file mode 100644
index c645f1cce..000000000
--- a/grunt-tasks/gmaps/copy-examples.js
+++ /dev/null
@@ -1,61 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/gmaps/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/gmaps/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/gmaps/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/gmaps/examples/maps'
- }
-];
-
-config['gmaps'].releases.forEach(function (version) {
- files.push(
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/' + version + '/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/gmaps/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/' + version + '/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/gmaps/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/' + version + '/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/gmaps/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/gmaps/' + version + '/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/gmaps/' + version + '/examples/maps'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/gmaps/copy.js b/grunt-tasks/gmaps/copy.js
deleted file mode 100644
index 36e654221..000000000
--- a/grunt-tasks/gmaps/copy.js
+++ /dev/null
@@ -1,63 +0,0 @@
-var config = require('../config');
-
-var files = [
- // examples
- {
- expand: true,
- cwd: 'gmaps-repo/gmaps/examples',
- src: '*.json',
- dest: '<%= config.app %>/gmaps/_data'
- },
- {
- expand: true,
- cwd: 'gmaps-repo/gmaps/examples',
- src: '*.css',
- dest: '<%= config.app %>/gmaps/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'gmaps-repo/gmaps/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/gmaps/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'gmaps-repo/gmaps/docs/guides',
- src: '**/*.md',
- dest: '<%= config.app %>/gmaps/_includes/guides/imported_content/'
- }
-];
-
-config['gmaps'].releases.forEach(function (version) {
- files.push(
- // examples
- {
- expand: true,
- cwd: 'gmaps-repos/' + version + '/gmaps/examples',
- src: '*.json',
- dest: '<%= config.app %>/gmaps/' + version + '/_data'
- },
- {
- expand: true,
- cwd: 'gmaps-repos/' + version + '/gmaps/examples',
- src: '*.css',
- dest: '<%= config.app %>/gmaps/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'gmaps-repos/' + version + '/gmaps/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/gmaps/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'gmaps-repos/' + version + '/gmaps/docs/guides',
- src: ['**/*.md'],
- dest: '<%= config.app %>/gmaps/' + version + '/_includes/guides/imported_content/'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/gmaps/shell-gitclone.js b/grunt-tasks/gmaps/shell-gitclone.js
deleted file mode 100644
index ac1b34842..000000000
--- a/grunt-tasks/gmaps/shell-gitclone.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var downloadFromGitHubCommand =
- 'curl -L https://api.github.com/repos/CartoDB/viz-doc/tarball/<%= config["gmaps"].branch || config["gmaps"].tag %> > test-gmaps.tar.gz && mkdir -p gmaps-repo && tar -xf test-gmaps.tar.gz --strip-components=1 -C gmaps-repo';
-
-console.log(downloadFromGitHubCommand);
-module.exports = {
- command: downloadFromGitHubCommand
-};
diff --git a/grunt-tasks/gmaps/string-replace-examples.js b/grunt-tasks/gmaps/string-replace-examples.js
deleted file mode 100644
index 0e84a8bb3..000000000
--- a/grunt-tasks/gmaps/string-replace-examples.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: 'gmaps-repo/gmaps/examples',
- src: '**/*.html',
- dest: '_app/gmaps/_includes/examples/'
- }
-];
-
-config['gmaps'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd: 'gmaps-repos/' + version + '/gmaps/examples',
- src: '**/*.html',
- dest:
- '<%= config.app %>/<%= config["gmaps"].path %>/' +
- version +
- '/_includes/examples/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: []
- }
-};
diff --git a/grunt-tasks/main/folder_list.js b/grunt-tasks/main/folder_list.js
index 9528a2a4a..63bdd2a2d 100644
--- a/grunt-tasks/main/folder_list.js
+++ b/grunt-tasks/main/folder_list.js
@@ -148,30 +148,6 @@ var files = [{
src: ['**/*.md'],
dest: '_app/web-sdk/_data/sidebar_guides.yml',
cwd: '_app/web-sdk/_includes/guides/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/deck-gl/_data/sidebar_support.yml',
- cwd: '_app/deck-gl/_includes/support/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/deck-gl/_data/sidebar_guides.yml',
- cwd: '_app/deck-gl/_includes/guides/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/deck-gl/_data/sidebar_reference.yml',
- cwd: '_app/deck-gl/_includes/reference/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/gmaps/_data/sidebar_guides.yml',
- cwd: '_app/gmaps/_includes/guides/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/amazon-location/_data/sidebar_guides.yml',
- cwd: '_app/amazon-location/_includes/guides/imported_content/'
-}, {
- src: ['**/*.md'],
- dest: '_app/mapbox/_data/sidebar_guides.yml',
- cwd: '_app/mapbox/_includes/guides/imported_content/'
}, {
src: ['**/*.md'],
dest: '_app/cartoframes/_data/sidebar_support.yml',
@@ -266,22 +242,6 @@ config['web-sdk'].releases.forEach(function (version) {
});
});
-config['deck-gl'].releases.forEach(function (version) {
- files.push({
- src: ['**/*.md'],
- dest: '_app/deck-gl/' + version + '/_data/sidebar_support.yml',
- cwd: '_app/deck-gl/' + version + '/_includes/support/imported_content/'
- }, {
- src: ['**/*.md'],
- dest: '_app/deck-gl/' + version + '/_data/sidebar_guides.yml',
- cwd: '_app/deck-gl/' + version + '/_includes/guides/imported_content/'
- }, {
- src: ['**/*.md'],
- dest: '_app/deck-gl/' + version + '/_data/sidebar_reference.yml',
- cwd: '_app/deck-gl/' + version + '/_includes/reference/imported_content/'
- });
-});
-
config['cartoframes'].releases.forEach(function (version) {
files.push({
src: ['**/*.md'],
diff --git a/grunt-tasks/mapbox/clean-postclone.js b/grunt-tasks/mapbox/clean-postclone.js
deleted file mode 100644
index b0351aefd..000000000
--- a/grunt-tasks/mapbox/clean-postclone.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: ['mapbox-repo*', 'test-mapbox*']
- }
- ]
-};
diff --git a/grunt-tasks/mapbox/clean-preclone.js b/grunt-tasks/mapbox/clean-preclone.js
deleted file mode 100644
index 4e3ef46d8..000000000
--- a/grunt-tasks/mapbox/clean-preclone.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = {
- files: [
- {
- dot: true,
- src: [
- '<%= config.app %><%= config["mapbox"].path %>/v*',
- '<%= config.app %><%= config["mapbox"].path %><%= config["mapbox"].data %>/sidebar_*.yml',
- '<%= config.app %><%= config["mapbox"].path %>/_includes/*/imported_content',
- '<%= config.app %><%= config["mapbox"].path %><%= config["mapbox"].data %>/examples.json',
- '<%= config.app %><%= config["mapbox"].path %>/examples/maps/'
- ]
- }
- ]
-};
diff --git a/grunt-tasks/mapbox/copy-examples.js b/grunt-tasks/mapbox/copy-examples.js
deleted file mode 100644
index 10c11df20..000000000
--- a/grunt-tasks/mapbox/copy-examples.js
+++ /dev/null
@@ -1,61 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/mapbox/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/mapbox/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/mapbox/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/mapbox/examples/maps'
- }
-];
-
-config['mapbox'].releases.forEach(function (version) {
- files.push(
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/' + version + '/_includes/examples',
- src: '**/*.html',
- dest: '<%= config.app %>/mapbox/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/' + version + '/_includes/examples',
- src: '**/*.js',
- dest: '<%= config.app %>/mapbox/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/' + version + '/_includes/examples',
- src: '*.css',
- dest: '<%= config.app %>/mapbox/' + version + '/examples/maps'
- },
- {
- expand: true,
- cwd: '<%= config.app %>/mapbox/' + version + '/_includes/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/mapbox/' + version + '/examples/maps'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/mapbox/copy.js b/grunt-tasks/mapbox/copy.js
deleted file mode 100644
index ce3009abe..000000000
--- a/grunt-tasks/mapbox/copy.js
+++ /dev/null
@@ -1,113 +0,0 @@
-var config = require('../config');
-
-var files = [
- // reference
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/docs/reference',
- src: '**/*.md',
- dest: '<%= config.app %>/mapbox/_includes/reference/imported_content/'
- },
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/docs/reference',
- src: '**/*.yaml',
- dest: '<%= config.app %>/mapbox/reference/'
- },
- // examples
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/examples',
- src: '*.json',
- dest: '<%= config.app %>/mapbox/_data'
- },
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/examples',
- src: '*.css',
- dest: '<%= config.app %>/mapbox/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/mapbox/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/docs/guides',
- src: '**/*.md',
- dest: '<%= config.app %>/mapbox/_includes/guides/imported_content/'
- }
-];
-
-config['mapbox'].releases.forEach(function (version) {
- files.push(
- // reference
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/docs/reference',
- src: '**/*.md',
- dest:
- '<%= config.app %>/mapbox/' +
- version +
- '/_includes/reference/imported_content/'
- },
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/docs/reference',
- src: '**/*.yaml',
- dest: '<%= config.app %>/mapbox/' + version + '/reference/'
- },
- // support
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/docs/support',
- src: '**/*.md',
- dest:
- '<%= config.app %>/mapbox/' +
- version +
- '/_includes/support/imported_content/'
- },
- // media
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/docs/media',
- src: '**/*.*',
- dest: '<%= config.app %>/mapbox/' + version + '/img/'
- },
- // examples
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/examples',
- src: '*.json',
- dest: '<%= config.app %>/mapbox/' + version + '/_data'
- },
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/examples',
- src: '*.css',
- dest: '<%= config.app %>/mapbox/' + version + '/_includes/examples/'
- },
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/examples',
- src: '**/*.png',
- dest: '<%= config.app %>/mapbox/' + version + '/_includes/examples/'
- },
- // guides
- {
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/docs/guides',
- src: ['**/*.md'],
- dest:
- '<%= config.app %><%= config["mapbox"].path %>/' +
- version +
- '/_includes/guides/imported_content/'
- }
- );
-});
-
-module.exports = {
- files: files
-};
diff --git a/grunt-tasks/mapbox/shell-gitclone.js b/grunt-tasks/mapbox/shell-gitclone.js
deleted file mode 100644
index 3a09dd850..000000000
--- a/grunt-tasks/mapbox/shell-gitclone.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var downloadFromGitHubCommand =
- 'curl -L https://api.github.com/repos/CartoDB/viz-doc/tarball/<%= config["mapbox"].branch || config["mapbox"].tag %> > test-mapbox.tar.gz && mkdir -p mapbox-repo && tar -xf test-mapbox.tar.gz --strip-components=1 -C mapbox-repo';
-
-console.log(downloadFromGitHubCommand);
-module.exports = {
- command: downloadFromGitHubCommand
-};
diff --git a/grunt-tasks/mapbox/string-replace-examples.js b/grunt-tasks/mapbox/string-replace-examples.js
deleted file mode 100644
index 8e561bad7..000000000
--- a/grunt-tasks/mapbox/string-replace-examples.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var config = require('../config');
-
-var files = [
- {
- expand: true,
- cwd: 'mapbox-repo/mapbox/examples',
- src: '**/*.html',
- dest: '_app/mapbox/_includes/examples/'
- }
-];
-
-config['mapbox'].releases.forEach(function (version) {
- files.push({
- expand: true,
- cwd: 'mapbox-repos/' + version + '/mapbox/examples',
- src: '**/*.html',
- dest:
- '<%= config.app %>/<%= config["mapbox"].path %>/' +
- version +
- '/_includes/examples/'
- });
-});
-
-module.exports = {
- files: files,
- options: {
- replacements: []
- }
-};