From bcd8f485ad0d8ba66dbfa8c6c08d7c409d6eb62f Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 16 Jan 2019 16:03:33 +0000 Subject: [PATCH] Updated docs links to best equivalents (#1097) - Our documentation has been overhauled, this updates the all the old links sprinkled through Ghost-Admin --- README.md | 6 +++--- app/controllers/setup/three.js | 2 +- app/services/tour.js | 2 +- app/templates/about.hbs | 4 ++-- app/templates/components/gh-nav-menu.hbs | 4 ++-- app/templates/editor.hbs | 2 +- app/templates/settings/general.hbs | 2 +- app/templates/settings/labs.hbs | 4 ++-- tests/acceptance/settings/design-test.js | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 4a488eaee4..b928d91f81 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Ghost-Admin -[![Build Status](https://travis-ci.org/TryGhost/Ghost-Admin.svg?branch=master)](https://travis-ci.org/TryGhost/Ghost-Admin) +[![Build Status](https://travis-ci.org/TryGhost/Ghost-Admin.svg?branch=master)](https://travis-ci.org/TryGhost/Ghost-Admin) [![Coverage Status](https://coveralls.io/repos/github/TryGhost/Ghost-Admin/badge.svg)](https://coveralls.io/github/TryGhost/Ghost-Admin) 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/docs/getting-started-guide) +**Do you want to set up a Ghost blog?** Check the [getting started guide](https://docs.ghost.org/concepts/introduction/) -**Do you want to modify or contribute to Ghost-Admin?** Please read the [working with Ghost-Admin](https://docs.ghost.org/docs/working-with-the-admin-client) section of our contributing guide for setup details 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://docs.ghost.org/install/source/) and swing by our [forum](https://forum.ghost.org) if you need any help ๐Ÿ˜„ ## Have a bug or issue? diff --git a/app/controllers/setup/three.js b/app/controllers/setup/three.js index c5d0ef7fc3..96d02266d9 100644 --- a/app/controllers/setup/three.js +++ b/app/controllers/setup/three.js @@ -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 https://docs.ghost.org/v1.0.0/docs/mail-config for instructions'; + message += '. Please check your email configuration, see https://docs.ghost.org/mail/ for instructions'; message = htmlSafe(message); notifications.showAlert(message, {type: 'error', delayed: successCount > 0, key: 'signup.send-invitations.failed'}); diff --git a/app/services/tour.js b/app/services/tour.js index 512f0956b0..2ad99c5e2a 100644 --- a/app/services/tour.js +++ b/app/services/tour.js @@ -64,7 +64,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 branch. Here\'s a full guide to help: https://themes.ghost.org' + message: 'Using custom themes, you can completely control the look and feel of your site to suit your branch. Here\'s a full guide to help: https://docs.ghost.org/api/handlebars-themes/' }]; }, diff --git a/app/templates/about.hbs b/app/templates/about.hbs index a59b47dec0..bf9da0901c 100644 --- a/app/templates/about.hbs +++ b/app/templates/about.hbs @@ -11,7 +11,7 @@
  • Mail {{#if about.mail}}{{about.mail}}{{else}}Native{{/if}}
  • - User Documentation + User Documentation Get Help With Ghost
    @@ -33,7 +33,7 @@

    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 youโ€™re using right now.

    - Find out how you can get involved + Find out how you can get involved diff --git a/app/templates/components/gh-nav-menu.hbs b/app/templates/components/gh-nav-menu.hbs index b16da4e831..54069762c3 100644 --- a/app/templates/components/gh-nav-menu.hbs +++ b/app/templates/components/gh-nav-menu.hbs @@ -12,9 +12,9 @@
  • {{#link-to "about" classNames="dropdown-item" role="menuitem" tabindex="-1" data-test-nav="about"}}{{svg-jar "store"}} About Ghost{{/link-to}}
  • {{#link-to "team.user" session.user.slug classNames="dropdown-item" role="menuitem" tabindex="-1" data-test-nav="user-profile"}}{{svg-jar "user-circle"}} Your Profile{{/link-to}}
  • -
  • {{svg-jar "ambulance"}} Support Center
  • +
  • {{svg-jar "ambulance"}} Support Center
  • {{svg-jar "twitter"}} Tweet @TryGhost!
  • -
  • {{svg-jar "book-open"}} How to Use Ghost
  • +
  • {{svg-jar "book-open"}} How to Use Ghost
  • {{#if showDropdownExtension}} diff --git a/app/templates/editor.hbs b/app/templates/editor.hbs index 55cdaf849a..c443cc03e2 100644 --- a/app/templates/editor.hbs +++ b/app/templates/editor.hbs @@ -90,7 +90,7 @@
    {{pluralize wordCount.wordCount "word"}}
    - {{svg-jar "help" class="w4 h4 stroke-midgrey-l2"}} + {{svg-jar "help" class="w4 h4 stroke-midgrey-l2"}} {{/gh-editor}} diff --git a/app/templates/settings/general.hbs b/app/templates/settings/general.hbs index 868734bb5e..bed60ae243 100644 --- a/app/templates/settings/general.hbs +++ b/app/templates/settings/general.hbs @@ -81,7 +81,7 @@ data-test-default-locale-input=true }} {{gh-error-message errors=settings.errors property="defaultLocale"}} -

    Default: English (en); you can add translation files to your theme for any language

    +

    Default: English (en); you can add translation files to your theme for any language

    {{/gh-form-group}} {{/liquid-if}} diff --git a/app/templates/settings/labs.hbs b/app/templates/settings/labs.hbs index 4d524dc64b..ec19f8dc22 100644 --- a/app/templates/settings/labs.hbs +++ b/app/templates/settings/labs.hbs @@ -105,7 +105,7 @@
    Subscribers
    -
    Collect email addresses from your readers, more info in the docs
    +
    Collect email addresses from your readers, more info in the docs
    {{gh-feature-flag "subscribers"}}
    @@ -122,7 +122,7 @@ }}
    Redirects
    -
    Configure redirects for old or moved content, more info in the docs
    +
    Configure redirects for old or moved content, more info in the docs
    {{#each uploader.errors as |error|}}
    {{error.message}}
    {{/each}} diff --git a/tests/acceptance/settings/design-test.js b/tests/acceptance/settings/design-test.js index 746d838a1e..9104edb1ad 100644 --- a/tests/acceptance/settings/design-test.js +++ b/tests/acceptance/settings/design-test.js @@ -384,7 +384,7 @@ describe('Acceptance: Settings - Design', function () { theme.warnings = [{ level: 'warning', rule: 'Assets such as CSS & JS must use the {{asset}} helper', - details: '

    The listed files should be included using the {{asset}} helper. For more information, please see the asset helper documentation.

    ', + details: '

    The listed files should be included using the {{asset}} helper. For more information, please see the asset helper documentation.

    ', failures: [ { ref: '/assets/dist/img/apple-touch-icon.png' @@ -563,7 +563,7 @@ describe('Acceptance: Settings - Design', function () { theme.update({warnings: [{ level: 'warning', rule: 'Assets such as CSS & JS must use the {{asset}} helper', - details: '

    The listed files should be included using the {{asset}} helper. For more information, please see the asset helper documentation.

    ', + details: '

    The listed files should be included using the {{asset}} helper. For more information, please see the asset helper documentation.

    ', failures: [ { ref: '/assets/dist/img/apple-touch-icon.png'