Skip to content

Commit 8cc5e48

Browse files
committed
3.x source links
1 parent e367c42 commit 8cc5e48

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

docs/3.x/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ You can customize Craft’s entire [Yii application configuration](https://www.y
141141
You can also customize Craft’s application configuration for only web requests or console requests from `config/app.web.php` and `config/app.console.php`.
142142

143143
::: tip
144-
Craft’s default configuration is defined by [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). Refer to these files when you need to override existing application components.
144+
Craft’s default configuration is defined by [src/config/app.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.php), [app.web.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.web.php), and [app.console.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.console.php). Refer to these files when you need to override existing application components.
145145
:::
146146

147147
### Cache Component

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Modules can have templates too, but they will need to manually define a [templat
1010

1111
## Page Templates
1212

13-
To add a new full page to the control panel, create a template that extends the [_layouts/cp.html](https://github.com/craftcms/cms/blob/v3/src/templates/_layouts/cp.html) template.
13+
To add a new full page to the control panel, create a template that extends the [_layouts/cp.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_layouts/cp.html) template.
1414

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

@@ -142,7 +142,7 @@ Variable | Description
142142

143143
#### Form Inputs
144144

145-
Craft’s [_includes/forms.html](https://github.com/craftcms/cms/blob/v3/src/templates/_includes/forms.html) template defines several macros that can be used to display your form elements.
145+
Craft’s [_includes/forms.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_includes/forms.html) template defines several macros that can be used to display your form elements.
146146

147147
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.
148148

docs/3.x/extend/element-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ $fieldsHtml = $form->render();
869869
```
870870
:::
871871

872-
- Edit Category page template: [categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)
872+
- Edit Category page template: [categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)
873873

874874
Here’s a simple example of the code needed to save an element programatically, which could live within an `actionSave()` controller action:
875875

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ Pay close attention to what you intend to modify; some hooks are provided for mo
3333

3434
| Hook | Description & Template
3535
| ---------------------------- | -------------------------------------------------------------------
36-
| `cp.elements.element` | Base element template.<br><small>[_elements/element.html](https://github.com/craftcms/cms/blob/v3/src/templates/_elements/element.html)</small>
37-
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.html](https://github.com/craftcms/cms/blob/v3/src/templates/_layouts/base.html)</small>
38-
| `cp.assets.edit` | Before asset detail view’s template blocks.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
39-
| `cp.assets.edit.content` | After asset detail view’s main content.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
40-
| `cp.assets.edit.details` | After asset detail view’s existing right sidebar details column.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
41-
| `cp.assets.edit.settings` | After asset detail view’s “Filename” field.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
42-
| `cp.assets.edit.meta` | After asset detail view’s existing right sidebar meta details.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
43-
| `cp.categories.edit` | Before category detail view’s template blocks.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
44-
| `cp.categories.edit.content` | After category detail view’s main content. <br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
45-
| `cp.categories.edit.details` | After category detail view’s existing right sidebar details column.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
46-
| `cp.entries.edit` | Before entry detail view’s template blocks.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
47-
| `cp.entries.edit.content` | After entry detail view’s main content.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
48-
| `cp.entries.edit.settings` | After entry detail view’s sidebar settings block.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
49-
| `cp.entries.edit.meta` | After entry detail view’s existing right sidebar meta details.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
50-
| `cp.entries.edit.details` | After entry detail view’s existing right sidebar details column.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
51-
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/globals/_edit.html)</small>
52-
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/globals/_edit.html)</small>
53-
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
54-
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
55-
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
56-
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
36+
| `cp.elements.element` | Base element template.<br><small>[_elements/element.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_elements/element.html)</small>
37+
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_layouts/base.html)</small>
38+
| `cp.assets.edit` | Before asset detail view’s template blocks.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
39+
| `cp.assets.edit.content` | After asset detail view’s main content.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
40+
| `cp.assets.edit.details` | After asset detail view’s existing right sidebar details column.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
41+
| `cp.assets.edit.settings` | After asset detail view’s “Filename” field.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
42+
| `cp.assets.edit.meta` | After asset detail view’s existing right sidebar meta details.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
43+
| `cp.categories.edit` | Before category detail view’s template blocks.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
44+
| `cp.categories.edit.content` | After category detail view’s main content. <br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
45+
| `cp.categories.edit.details` | After category detail view’s existing right sidebar details column.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
46+
| `cp.entries.edit` | Before entry detail view’s template blocks.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
47+
| `cp.entries.edit.content` | After entry detail view’s main content.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
48+
| `cp.entries.edit.settings` | After entry detail view’s sidebar settings block.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
49+
| `cp.entries.edit.meta` | After entry detail view’s existing right sidebar meta details.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
50+
| `cp.entries.edit.details` | After entry detail view’s existing right sidebar details column.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
51+
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/globals/_edit.html)</small>
52+
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/globals/_edit.html)</small>
53+
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
54+
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
55+
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
56+
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
5757

docs/3.x/testing/ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ There are [many](https://en.wikipedia.org/wiki/Comparison_of_continuous_integrat
44

55
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.
66

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).
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/3.x/.travis.yml).
88

99
```yaml
1010
services:

docs/3.x/updating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section displays updates for Craft CMS plugins, each with its own **Update*
99
You can choose **Update All** at the top left to initiate all available Craft and/or plugin updates at once.
1010

1111
::: tip
12-
Craft’s [changelog](https://github.com/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.
12+
Craft’s [changelog](https://github.com/craftcms/cms/blob/3.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.
1313
:::
1414

1515
## Updating from the Terminal

0 commit comments

Comments
 (0)