Skip to content

Commit

Permalink
Enforce stricter mode for Hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas nares committed Oct 31, 2023
1 parent 80ef7ff commit 8a9044c
Show file tree
Hide file tree
Showing 58 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion _index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ hookListUrl: "/8/modules/concepts/hooks/list-of-hooks" # this allows for dynami

# PrestaShop 8 Documentation

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion basics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ icon: fa-play

Discover what PrestaShop is all about and the core concepts behind it.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion basics/deployment/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ showOnHomepage: true

# Deployment

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion basics/installation/advanced/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ chapter: true

# Advanced topics on PrestaShop Installation

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion basics/keeping-up-to-date/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ A migration consists in:

## Read more

{{% children %}}
{{% children /%}}

2 changes: 1 addition & 1 deletion basics/keeping-up-to-date/upgrade-module/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Also known as the "Autoupgrade module" or the "1-click upgrade module", PrestaSh

Details on how to use the web interface are documented in [Keep up-to-date: Upgrade Assistant page]({{< ref "/8/basics/keeping-up-to-date/use-autoupgrade-module.md" >}}).

{{% children %}}
{{% children /%}}

## How to download it

Expand Down
2 changes: 1 addition & 1 deletion contribute/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ PrestaShop is a community project, made by hundreds of people collaborating arou

- [How to get involved in the project](https://www.prestashop-project.org/get-involved/)

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion contribute/contribute-pull-requests/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ If you wish to start contributing smoothly, have a look at [issues labelled "goo

We explain two ways to run PrestaShop from the sources: using docker or localhost

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion contribute/contribution-process/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ showOnHomepage: true

The PrestaShop project receives a great number of new issues and Pull Requests every week. Each new submission goes through a process where PrestaShop maintainers analyze, qualify and prioritize them.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ icon: fa-book

This section describes technical aspects of the PrestaShop Core.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ PrestaShop has been built as a monolith following traditional object-oriented PH

## Topics

{{% children description="true" %}}
{{% children description="true" /%}}

2 changes: 1 addition & 1 deletion development/architecture/domain/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ One of the main features at the heart of this design is _Command-Query Responsib

## Read more

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/domain/references/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ weight: 60

# List of available Commands and Queries

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/legacy/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ summary: "This section describes components from the Legacy architecture."

This section describes components from the Legacy architecture.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/migration-guide/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ This is the list of items that usually need to be done in order to complete the

## Contents of this guide

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/migration-guide/forms/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ Forms are created and declared [as services](https://symfony.com/doc/4.4/form/fo

## Learn more

{{% children %}}
{{% children /%}}

Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ So, there are basically three steps:
Every form in modern controllers must be handled this way, and the controller code should be kept minimalist and easy to read and understand.
{{% /notice %}}

{{% callout %}}
##### Summary with a schema

The following schemas sums up how Form Handlers, Form Builders, Controllers and Data Providers are wired together.
Expand Down
2 changes: 1 addition & 1 deletion development/architecture/migration-guide/testing/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ you have created.

You **must** add a [smoke test]({{< relref "/8/development/architecture/migration-guide/testing/unit#smoke-testing" >}}) (also called "survival") for every new page you migrate.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/architecture/modern/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ summary: "This section describes components from the Modern architecture."

This section describes components from the Modern architecture.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ showOnHomepage: true

# Components

{{% children %}}
{{% children /%}}
1 change: 1 addition & 0 deletions development/components/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ $configuration->set(
{{% notice note %}}
Check the [config console command]({{< relref "/8/development/components/console/prestashop-config" >}}) for setting values from CLI

{{% /notice %}}
2 changes: 1 addition & 1 deletion development/components/console/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ menuTitle: Console

PrestaShop uses the [Symfony Console](https://symfony.com/doc/current/components/console.html) component and provides its own set of commands.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/export/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menuTitle: Export

# Export Components

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/faceted-search/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Any change in the behavior of the `CategoryController` or a template renaming re
{{< figure src="img/facetedsearch.png" title="Faceted search screenshot" >}}


{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/form/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menuTitle: Form

# The Form component

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/grid/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,4 @@ You can update this schema using the [source XML file](/8/schemas/grid_workflow_

## Learn more

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/components/grid/tutorials/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ chapter: true

# Grid tutorials

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ showOnHomepage: true

# PrestaShop configuration reference

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/internationalization/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ In this section you'll learn more about how to work with PrestaShop's internatio

#### In this section

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/multistore/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Moreover the Back Office interface is modified to allow Back Office users to man

## Topics

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/page-reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ chapter: true

# Page Reference

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/page-reference/back-office/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ chapter: true

# Back Office Pages

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/page-reference/back-office/order/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ chapter: true

# Order Detail Page

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion development/page-reference/back-office/product/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ chapter: true

# Product Page

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion faq/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ This section aim is to become the source of truth for the PrestaShop community t

If someone asks you similar questions and you know answers, please do not hesitate - create a pull request and help to fill this section up!

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion faq/tips-and-tricks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ showOnHomepage: true

# Tips & tricks

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ programs that make use of PrestaShop's functionalities and changes them
or add to them in order to make PrestaShop easier to use or more
tailored to the merchant's needs.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/concepts/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ showOnHomepage: true

# Extension concepts

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/concepts/mail-templates/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ PrestaShop 1.7.6 introduced [Mail themes]({{< ref "1.7/development/components/ma

## Tutorials

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/concepts/templating/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ chapter: true

# Templates

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/concepts/templating/vuejs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For complex interfaces, with state management for instance, other frontend optio
[Vue.js](https://vuejs.org/) is a JavaScript Framework that will be helpful in this case.
This chapter covers its integration on a module.

{{% children %}}
{{% children /%}}

## 1- Creation of a Vue.js application in the module directories

Expand Down
2 changes: 1 addition & 1 deletion modules/core-updates/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ showOnHomepage: true

In this section you can find important changes in the core that may impact your modules.

{{% children %}}
{{% children /%}}

For changes introduced in versions 1.7, please [visit this page][1-7-core-changes].

Expand Down
2 changes: 1 addition & 1 deletion modules/sample-modules/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ showOnHomepage: true

The PrestaShop Community has made example modules and how-to guides to help you understand how to implement hooks, admin grids, manage entities... and a lot more.

{{% children %}}
{{% children /%}}

{{% remoteMd "https://api.github.com/repos/PrestaShop/example-modules/contents/README.md" %}}
2 changes: 1 addition & 1 deletion modules/sample-modules/order-pages-new-hooks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ These hooks are visualized in the picture below:

This tutorial has these sections:

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion modules/testing/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Creating tests is an important part of a module life. They allow us to spend les

In PrestaShop, we plan to cover our modules features with a bundle of unit and functional tests. We let you chose what frameworks suits you the best, but we provide some tools that you can reuse on your projects.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion testing/integration-tests/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ We use the following stack:

## Execute & Create tests

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion testing/ui-tests/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We use the following stack:

## Execute & Create tests

{{% children %}}
{{% children /%}}

Everything is explained in [README](https://github.com/PrestaShop/PrestaShop/blob/8.0.x/tests/UI/README.md) in the `tests/UI` folder.
You'll need a working installation of PrestaShop in order to run the tests.
2 changes: 1 addition & 1 deletion testing/unit-tests/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ We use the following stack:

## Execute & Create tests

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion themes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ The default PrestaShop installation offers the neutral "Classic theme", enabling

Several marketplaces are available to get PrestaShop themes. As a graphic designer/front developer, you can put your themes up for sale on this marketplaces.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion themes/distribution/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ will walk you through creating a ZIP archive that you can provide to users that

But first, you need to test your theme!

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion themes/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ showOnHomepage: true

# Getting started

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion themes/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ showOnHomepage: true

# Theme development reference

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion themes/reference/templates/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ The following section describes the purpose of each template and how to use them
PrestaShop front office is based on Smarty template engine, for this part it's very important
you understood well how Smarty works, especially [template inheritance]({{< relref "/8/themes/reference/template-inheritance/_index.md" >}}).

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion webservice/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ icon: fa-plug

PrestaShop enables merchants to give third-party tools access to their shop's database through a CRUD API, otherwise called a web service.

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion webservice/resources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ menuTitle: Resources

# Resources

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion webservice/tutorials/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ showOnHomepage: true

# Tutorials

{{% children list="ol" %}}
{{% children list="ol" /%}}
2 changes: 1 addition & 1 deletion webservice/tutorials/advanced-use/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ weight: 5

These tutorials are related to more advanced and specific uses of the Webservice API

{{% children %}}
{{% children /%}}
2 changes: 1 addition & 1 deletion webservice/tutorials/prestashop-webservice-lib/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ weight: 4

# Using the PrestaShop Webservice lib

{{% children list="ol" %}}
{{% children list="ol" /%}}

0 comments on commit 8a9044c

Please sign in to comment.