File: markdown-gfm-admonition.patch

package info (click to toggle)
python-pipx 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,608 kB
  • sloc: python: 9,642; makefile: 17; sh: 7
file content (67 lines) | stat: -rw-r--r-- 2,867 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From: Stefano Rivera <stefanor@debian.org>
Date: Sun, 31 Mar 2024 12:34:57 -0400
Subject: docs: Replace markdown-gfm-admonition with callouts

markdown-gfm-admonition is not packaged for Debian, but callouts is.

Forwarded: not-needed
---
 docs/how-pipx-works.md | 4 +---
 docs/installation.md   | 8 ++------
 mkdocs.yml             | 2 +-
 3 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/docs/how-pipx-works.md b/docs/how-pipx-works.md
index caa74ce..2889863 100644
--- a/docs/how-pipx-works.md
+++ b/docs/how-pipx-works.md
@@ -112,9 +112,7 @@ If you wish to provide documentation via `man` pages on UNIX-like systems then t
     )
     ```
 
-    > [!WARNING]
-    >
-    > The `data-files` keyword is "discouraged" in the [setuptools documentation](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration) but there is no alternative if `man` pages are a requirement.
+WARNING: The `data-files` keyword is "discouraged" in the [setuptools documentation](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration) but there is no alternative if `man` pages are a requirement.
 
 === "pdm-backend"
 
diff --git a/docs/installation.md b/docs/installation.md
index 1666b69..c7e528b 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -108,9 +108,7 @@ you did not get the warning):
 This will add both the above mentioned path and the `%USERPROFILE%\.local\bin` folder to your search path. Restart your
 terminal session and verify `pipx` does run.
 
-> [!WARNING]
->
-> It is not recommended to install `pipx` via `pipx`. If you'd like to do this anyway, take a look at the
+> WARNING: It is not recommended to install `pipx` via `pipx`. If you'd like to do this anyway, take a look at the
 > [`pipx-in-pipx`](https://github.com/mattsb42-meta/pipx-in-pipx) project and read about the limitations there.
 
 ### Using pipx without installing (via zipapp)
@@ -171,9 +169,7 @@ sudo PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin PIPX_MAN_DIR=/usr/local/sha
 sudo pipx install --global <PACKAGE>
 ```
 
-> [!NOTE]
->
-> After version 1.2.0, the default pipx paths have been moved from `~/.local/pipx` to specific user data directories on
+> NOTE: After version 1.2.0, the default pipx paths have been moved from `~/.local/pipx` to specific user data directories on
 > each platform using [platformdirs](https://pypi.org/project/platformdirs/) library
 >
 > | Old Path               | New Path                                   |
diff --git a/mkdocs.yml b/mkdocs.yml
index 96483b5..09d58f8 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -35,7 +35,7 @@ nav:
   - Changelog: "CHANGELOG.md"
 
 markdown_extensions:
-  - markdown_gfm_admonition  # GitHub's admonition (alert) syntax
+  - callouts
   - footnotes
   - pymdownx.superfences
   - pymdownx.tabbed: