Skip to content

Commit e8e0e12

Browse files
committed
New branch names for craftcms/cms and craftcms/craft repos
1 parent 7d9fe71 commit e8e0e12

File tree

9 files changed

+22
-18
lines changed

9 files changed

+22
-18
lines changed

docs/4.x/config/app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ return [
8686

8787
## Common Components
8888

89-
We’ll only cover a few commonly-customized components here. Refer to Craft’s own [src/config/app.php](https://github.com/craftcms/cms/blob/main/src/config/app.php), [app.web.php](https://github.com/craftcms/cms/blob/main/src/config/app.web.php) and [app.console.php](https://github.com/craftcms/cms/blob/main/src/config/app.console.php) when determining what components are initialized for each type of request—for example, Craft uses two different `request` component classes (<craft4:craft\web\Request> and <craft4:craft\console\Request>) to help smooth over some differences in Yii’s HTTP and CLI APIs.
89+
We’ll only cover a few commonly-customized components here. Refer to Craft’s own [src/config/app.php](https://github.com/craftcms/cms/blob/4.x/src/config/app.php), [app.web.php](https://github.com/craftcms/cms/blob/4.x/src/config/app.web.php) and [app.console.php](https://github.com/craftcms/cms/blob/4.x/src/config/app.console.php) when determining what components are initialized for each type of request—for example, Craft uses two different `request` component classes (<craft4:craft\web\Request> and <craft4:craft\console\Request>) to help smooth over some differences in Yii’s HTTP and CLI APIs.
9090

9191
### Cache
9292

9393
By default, Craft will store data caches on disk in the `storage/runtime/cache/` folder. You can configure Craft to use alternative [cache storage](https://www.yiiframework.com/doc/guide/2.0/en/caching-data#supported-cache-storage) layer by overriding the `cache` application component from `config/app.php`.
9494

9595
::: tip
96-
To help avoid key collisions when sharing non-standard cache drivers between multiple applications, set a unique application `id`. See the [Craft starter project](https://github.com/craftcms/craft/blob/main/config/app.php#L23) for an example of how this is configured, then run the following command to generate and append a `CRAFT_APP_ID` value to your `.env` file:
96+
To help avoid key collisions when sharing non-standard cache drivers between multiple applications, set a unique application `id`. See the [Craft starter project](https://github.com/craftcms/craft/blob/4.x/config/app.php#L25) for an example of how this is configured, then run the following command to generate and append a `CRAFT_APP_ID` value to your `.env` file:
9797

9898
php craft setup/app-id
9999
:::

docs/4.x/extend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Here are a few activities (in no particular order) that can help you get oriente
111111
_Can you find the corresponding documentation in the [class reference][class-ref]?_
112112
1. Look at the list of [common services](../dev/global-variables.md#common-services) that are available on the [`craft.app` variable](../dev/global-variables.md#craft-app) in any template.
113113
_Can you determine what other services are accessible in the same way?_
114-
1. Install one of the [recommended editors](#ide) and open up a config file. Move your cursor over one of the [`use` statements](repo:craftcms/craft/blob/main/config/general.php#L11-L12) at the top to get information about the classes.
114+
1. Install one of the [recommended editors](#ide) and open up a config file. Move your cursor over one of the [`use` statements](repo:craftcms/craft/blob/4.x/config/general.php) at the top to get information about the classes.
115115
_Can you figure out how to open the file that the class is defined in?_
116116

117117
## Resources

docs/4.x/extend/cp-templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Looking to support full-page interfaces _and_ slideouts? Check out the new [cont
1414

1515
## Page Templates
1616

17-
To add a new full page to the control panel, create a template that extends the [_layouts/cp.twig](https://github.com/craftcms/cms/blob/main/src/templates/_layouts/cp.twig) template.
17+
To add a new full page to the control panel, create a template that extends the [_layouts/cp.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/_layouts/cp.twig) template.
1818

1919
At a minimum, your template should set a `title` variable and define a `content` block:
2020

@@ -146,7 +146,7 @@ Variable | Description
146146

147147
#### Form Inputs
148148

149-
Craft’s [_includes/forms.twig](https://github.com/craftcms/cms/blob/main/src/templates/_includes/forms.twig) template defines several macros that can be used to display your form elements.
149+
Craft’s [_includes/forms.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/_includes/forms.twig) template defines several macros that can be used to display your form elements.
150150

151151
Most input types have two macros: one for outputting _just_ the input; and another for outputting the input as a “field”, complete with a label, author instructions, etc.
152152

docs/4.x/extend/template-hooks.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ Pay close attention to what you intend to modify; some hooks are provided for mo
3737

3838
| Hook | Description & Template
3939
| ---------------------------- | -------------------------------------------------------------------
40-
| `cp.elements.element` | Base “element” template, used for rendering relational tiles.<br><small>[_elements/element.twig](https://github.com/craftcms/cms/blob/main/src/templates/_elements/element.twig)</small>
41-
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.twig](https://github.com/craftcms/cms/blob/main/src/templates/_layouts/base.twig)</small>
42-
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/globals/_edit.twig)</small>
43-
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/globals/_edit.twig)</small>
44-
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/users/_edit.twig)</small>
45-
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/users/_edit.twig)</small>
46-
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/users/_edit.twig)</small>
47-
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/main/src/templates/users/_edit.twig)</small>
40+
| `cp.elements.element` | Base “element” template, used for rendering relational tiles.<br><small>[_elements/element.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/_elements/element.twig)</small>
41+
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/_layouts/base.twig)</small>
42+
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/globals/_edit.twig)</small>
43+
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/globals/_edit.twig)</small>
44+
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/users/_edit.twig)</small>
45+
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/users/_edit.twig)</small>
46+
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/users/_edit.twig)</small>
47+
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.twig](https://github.com/craftcms/cms/blob/4.x/src/templates/users/_edit.twig)</small>
4848

docs/4.x/extend/updating-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Updating Plugins for Craft 4
22

3-
While [the changelog](https://github.com/craftcms/cms/blob/main/CHANGELOG.md) is the most comprehensive list of changes, this guide provides high-level overview and organizes changes by category.
3+
While [the changelog](https://github.com/craftcms/cms/blob/4.x/CHANGELOG.md) is the most comprehensive list of changes, this guide provides high-level overview and organizes changes by category.
44

55
::: tip
66
If you think something is missing, please [create an issue](https://github.com/craftcms/docs/issues/new).

docs/4.x/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ To prevent leaking secrets into logs, Craft automatically redacts sensitive-soun
127127
"CRAFT_DB_DATABASE":"db","CRAFT_DB_USER":"db","CRAFT_DB_PASSWORD":"•••••",
128128
```
129129

130-
These keywords are customizable via the `security` component’s `sensitiveKeywords` property in [config/app.php](https://github.com/craftcms/cms/blob/main/src/config/app.php#L116-L127):
130+
These keywords are customizable via the `security` component’s `sensitiveKeywords` property in [config/app.php](https://github.com/craftcms/cms/blob/4.x/src/config/app.php):
131131

132132
```php
133133
<?php

docs/4.x/testing/ci.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Continuous Integration (CI)
22

3+
::: warning
4+
We have moved Craft’s automated testing to GitHub Actions. This page no longer reflects our [current workflow](https://github.com/craftcms/cms/blob/4.x/.github/workflows/ci.yml)!
5+
:::
6+
37
There are [many](https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software) [Continuous Integration](https://en.wikipedia.org/wiki/Continuous_integration) platforms available to choose from.
48

59
Craft uses [Travis](https://app.travis-ci.com/github/craftcms/cms) for its public repo, but you’re free to use what you’re comfortable with and modify things to your workflow.
610

7-
There are [many options](https://docs.travis-ci.com/) for configuring Travis, but let’s examine [Craft’s `.travis.yml` file](https://github.com/craftcms/cms/blob/main/.travis.yml).
11+
There are [many options](https://docs.travis-ci.com/) for configuring Travis, but let’s examine [Craft’s `.travis.yml` file](https://github.com/craftcms/cms/blob/4.x/.travis.yml).
812

913
```yaml
1014
services:

docs/4.x/updating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This section displays updates for Craft CMS and installed plugins, where each ve
2121
There may be an **Update** button next to each item and an **Update All** at the top of the screen, depending on your the <config4:allowUpdates> and <config4:allowAdminChanges> settings for your current environment. You can use those to initiate updates directly from the control panel.
2222

2323
::: tip
24-
Craft’s [changelog](repo:craftcms/cms/blob/main/CHANGELOG.md) will warn you of any critical changes at the top of the release notes. While there aren’t usually any warnings, it’s always a good idea to check the changelog and [any upgrade guides](#upgrade-guides) before updating.
24+
Craft’s [changelog](repo:craftcms/cms/blob/4.x/CHANGELOG.md) will warn you of any critical changes at the top of the release notes. While there aren’t usually any warnings, it’s always a good idea to check the changelog and [any upgrade guides](#upgrade-guides) before updating.
2525
:::
2626

2727
After Craft successfully installs updates, it will run any new migrations.

docs/5.x/extend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Here are a few activities (in no particular order) that can help you get oriente
111111
_Can you find the corresponding documentation in the [class reference][class-ref]?_
112112
1. Look at the list of common services that are available on the [`craft.app` variable](../reference/twig/global-variables.md#craft-app) in any template.
113113
_Can you determine what other services are accessible in the same way?_
114-
1. Install one of the [recommended editors](#ide) and open up a config file. Move your cursor over one of the [`use` statements](repo:craftcms/craft/blob/main/config/general.php#L11-L12) at the top to get information about the classes.
114+
1. Install one of the [recommended editors](#ide) and open up a config file. Move your cursor over one of the [`use` statements](repo:craftcms/craft/blob/5.x/config/general.php#L11-L12) at the top to get information about the classes.
115115
_Can you figure out how to open the file that the class is defined in?_
116116

117117
## Resources

0 commit comments

Comments
 (0)