Skip to content

Commit 892d3e5

Browse files
committed
Adjusted links in tutorials
1 parent fc1ba5c commit 892d3e5

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

docs/tutorials/page_and_form_tutorial/1_get_a_starter_website.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,24 @@ Edit it to remove the Image field that has a Content Relation (ezobjectrelation)
6262

6363
First, to remove the welcome page, go to `config/packages/` and delete the `ibexa_welcome_page.yaml` file.
6464

65-
Place the [`pagelayout.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout.html.twig) and [`pagelayout_menu.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout_menu.html.twig) files in the `templates` folder.
65+
Place the [`pagelayout.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout.html.twig) and [`pagelayout_menu.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout_menu.html.twig) files in the `templates` folder.
6666
Create a new folder, called `full`, in `templates`.
6767
Place further template files in it:
6868

69-
- [`article.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/article.html.twig)
70-
- [`dog_breed.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/dog_breed.html.twig)
71-
- [`folder.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/folder.html.twig)
72-
- [`tip.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/tip.html.twig)
69+
- [`article.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/full/article.html.twig)
70+
- [`dog_breed.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/full/dog_breed.html.twig)
71+
- [`folder.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/full/folder.html.twig)
72+
- [`tip.html.twig`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/templates/full/tip.html.twig)
7373

7474
Place two configuration files in the `config/packages` folder:
7575

76-
- [`views.yaml`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/config/packages/views.yaml)
77-
- [`image_variations.yaml`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/config/packages/image_variations.yaml)
76+
- [`views.yaml`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/config/packages/views.yaml)
77+
- [`image_variations.yaml`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/config/packages/image_variations.yaml)
7878

7979
In the `assets` folder in the project root:
8080

81-
- create a `css` folder and add the following stylesheet: [`style.css`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/assets/css/style.css) to it
82-
- add the [`header.jpg`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/assets/images/header.jpg) file to the `assets/images` folder
81+
- create a `css` folder and add the following stylesheet: [`style.css`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/assets/css/style.css) to it
82+
- add the [`header.jpg`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/assets/images/header.jpg) file to the `assets/images` folder
8383

8484
In the `webpack.config.js` file in the project root folder, add the following line after `Encore.addEntry('app', './assets/app.js');`:
8585

@@ -98,7 +98,7 @@ php bin/console cache:clear
9898

9999
Compiling assets with Webpack Encore is explained in [the beginner tutorial](3_customize_the_front_page.md#configuring-webpack).
100100

101-
In the `src` folder create a `QueryType` subfolder and add [`QueryType/MenuQueryType.php`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php) to it.
101+
In the `src` folder create a `QueryType` subfolder and add [`QueryType/MenuQueryType.php`](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php) to it.
102102

103103
This file takes care of displaying the top menu (for more information, see [the documentation](content_queries.md#query-types)).
104104

docs/tutorials/page_and_form_tutorial/2_prepare_the_landing_page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ First create a new file for layout configuration, `config/packages/ibexa_fieldty
6767
The `sidebar` (line 3) is the internal key of the layout.
6868
`name` (line 5) is displayed in the interface when the user selects a layout.
6969
The `thumbnail` (line 7) points to an image file that is shown when creating a new landing page next to the name.
70-
Use the [supplied thumbnail file](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/layouts/sidebar.png) and place it in the `public/assets/images/layouts/` folder.
70+
Use the [supplied thumbnail file](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/layouts/sidebar.png) and place it in the `public/assets/images/layouts/` folder.
7171

7272
The `template` (line 8) points to the Twig file containing the template for this layout.
7373

docs/tutorials/page_and_form_tutorial/4_create_a_custom_block.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ At this point the new custom block is ready to be used.
4848
You're left with the last cosmetic changes.
4949
First, the new Block has a broken icon in the **Page blocks** toolbox in page mode.
5050
This is because you haven't provided this icon yet.
51-
If you look back to the YAML configuration, you can see the icon file defined as `random_block.svg` (line 4). Download [the provided file](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/blocks/random_block.svg) and place it in `public/assets/images/blocks`.
51+
If you look back to the YAML configuration, you can see the icon file defined as `random_block.svg` (line 4). Download [the provided file](https://github.com/ibexa/documentation-developer/blob/5.0/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/blocks/random_block.svg) and place it in `public/assets/images/blocks`.
5252

5353
Finally, add some styling for the new block. Add the following to the end of the `assets/css/style.css` file:
5454

0 commit comments

Comments
 (0)