From d4c575bfcbba7afda182d8ecba81686ce607098e Mon Sep 17 00:00:00 2001 From: gimy Date: Tue, 3 Oct 2023 12:37:47 +0800 Subject: [PATCH] docs: fixed table width and ignored linting issues in docs --- .eslintignore | 3 ++- docs/config/static.md | 0 docs/recipes/hijri.md | 14 +++++++------- 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 docs/config/static.md diff --git a/.eslintignore b/.eslintignore index 41e98df..5403154 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ *.yaml *.yml -.vscode \ No newline at end of file +.vscode +docs \ No newline at end of file diff --git a/docs/config/static.md b/docs/config/static.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/recipes/hijri.md b/docs/recipes/hijri.md index 72e6ce3..cc4e7a3 100644 --- a/docs/recipes/hijri.md +++ b/docs/recipes/hijri.md @@ -30,13 +30,13 @@ Islamic calendars are usually categorized as bellow: `prayers-call` provide the following Hijri calendars through the `HijriCalendar` enum: -| Name | Value | Description | -| ----------- | :----------------: | -------------------------------------------------------------------------------------------------- | -| GENERAL | `islamic` | A general Islamic calendar, often used as a default. | -| CIVIL | `islamic-civil` | Based on tabular calculations. `(intercalary years [2,5,7,10,13,16,18,21,24,26,29] Friday epoch)` | -| TABULAR | `islamic-tbla` | Based on tabular calculation. `(intercalary years [2,5,7,10,13,16,18,21,24,26,29] Thursday epoch)` | -| UMM_AL_QURA | `islamic-umalqura` | The official calendar of Saudi Arabia, based on astronomical calculations. | -| SIGHTING_SA | `islamic-rgsa` | Based on moon sighting in the region of Saudi Arabia; Requested by Oracle. dates may vary. | +|
Name
| Value | Description | +| ----------------------------------- | :----------------: | -------------------------------------------------------------------------------------------------- | +| GENERAL | `islamic` | A general Islamic calendar, often used as a default. | +| CIVIL | `islamic-civil` | Based on tabular calculations. `(intercalary years [2,5,7,10,13,16,18,21,24,26,29] Friday epoch)` | +| TABULAR | `islamic-tbla` | Based on tabular calculation. `(intercalary years [2,5,7,10,13,16,18,21,24,26,29] Thursday epoch)` | +| UMM_AL_QURA | `islamic-umalqura` | The official calendar of Saudi Arabia, based on astronomical calculations. | +| SIGHTING_SA | `islamic-rgsa` | Based on moon sighting in the region of Saudi Arabia; Requested by Oracle. dates may vary. | ::: tip The `Intl.DateTimeFormat` API support other calendars as well. to get a full list of supported calendars, you can use the `Intl.Locale.prototype.getCalendars()` method.