Skip to content

Commit

Permalink
Improve examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Aug 11, 2023
1 parent eb9f6ed commit ac4f418
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 28 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,14 @@ content to include.
include-markdown "../LICENSE*"
start="<!--license \"start\" -->"
end='<!--license "end" -->'
exclude="../LICENSE*.rst"
exclude="../*.rst"
%}
```

```jinja
{%
include-markdown "**"
exclude="./{index,LICENSE}.md"
%}
```

Expand Down Expand Up @@ -250,8 +257,8 @@ Includes the content of a file or a group of files.

```jinja
{%
include '../LICENSE*'
exclude='../LICENSE*.rst'
include '**'
exclude='./*.md'
%}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{ % include '../mkdocs.yml'% }
```

{% include-markdown 'included.md' start='<--start-->' %}
{% include-markdown './included.md' start='<--start-->' %}
13 changes: 10 additions & 3 deletions locale/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,14 @@ especificado. Sólo soporta la sintaxis de encabezado de caracteres de hash
include-markdown "../LICENSE*"
start="<!--license \"start\" -->"
end='<!--license "end" -->'
exclude="../LICENSE*.rst"
exclude="../*.rst"
%}
```

```jinja
{%
include-markdown "**"
exclude="./{index,LICENSE}.md"
%}
```

Expand Down Expand Up @@ -239,8 +246,8 @@ se usará `utf-8`.

```jinja
{%
include '../LICENSE*'
exclude='../LICENSE*.rst'
include '**'
exclude='./*.md'
%}
```

Expand Down
18 changes: 9 additions & 9 deletions locale/es/README.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,6 @@ msgstr "Las rutas de los archivos a incluir pueden ser:"
msgid "URLs to include remote content."
msgstr "URLs para incluir contenido remoto."

msgid ""
"In order to use this feature, the dependency [platformdirs] must be "
"installed. You can include it in the installation of the plugin adding the "
"`cache` extra:"
msgstr ""
"Para usar esta funcionalidad, la dependencia [platformdirs] debe ser "
"instalada. Puedes incluirla en la instalación del plugin añadiendo el extra "
"`cache`:"

msgid "Local files:"
msgstr "Archivos locales:"

Expand Down Expand Up @@ -402,3 +393,12 @@ msgstr ""

msgid "Relative from the *docs/* directory."
msgstr "Relativas desde el directorio *docs/*."

msgid ""
"In order to use this feature, the dependency [platformdirs] must be "
"installed. You can include it in the installation of the plugin adding the "
"`cache` extra:"
msgstr ""
"Para usar esta funcionalidad, la dependencia [platformdirs] debe ser "
"instalada. Puedes incluirla en la instalación del plugin añadiendo el extra "
"`cache`:"
13 changes: 10 additions & 3 deletions locale/fr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,14 @@ négatives pour supprimer les caractères `#` de tête.
include-markdown "../LICENSE*"
start="<!--license \"start\" -->"
end='<!--license "end" -->'
exclude="../LICENSE*.rst"
exclude="../*.rst"
%}
```

```jinja
{%
include-markdown "**"
exclude="./{index,LICENSE}.md"
%}
```

Expand Down Expand Up @@ -236,8 +243,8 @@ valeurs possibles sont `true` et `false`.

```jinja
{%
include '../LICENSE*'
exclude='../LICENSE*.rst'
include '**'
exclude='./*.md'
%}
```

Expand Down
18 changes: 9 additions & 9 deletions locale/fr/README.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -351,15 +351,6 @@ msgstr "Les chemins des fichiers inclus peuvent être soit:"
msgid "URLs to include remote content."
msgstr "URL pour inclure du contenu distant."

msgid ""
"In order to use this feature, the dependency [platformdirs] must be "
"installed. You can include it in the installation of the plugin adding the "
"`cache` extra:"
msgstr ""
"Pour utiliser cette fonctionnalité, la dépendance [platformdirs] doit être "
"installée. Vous pouvez l'inclure dans l'installation du plugin en ajoutant "
"le supplément `cache`:"

msgid "Local files:"
msgstr "Fichiers locaux:"

Expand Down Expand Up @@ -398,3 +389,12 @@ msgstr "Relatifs du fichiers qui les inclut (commençant par `./` ou `../`)."

msgid "Relative from the *docs/* directory."
msgstr "Relatif du répertoire *docs/*."

msgid ""
"In order to use this feature, the dependency [platformdirs] must be "
"installed. You can include it in the installation of the plugin adding the "
"`cache` extra:"
msgstr ""
"Pour utiliser cette fonctionnalité, la dépendance [platformdirs] doit être "
"installée. Vous pouvez l'inclure dans l'installation du plugin en ajoutant "
"le supplément `cache`:"

0 comments on commit ac4f418

Please sign in to comment.