Skip to content

Commit

Permalink
Adjust links: crate.io became cratedb.com
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 20, 2023
1 parent 9168177 commit 41275eb
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Looking for more help?

.. _Bower: http://bower.io
.. _contribution docs: CONTRIBUTING.rst
.. _Crate.io: http://crate.io/
.. _Crate.io: http://cratedb.com/
.. _CrateDB: https://github.com/crate/crate
.. _developer docs: DEVELOP.rst
.. _project docs: https://crate.io/docs/connect/admin_ui/
.. _support channels: https://crate.io/support/
.. _project docs: https://cratedb.com/docs/connect/admin_ui/
.. _support channels: https://cratedb.com/support/


.. |test-status| image:: https://github.com/crate/crate-admin/workflows/Tests/badge.svg
Expand Down
6 changes: 3 additions & 3 deletions app/plugins/tutorial/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h3 class="help__item__content_title">{{ 'HELP.STACK_OVERFLOW_TITLE' | translate
</div>
</a>

<a class="help__item" href="https://community.crate.io">
<a class="help__item" href="https://community.cratedb.com">
<div class="help__item__icon"><img src="static/plugins/tutorial/static/icons/icon-discourse.svg"/></div>
<div class="help__item__content">
<h3 class="help__item__content_title">{{ 'HELP.DISCOURSE_TITLE' | translate}}</h3>
Expand All @@ -34,15 +34,15 @@ <h3 class="help__item__content_title">{{ 'HELP.GITHUB_TITLE' | translate}}</h3>
</div>
</a>

<a class="help__item" href="https://crate.io/docs/">
<a class="help__item" href="https://cratedb.com/docs/">
<div class="help__item__icon"><img src="static/plugins/tutorial/static/icons/icon-documentation.svg"/></div>
<div class="help__item__content">
<h3 class="help__item__content_title">{{ 'HELP.DOCUMENTATION_TITLE' | translate}}</h3>
<div class="help__item__content__url">{{ 'HELP.DOCUMENTATION_MSG' | translate }}</div>
</div>
</a>

<a class="help__item" href="https://crate.io/enterprise/">
<a class="help__item" href="https://cratedb.com/enterprise/">
<div class="help__item__icon"><img src="static/plugins/tutorial/static/icons/icon-enterprise.svg"/></div>
<div class="help__item__content">
<h3 class="help__item__content_title">{{ 'HELP.ENTERPRISE_TITLE' | translate}}</h3>
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/controllers/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const commons = angular.module('common', ['stats', 'events', 'sql'])
return memo;
}, {});

var DOCS_BASE_URL = 'https://crate.io/docs';
var DOCS_BASE_URL = 'https://cratedb.com/docs';
var getMajorMinorVersion = function getMajorMinorVersion(version) {
var SHORT_VERSION_RE = new RegExp(/(\d+\.\d+)\.\d+.*/);
return version ? version.number.match(SHORT_VERSION_RE)[1] : null;
Expand Down
4 changes: 2 additions & 2 deletions app/scripts/controllers/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ const feed = angular.module('feed', ['stats', 'utils'])
// Set default menu data
$scope.menu = [
{
'url': 'https://crate.io/demo?utm_source=adminui&utm_medium=browser&utm_term=&utm_content=demolink&utm_campaign=newsfeed&ajs_event=clicked_demo_link',
'url': 'https://cratedb.com/demo?utm_source=adminui&utm_medium=browser&utm_term=&utm_content=demolink&utm_campaign=newsfeed&ajs_event=clicked_demo_link',
'title': 'Schedule a 1-ON-1 demo with a Crate engineer'
},
{
'url': 'https://crate.io/blog/',
'url': 'https://cratedb.com/blog/',
'title': 'CrateDB blog'
}
];
Expand Down
8 changes: 4 additions & 4 deletions app/tests/controllers/feed.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ describe('Feed', function() {

describe('QueryStringAppender', function() {
it('should append ?', inject(function() {
var url = 'https://crate.io/';
var url = 'https://cratedb.com/';
url = QueryStringAppender.append(url, 'foo', 'bar');
expect(url).toEqual('https://crate.io/?foo=bar');
expect(url).toEqual('https://cratedb.com/?foo=bar');
}));
it('should append &', inject(function() {
var url = 'https://crate.io/';
var url = 'https://cratedb.com/';
url = QueryStringAppender.append(url, 'foo', 'bar');
url = QueryStringAppender.append(url, 'bar', 'baz');
expect(url).toEqual('https://crate.io/?foo=bar&bar=baz');
expect(url).toEqual('https://cratedb.com/?foo=bar&bar=baz');
}));
});

Expand Down
2 changes: 1 addition & 1 deletion app/views/table-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h2>{{ 'TABLE.SCHEMA' | translate }}</h2>
<div class="table-schema__detail__row" ng-repeat="row in schemaRows track by $index">
<div class="table-schema__detail__cell"> <span>{{ row.column_name }}</span>
<div ng-if="row.is_generated" class="generation-expression"> AS {{ row.generation_expression }} </div>
<a class="generation-expression--help" ng-if="row.is_generated" target="_blank" href="https://crate.io/docs/crate/reference/sql/ddl/generated_columns.html"><i class="fa fa-question-circle" aria-hidden="true" ></i></a>
<a class="generation-expression--help" ng-if="row.is_generated" target="_blank" href="https://cratedb.com/docs/crate/reference/sql/ddl/generated_columns.html"><i class="fa fa-question-circle" aria-hidden="true" ></i></a>
</div>
<div class="table-schema__detail__cell"> {{ row.data_type }} </div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1 class="cr-page-header">{{ 'TABLE.TITLE' | translate }}</h1>
<div class="cr-panel-block">
<p>
<b>{{ 'TABLE.VOID_MESSAGE' | translate }}</b>
<span translate="TABLE.VOID_DETAILS" translate-values="{statement: '<a target=\'_blank\' href=\'https://crate.io/docs/crate/reference/en/latest/general/ddl/create-table.html\'>CREATE TABLE</a>'}"></span>
<span translate="TABLE.VOID_DETAILS" translate-values="{statement: '<a target=\'_blank\' href=\'https://cratedb.com/docs/crate/reference/en/latest/general/ddl/create-table.html\'>CREATE TABLE</a>'}"></span>
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/views.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1 class="cr-page-header">{{ 'VIEW.TITLE' | translate }}</h1>
<div class="cr-panel-block">
<p>
<b>{{ 'VIEW.VOID_MESSAGE' | translate }}</b>
<span translate="VIEW.VOID_DETAILS" translate-values="{statement: '<a target=\'_blank\' href=\'https://crate.io/docs/crate/reference/en/latest/general/ddl/views.html\'>CREATE VIEW</a>'}"></span>
<span translate="VIEW.VOID_DETAILS" translate-values="{statement: '<a target=\'_blank\' href=\'https://cratedb.com/docs/crate/reference/en/latest/general/ddl/views.html\'>CREATE VIEW</a>'}"></span>
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/_extra/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Disallow: /

Sitemap: https://crate.io/docs/crate/admin-ui/en/latest/site.xml
Sitemap: https://cratedb.com/docs/crate/admin-ui/en/latest/site.xml

0 comments on commit 41275eb

Please sign in to comment.