mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
CLIENT-SPECIFICATION: add the date of removal of the old asset website (#15862)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
315f1e2114
commit
1fbb069962
1 changed files with 5 additions and 5 deletions
|
@ -119,10 +119,9 @@ The structure inside these translation folders is identical to that of the main
|
|||
|
||||
## Page structure
|
||||
|
||||
Although this specification is about the interface that clients must provide, it is also worth noting that pages are written in standard [CommonMark](https://commonmark.org/), with the exceptions:
|
||||
- Non-standard `{{`, `}}`, `{{[` and `]}}` placeholder syntax.
|
||||
- `{{` and `}}` surrounds values in an example that indicates editable values.
|
||||
- `{{[` and `]}}` indicate shortform and longform variants of options which are separated by a single `|`. Shortform on the left, longform on the right.
|
||||
Although this specification is about the interface that clients must provide, it is also worth noting that pages are written in standard [CommonMark](https://commonmark.org/), with the exception of the non-standard `{{`, `}}`, `{{[` and `]}}` placeholder syntax, where:
|
||||
- `{{` and `}}` surrounds values in an example that indicates editable values.
|
||||
- `{{[` and `]}}` indicate shortform and longform variants of options which are separated by a single `|`. Shortform on the left, longform on the right.
|
||||
|
||||
Things to take into account:
|
||||
- Clients MAY highlight the placeholders and MUST remove the surrounding curly braces.
|
||||
|
@ -236,7 +235,8 @@ Step | Path checked | Outcome
|
|||
If appropriate, it is RECOMMENDED that clients implement a cache of pages. If implemented, clients MUST download the entire archive either as a whole from **<https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip>** or download language-specific archives in the format `https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.{{language-code}}.zip` (e.g. **<https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.en.zip>**). The English archive is also available from **<https://github.com/tldr-pages/tldr/releases/latest/download/tldr-pages.zip>**.
|
||||
|
||||
> [!CAUTION]
|
||||
> Prior to version 2.2, the client specification stated that clients MUST download archives from <https://tldr.sh/assets>. This method is now deprecated, and **_will be removed_** in the future.
|
||||
> Prior to version 2.2, the client specification stated that clients MUST download archives from <https://tldr.sh/assets>. This method is now deprecated, and **_will be removed_** in December 2025.
|
||||
> Clients that still use the old location will therefore stop working next year.
|
||||
|
||||
Caching SHOULD be done according to the user's language configuration (if any), to not waste unneeded space for unused languages. Additionally, clients MAY automatically update the cache regularly.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue