Skip to content

Commit

Permalink
Rename website to example.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokyonn committed Dec 11, 2024
1 parent 0dacb15 commit 7ebcaa9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions book/webspaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ following paragraphs.
<environments>
<environment type="prod">
<urls>
<url language="en">website.org</url>
<url language="en">example.org</url>
</urls>
</environment>
<environment type="dev">
Expand Down Expand Up @@ -270,7 +270,7 @@ localization. The following fragment shows again how to this:

.. code-block:: xml
<url language="de" country="at">www.website.org</url>
<url language="de" country="at">www.example.org</url>
Since it is possible to define localizations without a country, this attribute
is also optional here. However, the combination of language and country here
Expand All @@ -284,13 +284,13 @@ following line for an example:

.. code-block:: xml
<url>www.website.org/{localization}</url>
<url>www.example.org/{localization}</url>
Placeholder are expressions in curly braces, which will be expanded to every
possible value. For the above example that means, that an URL for every
localization defined will be generated. So if you have a localization ``de-at``
and ``en-us``, the system will create URLs for ``www.website.org/de-at`` and
``www.website.org/en-us``.
and ``en-us``, the system will create URLs for ``www.example.org/de-at`` and
``www.example.org/en-us``.

In the following table all the possible placeholders are listed, and explains
the values of them by using the ``de-at``-localization:
Expand Down
2 changes: 1 addition & 1 deletion bundles/markup/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ a link to another page. This tag will be replaced via a valid anchor where the

<html>
<body>
<a href="http://website.com/test" title="test-title">Page Title</a>
<a href="http://example.org/test" title="test-title">Page Title</a>
</body>
</html>

Expand Down
20 changes: 10 additions & 10 deletions bundles/markup/link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Example

.. code-block:: html

<a href="http://website.com/test" title="Page Title">Page Title</a>
<a href="http://website.com/test" title="test-title">Page Title</a>
<a href="http://website.com/test" title="Page Title" target="_blank">Link Text</a>
<a href="http://website.com/test#test-anchor" title="Page Title">Anchor Example</a>
<a href="http://website.com/test?query=test" title="Page Title">Query String Example</a>
<a href="http://website.com/test" title="Page Title" target="_blank">Link Text</a>
<a href="http://website.com/media/1/download/image.jpg?v=1" title="test-title">Media Title</a>
<a href="http://website.com/media/1/download/image.jpg?v=1" title="Media Title">Link Text</a>
<a href="http://example.org/test" title="Page Title">Page Title</a>
<a href="http://example.org/test" title="test-title">Page Title</a>
<a href="http://example.org/test" title="Page Title" target="_blank">Link Text</a>
<a href="http://example.org/test#test-anchor" title="Page Title">Anchor Example</a>
<a href="http://example.org/test?query=test" title="Page Title">Query String Example</a>
<a href="http://example.org/test" title="Page Title" target="_blank">Link Text</a>
<a href="http://example.org/media/1/download/image.jpg?v=1" title="test-title">Media Title</a>
<a href="http://example.org/media/1/download/image.jpg?v=1" title="Media Title">Link Text</a>

Provider Attributes
-------------------
Expand All @@ -59,8 +59,8 @@ There might be situations where you need to know which provider was used even af

.. code-block:: html

<a href="http://website.com/test" title="Page Title" data-provider="page">Link Text</a>
<a href="http://website.com/media/1/download/image.jpg?v=1" data-provider="media">Media Title</a>
<a href="http://example.org/test" title="Page Title" data-provider="page">Link Text</a>
<a href="http://example.org/media/1/download/image.jpg?v=1" data-provider="media">Media Title</a>

Now you will be able to target the links in CSS and Javascript by using the data attribute as a selector. This allows things such as:

Expand Down
2 changes: 1 addition & 1 deletion cookbook/caching-with-varnish.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ And now have a look at the headers on your website:
.. code-block:: bash
$ curl -I mywebsite.com
$ curl -I example.org
HTTP/1.1 200 OK
# ...
Via: 1.1 varnish
Expand Down
4 changes: 2 additions & 2 deletions cookbook/dump-sitemap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Have a look at the official Symfony Documentation about
# config/packages/framework.yaml
framework:
router:
default_uri: 'https://website.org'
default_uri: 'https://example.org'
.. tip::

Expand All @@ -46,7 +46,7 @@ If you are using a Symfony version before 5.1, you need to configure the
# config/services.yaml
parameters:
router.request_context.scheme: 'https'
router.request_context.host: 'website.org'
router.request_context.host: 'example.org'
Switch back to on the fly generation
------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion cookbook/sitemap-provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ implemented in the Repository.
public function getMaxPage($scheme, $host)
{
if ($host !== 'website.org') {
if ($host !== 'example.org') {
// If the pages are only for a specific
return 0;
}
Expand Down

0 comments on commit 7ebcaa9

Please sign in to comment.