From 28401962caff028f328d674878e1f0abd16ffdfd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 6 Oct 2018 07:33:36 +0200 Subject: Change documentation URL (#8898) * Change documentation URL * Fix hardcoded documentation URL in locales --- app/javascript/mastodon/features/getting_started/index.js | 2 +- app/javascript/mastodon/features/ui/components/onboarding_modal.js | 2 +- app/views/home/index.html.haml | 2 +- app/views/layouts/public.html.haml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app') diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index d5ba5cbce..0fd9badac 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -144,7 +144,7 @@ class GettingStarted extends ImmutablePureComponent {
  • ·
  • ·
  • ·
  • -
  • ·
  • +
  • ·
  • diff --git a/app/javascript/mastodon/features/ui/components/onboarding_modal.js b/app/javascript/mastodon/features/ui/components/onboarding_modal.js index 25241bcd0..4a5b249c9 100644 --- a/app/javascript/mastodon/features/ui/components/onboarding_modal.js +++ b/app/javascript/mastodon/features/ui/components/onboarding_modal.js @@ -160,7 +160,7 @@ const PageSix = ({ admin, domain }) => {

    {adminSection}

    GitHub }} />

    -

    }} />

    +

    }} />

    ); diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 7b1a7e50a..6f3a6942e 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -14,4 +14,4 @@ = image_tag asset_pack_path('logo.svg'), alt: 'Mastodon' %div - = t('errors.noscript_html') + = t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps') diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 6bf7efb23..e17c777d0 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -29,8 +29,8 @@ .column-1 %h4= t 'footer.developers' %ul - %li= link_to t('about.documentation'), 'https://github.com/tootsuite/documentation' - %li= link_to t('about.api'), 'https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md' + %li= link_to t('about.documentation'), 'https://docs.joinmastodon.org/' + %li= link_to t('about.api'), 'https://docs.joinmastodon.org/api/guidelines/' .column-2 %h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/' -- cgit