Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/applications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Discover our user guides and configuration tutorials per application.
.. toctree::
:maxdepth: 2

applications/tests
applications/tests_no_h1
applications/essentials
applications/finance
applications/sales
Expand Down
42 changes: 42 additions & 0 deletions content/applications/tests.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
=====
Tests
=====

================================
There is at most one h1 per page
================================

blank line above
There is at least one blank line above and below a heading
==========================================================
blank line below

Heading delimiters have the same length as their heading
==================

Heading delimiters use the heading chars in the same order as in our guidelines
*******************************************************************************

Heading delimiters use the same heading chars as in our guidelines
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Media files have been compressed with pngquant

.. image:: tests/media-files-have-been-compressed.png
:alt:

Media files have a limited weight

.. image:: tests/media-files-have-a-limited-weight.png
:alt:

Media file names use hyphens and not underscores.

.. image:: tests/media_files_use_hyphens.png
:alt:

Resource files are placed within a folder with the same name as the page from which the resource is
referenced.

.. image:: tests_wrong_folder/resource-files-are-placed-within-a-folder.png
:alt:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
5 changes: 5 additions & 0 deletions content/applications/tests_no_h1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
There is a h1 on the page if it contains headings of other levels
=================================================================

There is a h1 on the page if it contains headings of other levels
-----------------------------------------------------------------
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions redirects/18.0.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# applcations/tests

applications/tests/this_page_was_deleted.rst applications/tests/this_page_does_not_exist.rst
applications/tests/this_page_was_deleted.rst applications/tests/how do you form a redirect rule?

# applications/finance

applications/finance/payment_providers/ogone.rst applications/finance/payment_providers/worldline.rst
Expand Down