🔗 Updated docs api links to be version-less

This commit is contained in:
Aileen Nowak 2019-07-25 15:15:31 +08:00
parent dad908911b
commit dbb3368921
5 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ export default Service.extend(Evented, {
}, {
id: 'upload-a-theme',
title: 'Customising your publication',
message: 'Using custom themes you can completely control the look and feel of your site to suit your brand. Here\'s a full guide to help: <strong><a href="https://ghost.org/docs/api/v2/handlebars-themes/" target="_blank">https://ghost.org/docs/api/v2/handlebars-themes/</a></strong>'
message: 'Using custom themes you can completely control the look and feel of your site to suit your brand. Here\'s a full guide to help: <strong><a href="https://ghost.org/docs/api/handlebars-themes/" target="_blank">https://ghost.org/docs/api/handlebars-themes/</a></strong>'
}];
},

View File

@ -109,7 +109,7 @@
</div>
</div>
</a>
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/v2/handlebars-themes/" target="_blank" rel="noopener">
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/handlebars-themes/" target="_blank" rel="noopener">
<div class="td-cta-icon">{{svg-jar "book-open"}}</div>
<div class="td-cta-content-wrapper">
<div class="td-cta-content">

View File

@ -86,7 +86,7 @@
data-test-default-locale-input=true
}}
{{gh-error-message errors=settings.errors property="defaultLocale"}}
<p>Default: English (<strong>en</strong>); you can add translation files to your theme for <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/translate/" target="_blank" rel="noopener">any language</a></p>
<p>Default: English (<strong>en</strong>); you can add translation files to your theme for <a href="https://ghost.org/docs/api/handlebars-themes/helpers/translate/" target="_blank" rel="noopener">any language</a></p>
{{/gh-form-group}}
</div>
{{/liquid-if}}

View File

@ -102,7 +102,7 @@
<div class="gh-setting">
<div class="gh-setting-content">
<div class="gh-setting-title">Public API (deprecated)</div>
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://ghost.org/docs/api/v2/content/">the docs</a></div>
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://ghost.org/docs/api/content/">the docs</a></div>
</div>
<div class="gh-setting-action">
<div class="for-switch">{{gh-feature-flag "publicAPI"}}</div>

View File

@ -383,7 +383,7 @@ describe('Acceptance: Settings - Design', function () {
theme.warnings = [{
level: 'warning',
rule: 'Assets such as CSS & JS must use the <code>{{asset}}</code> helper',
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
failures: [
{
ref: '/assets/dist/img/apple-touch-icon.png'
@ -565,7 +565,7 @@ describe('Acceptance: Settings - Design', function () {
theme.update({warnings: [{
level: 'warning',
rule: 'Assets such as CSS & JS must use the <code>{{asset}}</code> helper',
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/v2/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
details: '<p>The listed files should be included using the <code>{{asset}}</code> helper. For more information, please see the <a href="https://ghost.org/docs/api/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
failures: [
{
ref: '/assets/dist/img/apple-touch-icon.png'