Updated links to docs (#1276)

no issue
This commit is contained in:
Aileen Nowak 2019-07-22 16:53:24 +08:00 committed by GitHub
parent c8ba6a21df
commit b134b24679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 25 additions and 25 deletions

View File

@ -17,7 +17,7 @@ If you've got an idea for a new feature, please start by suggesting it in the [f
If you're going to work on Ghost core you'll need to go through a slightly more involved install and setup process than the usual Ghost CLI version.
First you'll need to fork both [Ghost](https://github.com/tryghost/ghost) and [Ghost-Admin](https://github.com/tryghost/ghost-admin) to your personal Github account, and then follow the detailed [install from source](https://docs.ghost.org/install/source/) setup guide.
First you'll need to fork both [Ghost](https://github.com/tryghost/ghost) and [Ghost-Admin](https://github.com/tryghost/ghost-admin) to your personal Github account, and then follow the detailed [install from source](https://ghost.org/docs/install/source/) setup guide.
### Branching Guide

View File

@ -4,9 +4,9 @@
This is the home of Ember.js based admin client that ships with [Ghost](https://github.com/tryghost/ghost).
**Do you want to set up a Ghost blog?** Check the [getting started guide](https://docs.ghost.org/concepts/introduction/)
**Do you want to set up a Ghost blog?** Check the [getting started guide](https://ghost.org/docs/concepts/introduction/)
**Do you want to modify or contribute to Ghost-Admin?** Please read how to [install from source](https://docs.ghost.org/install/source/) and swing by our [forum](https://forum.ghost.org) if you need any help 😄
**Do you want to modify or contribute to Ghost-Admin?** Please read how to [install from source](https://ghost.org/docs/install/source/) and swing by our [forum](https://forum.ghost.org) if you need any help 😄
## Have a bug or issue?

View File

@ -4,6 +4,6 @@ Potential security vulnerabilities can be reported directly us at `security@ghos
The full, up-to-date details of our security policy and procedure can always be found in our documentation:
https://docs.ghost.org/security/
https://ghost.org/docs/concepts/security/
Please refer to this before emailing us. Thanks for helping make Ghost safe for everyone 🙏.

View File

@ -230,7 +230,7 @@ export default Controller.extend({
invitationsString = erroredEmails.length > 1 ? ' invitations: ' : ' invitation: ';
message = `Failed to send ${erroredEmails.length} ${invitationsString}`;
message += Ember.Handlebars.Utils.escapeExpression(erroredEmails.join(', '));
message += '. Please check your email configuration, see <a href=\'https://docs.ghost.org/mail/\' target=\'_blank\'>https://docs.ghost.org/mail/</a> for instructions';
message += '. Please check your email configuration, see <a href=\'https://ghost.org/docs/concepts/config/#mail\' target=\'_blank\'>https://ghost.org/docs/concepts/config/#mail</a> for instructions';
message = htmlSafe(message);
notifications.showAlert(message, {type: 'error', delayed: successCount > 0, key: 'signup.send-invitations.failed'});

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://docs.ghost.org/api/handlebars-themes/" target="_blank">https://docs.ghost.org/api/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/v2/handlebars-themes/" target="_blank">https://ghost.org/docs/api/v2/handlebars-themes/</a></strong>'
}];
},

View File

@ -11,7 +11,7 @@
<li><strong>Mail</strong> {{#if config.mail}}{{config.mail}}{{else}}Native{{/if}}</li>
</ul>
<div class="gh-env-help">
<a class="gh-btn" href="https://docs.ghost.org" target="_blank"><span>User Documentation</span></a>
<a class="gh-btn" href="https://ghost.org/docs/" target="_blank"><span>User Documentation</span></a>
<a class="gh-btn" href="https://forum.ghost.org/" target="_blank"><span>Get Help With Ghost</span></a>
</div>
</section>
@ -33,7 +33,7 @@
<p>Ghost is built by an incredible group of contributors from all over the world. Here are just a few of the people who helped create the version youre using right now.</p>
<a class="gh-btn gh-btn-blue" href="https://docs.ghost.org/concepts/contributing/" target="_blank"><span>Find out how you can get involved</span></a>
<a class="gh-btn gh-btn-blue" href="https://ghost.org/docs/concepts/contributing/" target="_blank"><span>Find out how you can get involved</span></a>
</section>

View File

@ -122,7 +122,7 @@
{{/link-to}}
</li>
<li role="presentation">
<a class="dropdown-item" role="menuitem" tabindex="-1" href="https://docs.ghost.org/" target="_blank">
<a class="dropdown-item" role="menuitem" tabindex="-1" href="https://ghost.org/docs/" target="_blank">
{{svg-jar "ambulance"}} Support Center
</a>
</li>
@ -135,7 +135,7 @@
</a>
</li>
<li role="presentation">
<a class="dropdown-item" role="menuitem" tabindex="-1" href="https://docs.ghost.org/faq/using-ghost/" target="_blank">
<a class="dropdown-item" role="menuitem" tabindex="-1" href="https://ghost.org/faq/using-ghost/" target="_blank">
{{svg-jar "book-open"}} How to Use Ghost
</a>
</li>

View File

@ -109,7 +109,7 @@
</div>
</div>
</a>
<a class="td-cta-box td-cta-docs" href="https://docs.ghost.org/api/handlebars-themes/" target="_blank" rel="noopener">
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/v2/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://docs.ghost.org/api/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/v2/handlebars-themes/helpers/translate/" target="_blank" rel="noopener">any language</a></p>
{{/gh-form-group}}
</div>
{{/liquid-if}}

View File

@ -6,49 +6,49 @@
</GhCanvasHeader>
<div class="integrations-directory">
<a class="id-item" href="https://docs.ghost.org/integrations/disqus/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/disqus/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-disqus">
<img class="w-100 h-100" style="object-fit:contain;" src="assets/img/disqus.svg" alt="Disqus Icon" />
</div>
<div class="f8 mt1">Disqus</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/google/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/google/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-analytics">
<img class="w-100 h-100" style="object-fit:contain;padding:1px 0;" src="assets/img/google-analytics.png" alt="Google Analytics Icon" />
</div>
<div class="f8 mt1">Analytics</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/mailchimp/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/mailchimp/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-mailchimp">
<img class="w-100 h-100" style="object-fit:contain;" src="assets/img/mailchimp.svg" alt="Mailchimp Icon" />
</div>
<div class="f8 mt1">Mailchimp</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/typeform/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/typeform/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-typeform">
<img class="w-100 h-100" style="object-fit:contain;" src="assets/img/typeform.svg" alt="Typeform Icon" />
</div>
<div class="f8 mt1">Typeform</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/youtube/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/youtube/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-youtube">
<img class="w-100 h-100" style="object-fit:contain;" src="assets/img/youtube.png" alt="YouTube Icon" />
</div>
<div class="f8 mt1">YouTube</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/buffer/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/buffer/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-buffer">
<img class="w-100 h-100" style="object-fit:contain;padding:1px 0;" src="assets/img/buffer.png" alt="Buffer Icon" />
</div>
<div class="f8 mt1">Buffer</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/revue/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/revue/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-revue">
<img class="w-100 h-100" style="object-fit:contain;padding:1px 0;" src="assets/img/revue.svg" alt="Revue Icon" />
</div>
<div class="f8 mt1">Revue</div>
</a>
<a class="id-item" href="https://docs.ghost.org/integrations/" target="_blank" rel="noopener noreferrer">
<a class="id-item" href="https://ghost.org/integrations/" target="_blank" rel="noopener noreferrer">
<div class="id-item-logo id-more">
<img class="w-100 h-100" style="object-fit:contain;padding:0 8px;" src="assets/img/more.png" alt="Three dots" />
</div>

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://docs.ghost.org/api/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/v2/content/">the docs</a></div>
</div>
<div class="gh-setting-action">
<div class="for-switch">{{gh-feature-flag "publicAPI"}}</div>
@ -113,7 +113,7 @@
<div class="gh-setting-content">
<div class="gh-setting-title">Subscribers</div>
<div class="gh-setting-desc">Collect email addresses from your readers, more info in <a
href="https://docs.ghost.org/faq/enable-subscribers-feature/">the docs</a></div>
href="https://ghost.org/faq/enable-subscribers-feature/">the docs</a></div>
</div>
<div class="gh-setting-action">
{{#if feature.members}}
@ -244,7 +244,7 @@
}}
<div class="gh-setting-content">
<div class="gh-setting-title">Redirects</div>
<div class="gh-setting-desc">Configure redirects for old or moved content, more info in <a href="https://docs.ghost.org/tutorials/implementing-redirects/">the docs</a></div>
<div class="gh-setting-desc">Configure redirects for old or moved content, more info in <a href="https://ghost.org/tutorials/implementing-redirects/">the docs</a></div>
{{#each uploader.errors as |error|}}
<div class="gh-setting-error" data-test-error="redirects">{{or error.context error.message}}</div>
{{/each}}

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://docs.ghost.org/api/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/v2/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://docs.ghost.org/api/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/v2/handlebars-themes/helpers/asset/">asset helper documentation</a>.</p>',
failures: [
{
ref: '/assets/dist/img/apple-touch-icon.png'