mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 03:24:04 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
4
.github/README.md
vendored
4
.github/README.md
vendored
@@ -16,7 +16,7 @@ Configure your `cheat.yaml` to include the cheatsheets:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: tldr
|
- name: tldr
|
||||||
path: ~/.cheat/cheatsheets/tldr
|
path: ~/.cheat/cheatsheets/tldr/tldr
|
||||||
tags: [tldr]
|
tags: [tldr]
|
||||||
readonly: true
|
readonly: true
|
||||||
```
|
```
|
||||||
@@ -33,4 +33,4 @@ cheat --tags tldr
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
Files under `.github/` are licensed under the [MIT License](LICENSE.md).
|
Files under `.github/` are licensed under the [MIT License](LICENSE.md).
|
||||||
TLDR pages licensed under [CC-BY-4.0](https://github.com/tldr-pages/tldr/blob/main/LICENSE.md).
|
TLDR pages under `tldr/` licensed under [CC-BY-4.0](https://github.com/tldr-pages/tldr/blob/main/LICENSE.md).
|
||||||
|
|||||||
2
.github/run.sh
vendored
2
.github/run.sh
vendored
@@ -17,7 +17,7 @@ TLDR_GIT="https://github.com/tldr-pages/tldr.git"
|
|||||||
TLDR_SOURCE="source: $TLDR_GIT"
|
TLDR_SOURCE="source: $TLDR_GIT"
|
||||||
TLDR_SYNTAX="syntax: markdown"
|
TLDR_SYNTAX="syntax: markdown"
|
||||||
TLDR_TEMP_DIR="$(realpath "$DIR"/..)/__tldr-temp"
|
TLDR_TEMP_DIR="$(realpath "$DIR"/..)/__tldr-temp"
|
||||||
TLDR_CHEAT_DEST="$(realpath "$DIR"/../)"
|
TLDR_CHEAT_DEST="$(realpath "$DIR"/../tldr)"
|
||||||
|
|
||||||
if [ -d "$TLDR_TEMP_DIR" ]; then
|
if [ -d "$TLDR_TEMP_DIR" ]; then
|
||||||
rm -rf "$TLDR_TEMP_DIR"
|
rm -rf "$TLDR_TEMP_DIR"
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
__tldr-temp
|
__tldr-temp
|
||||||
|
!*-secret
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user