Update /docs links to point to /developers

pull/13937/head
rubenmoya 6 years ago
parent 3927ee7d64
commit 6100711d6f

@ -160,7 +160,7 @@ class Api::Json::SynchronizationsController < Api::ApplicationController
name: params[:table_name], name: params[:table_name],
user_id: current_user.id, user_id: current_user.id,
state: Synchronization::Member::STATE_CREATED, state: Synchronization::Member::STATE_CREATED,
# Keep in sync with https://carto.com/docs/carto-engine/import-api/sync-tables/#params-1 # Keep in sync with https://carto.com/developers/import-api/guides/sync-tables/#params-1
type_guessing: !["false", false].include?(params[:type_guessing]), type_guessing: !["false", false].include?(params[:type_guessing]),
quoted_fields_guessing: !["false", false].include?(params[:quoted_fields_guessing]), quoted_fields_guessing: !["false", false].include?(params[:quoted_fields_guessing]),
content_guessing: ["true", true].include?(params[:content_guessing]) content_guessing: ["true", true].include?(params[:content_guessing])

@ -63,7 +63,7 @@ module Carto
if @fetch_app_types == true if @fetch_app_types == true
data[:app_types] = { data[:app_types] = {
"open": { "open": {
text: "Limits based on your CARTO plan. <a href='https://carto.com/docs/faqs/carto-engine-usage-limits/' text: "Limits based on your CARTO plan. <a href='https://carto.com/developers/fundamentals/limits/'
target='_blank'>Learn more</a>.", target='_blank'>Learn more</a>.",
available: app_type_available?('open', @current_user.open_apps_enabled?), available: app_type_available?('open', @current_user.open_apps_enabled?),
selected: app_type_selected?('open') selected: app_type_selected?('open')

@ -5,7 +5,7 @@
<p>CARTO is an open, powerful, and intuitive platform for discovering and predicting the key insights underlying the location data in our world.</p> <p>CARTO is an open, powerful, and intuitive platform for discovering and predicting the key insights underlying the location data in our world.</p>
<p>Here are some resources to get you up and running:</p> <p>Here are some resources to get you up and running:</p>
<ul> <ul>
<li><a href="https://carto.com/docs/">CARTO Docs</a>: Guides, FAQs and tutorials</li> <li><a href="https://carto.com/developers/">CARTO Docs</a>: Guides, FAQs and tutorials</li>
<li><a href="https://carto.com/resources/">Resource Center</a>: Case studies and white papers for inspiration</li> <li><a href="https://carto.com/resources/">Resource Center</a>: Case studies and white papers for inspiration</li>
<li>Builder training videos: <a href="https://vimeo.com/173657117/340039d93f">UI</a>, <a href="https://vimeo.com/173657596/572660d9d2">Styling</a>, <a href="https://vimeo.com/173657654/970529bced">Analysis</a>, <a href="https://vimeo.com/173658241/dd37f7ea8c">Widgets</a>, <a href="https://vimeo.com/173658333/21259b1d37">Publishing</a></li> <li>Builder training videos: <a href="https://vimeo.com/173657117/340039d93f">UI</a>, <a href="https://vimeo.com/173657596/572660d9d2">Styling</a>, <a href="https://vimeo.com/173657654/970529bced">Analysis</a>, <a href="https://vimeo.com/173658241/dd37f7ea8c">Widgets</a>, <a href="https://vimeo.com/173658333/21259b1d37">Publishing</a></li>
</ul> </ul>

@ -6,7 +6,7 @@
<td align="left" style="font-size: 14px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #647083;"> <td align="left" style="font-size: 14px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #647083;">
<p>The automatic synchronization of your dataset <strong><%=@dataset_name %></strong> has reached the maximum number of synchronization attempts and it's still failing to sync.</p> <p>The automatic synchronization of your dataset <strong><%=@dataset_name %></strong> has reached the maximum number of synchronization attempts and it's still failing to sync.</p>
<p>If you'd like to continue trying, log in to your account and manually reactivate synching by clicking “Sync now”</p> <p>If you'd like to continue trying, log in to your account and manually reactivate synching by clicking “Sync now”</p>
<p>For more information about error messages and possible solution, <a href="https://carto.com/docs/carto-engine/import-api/import-errors/" target="_blank" style="color: #1181FB;">click here</a>.</p> <p>For more information about error messages and possible solution, <a href="https://carto.com/developers/import-api/support/import-errors/" target="_blank" style="color: #1181FB;">click here</a>.</p>
</td> </td>
</tr> </tr>

@ -3,7 +3,7 @@
<p>You have been invited to CARTO as part of the <strong><%= @organization.name_to_display %></strong> organization. Please login to your dashboard with your organization username (<%= @user.username %>) and the password <%= @user_needs_password ? 'provided by your administrator' : 'you entered' %><%= ' as soon as you activate your account' unless @enable_account_link.nil? %>.</p> <p>You have been invited to CARTO as part of the <strong><%= @organization.name_to_display %></strong> organization. Please login to your dashboard with your organization username (<%= @user.username %>) and the password <%= @user_needs_password ? 'provided by your administrator' : 'you entered' %><%= ' as soon as you activate your account' unless @enable_account_link.nil? %>.</p>
<p>Here are some resources to get you up and running:</p> <p>Here are some resources to get you up and running:</p>
<ul> <ul>
<li><a href="https://carto.com/docs/">CARTO Docs</a>: Guides, FAQs and tutorials</li> <li><a href="https://carto.com/developers/">CARTO Docs</a>: Guides, FAQs and tutorials</li>
<li><a href="https://carto.com/resources/">Resource Center</a>: Case studies and white papers for inspiration</li> <li><a href="https://carto.com/resources/">Resource Center</a>: Case studies and white papers for inspiration</li>
<li>Builder training videos: <a href="https://vimeo.com/173657117/340039d93f">UI</a>, <a href="https://vimeo.com/173657596/572660d9d2">Styling</a>, <a href="https://vimeo.com/173657654/970529bced">Analysis</a>, <a href="https://vimeo.com/173658241/dd37f7ea8c">Widgets</a>, <a href="https://vimeo.com/173658333/21259b1d37">Publishing</a></li> <li>Builder training videos: <a href="https://vimeo.com/173657117/340039d93f">UI</a>, <a href="https://vimeo.com/173657596/572660d9d2">Styling</a>, <a href="https://vimeo.com/173657654/970529bced">Analysis</a>, <a href="https://vimeo.com/173658241/dd37f7ea8c">Widgets</a>, <a href="https://vimeo.com/173658333/21259b1d37">Publishing</a></li>
</ul> </ul>

@ -8,7 +8,7 @@
<p class="CDB-Text CDB-Size-medium u-altTextColor"> <p class="CDB-Text CDB-Size-medium u-altTextColor">
<% if (state !== "selected") { %> <% if (state !== "selected") { %>
<% fileEnabledText = _t('components.modals.add-layer.imports.header-import.select-a-file') + <% fileEnabledText = _t('components.modals.add-layer.imports.header-import.select-a-file') +
' <a href="https://carto.com/docs/carto-engine/import-api/importing-geospatial-data/#supported-geospatial-data-formats">' + ' <a href="https://carto.com/developers/import-api/guides/importing-geospatial-data/#supported-geospatial-data-formats">' +
_t('components.modals.add-layer.imports.header-import.see-all-formats') + _t('components.modals.add-layer.imports.header-import.see-all-formats') +
'</a>' '</a>'
%> %>

@ -3,6 +3,6 @@
<%- _t('components.codemirror.syntax-error') %>: <span><%- message %></span> <%- _t('components.codemirror.syntax-error') %>: <span><%- message %></span>
</li> </li>
<li class="CodeMirror-errorDocs"> <li class="CodeMirror-errorDocs">
<a href="https://carto.com/docs/cartodb-platform/sql-api/" target="_black"><%- _t('components.codemirror.docs') %></a> <a href="https://carto.com/developers/sql-api/" target="_black"><%- _t('components.codemirror.docs') %></a>
</li> </li>
</ul> </ul>

@ -3,6 +3,6 @@
<%- _t('components.codemirror.syntax-error') %>: <span><%- message %></span> <%- _t('components.codemirror.syntax-error') %>: <span><%- message %></span>
</li> </li>
<li class="CodeMirror-errorDocs"> <li class="CodeMirror-errorDocs">
<a href="https://carto.com/docs/carto-engine/sql-api/" target="_black"><%- _t('components.codemirror.docs') %></a> <a href="https://carto.com/developers/sql-api/" target="_black"><%- _t('components.codemirror.docs') %></a>
</li> </li>
</ul> </ul>

@ -7,7 +7,7 @@
</h3> </h3>
<p class="js-description CDB-Text CDB-Size-medium u-altTextColor"> <p class="js-description CDB-Text CDB-Size-medium u-altTextColor">
<% if (state !== "selected") { %> <% if (state !== "selected") { %>
Paste a URL <% if (fileEnabled) { %>or select a file such as CSV, XLS, ZIP, KML, GPX, <a href="https://carto.com/docs/carto-engine/import-api/importing-geospatial-data#supported-geospatial-data-formats" target="_blank">see all formats</a>.<% } %> Paste a URL <% if (fileEnabled) { %>or select a file such as CSV, XLS, ZIP, KML, GPX, <a href="https://carto.com/developers/import-api/guides/importing-geospatial-data#supported-geospatial-data-formats" target="_blank">see all formats</a>.<% } %>
<% } %> <% } %>
<% if (state === "selected") { %> <% if (state === "selected") { %>
<% if (acceptSync) { %> <% if (acceptSync) { %>

Loading…
Cancel
Save