docs: change title & <name> to <command> as official doc
This commit is contained in:
parent
1aeb190252
commit
449c8e8b4a
13
README.md
13
README.md
@ -1,22 +1,23 @@
|
|||||||
# My very own custom pages for tealdeer (`tldr` client)
|
# Custom pages for tealdeer
|
||||||
|
|
||||||
My favorite [tldr](https://tldr.sh/) client [tealdeer](https://github.com/tealdeer-rs/tealdeer)
|
My favorite [tldr](https://tldr.sh/) client [tealdeer](https://github.com/tealdeer-rs/tealdeer)
|
||||||
has the ability to show user defined custom pages.
|
has the ability to show user defined custom pages.
|
||||||
|
This repository contains my very own custom pages for `tealdeer`.
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
Clone this repo to the parent directory of `Custom pages dir` (default: `~/.local/share/tealdeer`).
|
Clone this repo to the parent directory of `Custom pages dir` (default: `~/.local/share/tealdeer`).
|
||||||
To print the path used on your system, simply run tldr --show-paths.
|
To print the path used on your system, simply run `tldr --show-paths`.
|
||||||
|
|
||||||
|
|
||||||
## File name extension
|
## File name extension
|
||||||
|
|
||||||
There are two types of files for defining custom pages:
|
There are two types of files for defining custom pages:
|
||||||
|
|
||||||
| Type | Extension | Description |
|
| Type | Extension | Description |
|
||||||
|---------------|-------------------|-----------------------------------------------------|
|
|---------------|----------------------|-----------------------------------------------------|
|
||||||
| Custom Page | `<name>.page.md` | shown instead of the upstream version in the cache. |
|
| Custom Page | `<command>.page.md` | shown instead of the upstream version in the cache. |
|
||||||
| Custom Patch | `<name>.patch.md` | appended to existing pages. |
|
| Custom Patch | `<command>.patch.md` | appended to existing pages. |
|
||||||
|
|
||||||
|
|
||||||
See: [Custom Pages and Patches - Tealdeer User Manual](https://tealdeer-rs.github.io/tealdeer/usage_custom_pages.html).
|
See: [Custom Pages and Patches - Tealdeer User Manual](https://tealdeer-rs.github.io/tealdeer/usage_custom_pages.html).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user