From f2b82b1f77a60de4bf1b5807e1b820aad263ae1b Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Tue, 13 Feb 2018 16:31:51 +1300 Subject: [PATCH] Fix docs for configuring before/after a specific config file --- _config/i18n.yml | 2 +- docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md | 2 +- docs/en/02_Developer_Guides/02_Controllers/02_Routing.md | 2 +- docs/en/02_Developer_Guides/13_i18n/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_config/i18n.yml b/_config/i18n.yml index 32e72f4337d..a219828b8f8 100644 --- a/_config/i18n.yml +++ b/_config/i18n.yml @@ -1,6 +1,6 @@ --- Name: basei18n -Before: '/i18n' +Before: '#defaulti18n' --- SilverStripe\i18n\Data\Sources: module_priority: diff --git a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md index 398fc525df7..44c6810b443 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md +++ b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md @@ -51,7 +51,7 @@ Make sure that after you have modified the `routes.yml` file, that you clear you ```yml --- Name: mysiteroutes -After: framework/routes#coreroutes +After: framework/_config/routes#coreroutes --- SilverStripe\Control\Director: rules: diff --git a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md index 4cf305a590c..710906fc377 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md +++ b/docs/en/02_Developer_Guides/02_Controllers/02_Routing.md @@ -20,7 +20,7 @@ These routes by standard, go into a `routes.yml` file in your applications `_con ```yml --- Name: mysiteroutes -After: framework/routes#coreroutes +After: framework/_config/routes#coreroutes --- SilverStripe\Control\Director: rules: diff --git a/docs/en/02_Developer_Guides/13_i18n/index.md b/docs/en/02_Developer_Guides/13_i18n/index.md index 9cd295db66a..409eace1d6f 100644 --- a/docs/en/02_Developer_Guides/13_i18n/index.md +++ b/docs/en/02_Developer_Guides/13_i18n/index.md @@ -337,7 +337,7 @@ To create a custom module order, you need to specify a config fragment that inse ```yml --- Name: customi18n -Before: 'defaulti18n' +Before: '#defaulti18n' --- SilverStripe\i18n\i18n: module_priority: