From 9b89384aa2e7e068172d27719f8c133d205a9814 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Fri, 6 Dec 2019 15:03:34 +1300 Subject: [PATCH 1/4] Update userguide for compliance with new docs site --- docs/en/userguide/about-translatable.md | 4 ++-- docs/en/userguide/index.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/userguide/about-translatable.md b/docs/en/userguide/about-translatable.md index 600357c..934447e 100644 --- a/docs/en/userguide/about-translatable.md +++ b/docs/en/userguide/about-translatable.md @@ -2,11 +2,11 @@ The SilverStripe Translatable module allows you to create and edit multiple pages in various languages. This module also adds the ability for your users to select which language of a page they wish to view. -
+[note] Notes: The SilverStripe Translatable module does not translate content automatically, content authors will need to enter the translated content manually for each translated page. -
+[/note] To begin translating content select a page in your site tree from the "Pages" admin. You can see in the below image: diff --git a/docs/en/userguide/index.md b/docs/en/userguide/index.md index 6bccd84..df848db 100644 --- a/docs/en/userguide/index.md +++ b/docs/en/userguide/index.md @@ -1,5 +1,7 @@ +--- title: Working with translations summary: Adding translated content to your website. +--- # Working with translations From bed7d9a0681ef19171c987a88dea27055193b43c Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Thu, 19 Dec 2019 13:49:38 +1300 Subject: [PATCH 2/4] META: Add github action to build docs --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c9fad7e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +name: Build Docs +on: + push: + branches: + - '2.1' + paths: + - 'docs/en/userguide/**' +jobs: + build: + name: build-docs + runs-on: ubuntu-latest + steps: + - name: Run build hook + run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK }} From ae1155cd04f1e512d0e6ca7134c525882c66bd41 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 11 Oct 2020 16:22:57 +1300 Subject: [PATCH 3/4] MNT: Fix invalid composer.json casing --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 934c782..3ae0f4c 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "silverstripe/postgresql": "*", "silverstripe/sqlite3": "*", "silverstripe/mssql": "*", - "phpunit/PHPUnit": "~3.7@stable" + "phpunit/phpunit": "~3.7@stable" }, "extra": { From 97379fc92b7809d328ac1d1b6e215403e66ada4f Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 11 Oct 2020 16:23:45 +1300 Subject: [PATCH 4/4] MNT: Fix invalid composer.json casing --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 26548e2..b006471 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "silverstripe/postgresql": "*", "silverstripe/sqlite3": "*", "silverstripe/mssql": "*", - "phpunit/PHPUnit": "~3.7@stable" + "phpunit/phpunit": "~3.7@stable" }, "extra": { "screenshots": [