Skip to content

Commit 25dd2f0

Browse files
committed
Update callouts
Signed-off-by: Kevin Decherf <[email protected]>
1 parent af9592c commit 25dd2f0

File tree

12 files changed

+37
-35
lines changed

12 files changed

+37
-35
lines changed

content/en/admin/custom_css.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Custom CSS
33
weight: 3
44
---
55

6-
{% hint style="tip" %}
6+
{{< callout type="info" >}}
77
Available since 2.4.0 version.
8-
{% endhint %}
8+
{{< /callout >}}
99

1010
You can apply some custom styles to your wallabag instance.
1111

content/en/admin/installation/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ If it's your first installation, you can safely answer "yes" when asking to rese
1717
Now, read the next step to create your virtual host, then
1818
access your wallabag.
1919

20-
{% hint style="info" %}
20+
{{< callout type="info" >}}
2121
To define parameters with environment variables, you have to set these variables with `SYMFONY__` prefix, for example, `SYMFONY__DATABASE_DRIVER`.
2222
You can have a look at [Symfony documentation](http://symfony.com/doc/current/cookbook/configuration/external_parameters.html).
23-
{% endhint %}
23+
{{< /callout >}}
2424

25-
{% hint style="tip" %}
25+
{{< callout type="info" >}}
2626
If you want to use SQLite to store your data, please put `%kernel.root_dir%/../data/db/wallabag.sqlite` for the `database_path` parameter during installation.
27-
{% endhint %}
27+
{{< /callout >}}
2828

29-
{% hint style="info" %}
29+
{{< callout type="info" >}}
3030
If you're installing wallabag behind Squid as a reverse proxy, make sure to update your `squid.conf` configuration to include `login=PASS` in the `cache_peer` line. This is necessary for API calls to work properly.
31-
{% endhint %}
31+
{{< /callout >}}
3232

3333
## On shared hosting
3434

content/en/admin/installation/requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ weight: 1
55

66
wallabag is compatible with **PHP >= 7.4**.
77

8-
{% hint style="info" %}
8+
{{< callout type="info" >}}
99
To install wallabag easily, we provide a `Makefile`, so you need to have the `make` tool.
10-
{% endhint %}
10+
{{< /callout >}}
1111

1212
## Composer
1313

content/en/admin/installation/virtualhosts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Virtual hosts
33
weight: 3
44
---
55

6-
{% hint style="tip" %}
6+
{{< callout type="info" >}}
77
We assume that wallabag was installed in the `/var/www/wallabag` folder.
8-
{% endhint %}
8+
{{< /callout >}}
99

10-
{% hint style="danger" %}
10+
{{< callout type="warning" >}}
1111
The following configurations are given as examples, assuming that wallabag will be directly accessed at the root of `domain.tld` (or a `wallabag.domain.tld` subdomain).
1212
Installation in folders can work, but is not supported by the maintainers.
13-
{% endhint %}
13+
{{< /callout >}}
1414

1515
## Configuration on Apache
1616

@@ -81,10 +81,10 @@ Installation in folders can work, but is not supported by the maintainers.
8181
</VirtualHost>
8282
```
8383

84-
{% hint style="danger" %}
85-
Do not forget to activate the *rewrite* mod of Apache:
84+
{{< callout type="warning" >}}
85+
Do not forget to activate the *rewrite* mod of Apache:
8686
`a2enmod rewrite && systemctl reload apache2`
87-
{% endhint %}
87+
{{< /callout >}}
8888

8989
Note for Apache 2.4, in the section `<Directory /var/www/wallabag/web>`, you have to replace the directives:
9090

content/en/admin/internal_settings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ URL of your Unmark.it instance.
8585

8686
### Enable .mobi export
8787

88-
{% hint style="warning" %}
88+
{{< callout type="warning" >}}
8989
MOBI export has been deprecated in 2.5.0 and will be removed in 2.6.0.
90-
{% endhint %}
90+
{{< /callout >}}
9191

9292
`1` to activate .mobi export, `0` to deactivate.
9393

@@ -129,9 +129,9 @@ Username of the account used for demo.
129129

130130
Once this feature is activated, the articles pictures will be downloaded in the `/web/assets/images` folder of your wallabag instance. The path of pictures in articles will also be updated to the path of pictures which are on your instance.
131131

132-
{% hint style="tip" %}
132+
{{< callout type="info" >}}
133133
If you want GIFs to keep animation, install `imagick` PHP extension. It's mostly available through distros packet management as `php-imagick`.
134-
{% endhint %}
134+
{{< /callout >}}
135135

136136
### Support URL for wallabag
137137

content/en/admin/mailer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Since 2.6.6, the `gmail` transport is available again using the DSN: `gmail+smtp
1616
note: In a case, that after supplying urlencoded characters, the start up process crashes, try "escaping" them with additional % character:
1717
eg. pass%20word -> pass%%20word. Might be useful for Google App Passwords.
1818

19-
{% hint style="tip" %}
19+
{{< callout type="info" >}}
2020
Symfony can support other transports which aren't shipped by default with wallabag: Amazon SES, MailChimp, Mailgun, Postmark & SendGrid.
2121

2222
You can install them using Composer. It's a more complex step to do, [check the Symfony documentation about that](https://symfony.com/doc/4.4/mailer.html).
23-
{% endhint %}
23+
{{< /callout >}}
2424

2525
## Before wallabag 2.6.1
2626

content/en/admin/parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Here is the last version of the default app/config/parameters.yml file.
99
Be sure that yours respects this one. If you don't know which value you
1010
need to set, please leave the default one.
1111

12-
{% hint style="tip" %}
12+
{{< callout type="info" >}}
1313
To apply changes to `parameters.yml`, you have to clear your cache by deleting everything in `var/cache` with this command: `bin/console cache:clear --env=prod`.
14-
{% endhint %}
14+
{{< /callout >}}
1515

1616
```yaml
1717
parameters:

content/en/admin/upgrade/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ You will find here different ways to upgrade your wallabag:
1212
- [from 2.x.y to 2.3.x](#upgrading-from-2xy-to-23x)
1313
- [from 1.x to 2.x](#from-wallabag-1x)
1414

15-
{% hint style="info" %}
15+
{{< callout type="info" >}}
1616
But **first**, ensure you have `composer` installed on your server (or at least the `composer.phar` binary in the root directory of wallabag). If not, [please install it](https://getcomposer.org/download/).
17-
{% endhint %}
17+
{{< /callout >}}
1818

1919
## Upgrading from 2.5.x to 2.6.x
2020

content/en/developer/paywall.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ weight: 8
66
# Configuring paywall access
77

88

9-
{% hint style="working" %}
9+
{{< callout icon="beaker" >}}
1010
This is the technical part about the paywall. If you are looking for the user part, please check [that page instead](../user/articles/restricted.md).
11-
{% endhint %}
11+
{{< /callout >}}
1212

1313
Read [this part of the documentation](../user/errors_during_fetching.md)
1414
to understand the configuration files, which are located under `vendor/j0k3r/graby-site-config/`. For most of the websites, this file

content/en/user/articles/download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ weight: 3
66
You can download each article in several formats: ePUB, MOBI, PDF, XML,
77
JSON, CSV.
88

9-
{% hint style="warning" %}
9+
{{< callout type="warning" >}}
1010
MOBI export has been deprecated in 2.5.0 and will be removed in 2.6.0.
11-
{% endhint %}
11+
{{< /callout >}}
1212

1313
On the article view, click on this icon, in the sidebar:
1414

0 commit comments

Comments
 (0)