Skip to content

User-defined pages directory #136

@QuAzI

Description

@QuAzI

Is there any way to add user-defined pages?
Currently, I see that only pages in %AppData%\Local\tlrc\pages.en shown but custom page %AppData%\Local\tlrc\custom.en\windows\whereis.md absolutely ignored.
It looks line a new language

> tree -L 2
.
├── custom.en
│   └── windows
├── pages.en
│   ├── android
│   ├── common
│   ├── freebsd
│   ├── linux
│   ├── netbsd
│   ├── openbsd
│   ├── osx
│   ├── sunos
│   └── windows
└── tldr.sha256sums

> tldr --info
Cache: C:\Users\ruslan\AppData\Local\tlrc (last update: 1d, 7h ago)
Automatic update in 12d, 16h
Installed languages:
custom.en : 1
en    : 5836
total : 5837 pages

I don't want to mix my own pages with official pages.
It would be nice to have an option similar to tealdeer-rs or better to process 'language directory' names to ignore the first word always

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions