You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<b>Are there alternative libraries to ph-municipalities for listing Philippine provinces and municipalities?</b>
109
112
</summary>
110
113
@@ -129,15 +132,15 @@ Note, however, that these items use old and new data sources. These may not be f
129
132
<br>
130
133
131
134
<details>
132
-
<summarystyle="color: #808080; font-size: 24px;">
135
+
<summarystyle="color: #808080; font-size: 22px;">
133
136
<b>Is it possible to make ph-municipalities parse and extract PAGASA 10-day weather forecast data?</b>
134
137
</summary>
135
138
136
139
<br>
137
140
138
-
While ph-municipalites do not support parsing and extracting PAGASA 10-day weather forecast data, _you can extend the `ExcelFile` or `ExcelAdapter` classes with custom logic and codes to enable parsing and extracting PAGASA 10-day weather forecast data_.
141
+
While ph-municipalites do not support parsing and extracting PAGASA 10-day weather forecast data, _you can extend the `ExcelFile` or `ExcelFactory` classes with custom logic and codes to enable parsing and extracting PAGASA 10-day weather forecast data_.
139
142
140
-
Since the`ExcelFile` or `ExcelAdapter`are [classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) (functions in disguise, not true OOP, but inheritance still works), you can extend them with class inheritance, overriding or creating new class methods to accommodate processing the PAGASA 10-day weather forecast data. Refer to the [ph-municipalities class documentation](https://ciatph.github.io/ph-municipalities) to know more about the available classes, member variables, and methods.
143
+
Since the`ExcelFile` or `ExcelFactory`are JavaScript [Classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) (Functions in disguise, not true OOP, but inheritance still works), you can extend them with class inheritance, overriding or creating new class methods to accommodate processing the PAGASA 10-day weather forecast data. Refer to the [ph-municipalities class documentation](https://ciatph.github.io/ph-municipalities) to know more about the available classes, member variables, and methods.
141
144
142
145
An example of extending the classes to parse PAGASA 10-day weather forecast data may go along the lines of:
<b>How does ph-municipalities determine which provinces belong to a region?</b>
180
183
</span>
181
184
</summary>
@@ -196,18 +199,18 @@ This file contains region/province names mapping encoded manually with reference
196
199
<br>
197
200
198
201
<details>
199
-
<summarystyle="color: #808080; font-size: 24px;">
200
-
<spanstyle="color: #808080; font-size: 24px;">
201
-
<b>Are the provinces and municipality list generated by ph-municipalities updated?</b>
202
+
<summarystyle="color: #808080; font-size: 22px;">
203
+
<spanstyle="color: #808080; font-size: 22px;">
204
+
<b>Are the provinces and municipality lists generated by ph-municipalities updated?</b>
202
205
</span>
203
206
</summary>
204
207
205
208
<br>
206
209
207
-
NO. By default, ph-municipalities use an outdated PAGASA 10-day Excel file by default for its local data source, downloaded on August 8, 2022. However, it also provides several ways for using updated PAGASA 10-day Excel files as data sources by:
210
+
NO. By default, ph-municipalities use an outdated PAGASA 10-day Excel file for its local data source, downloaded on August 8, 2022. However, it also provides several ways for using updated PAGASA 10-day Excel files as data sources:
208
211
209
212
- Prompting to download an updated PAGASA 10-day Excel file using the [Interactive CLI Scripts](#interactive-cli-scripts)
210
-
- Providing [class methods](https://ciatph.github.io/ph-municipalities/ExcelFile.html#download)to programmatically download and use a remote PAGASA 10-day Excel file
213
+
- Providing [class methods](https://ciatph.github.io/ph-municipalities/ExcelFile.html#download)for programmatically downloading and using a remote PAGASA 10-day Excel file
211
214
- Allowing to override the default region - province list settings during class initialization (See [Class Usage - Using a Custom Configuration File](#using-a-custom-configuration-file))
212
215
213
216
> **NOTE:**<br>
@@ -452,7 +455,7 @@ npm run list:region
452
455
453
456
Builds the class documentation into the **/docs** directory.
454
457
455
-
> [!NOTE]
458
+
> **NOTE:**<br>
456
459
> This script requires manual installation of the `jsdoc@4.0.3`, `minami@1.2.3`, and `taffydb@2.7.3` packages as **devDependencies** inside the **/app** directory.
457
460
> These libraries, only used for building the class documentation, were excluded from the final package.json to have fewer external dependencies.
458
461
> ```bash
@@ -464,7 +467,7 @@ Builds the class documentation into the **/docs** directory.
464
467
465
468
Runs the Bash script that installs the JSDoc and theme dependencies for building the class documentation only within the **development Docker environment**.
466
469
467
-
> [!NOTE]
470
+
> **NOTE:**<br>
468
471
> This script requires running from a Bash terminal - it won't work from a Windows command line terminal. It is reserved for building the documentation with Docker.
469
472
470
473
This script is used for building the class documentation from a local Docker environment along with the `npm run docs:build` NPM script.
Runs the Bash script that builds the class documentation using JSDoc only within the **development Docker environment**.
480
483
481
-
> [!NOTE]
484
+
> **NOTE:**<br>
482
485
> This script requires running from a Bash terminal - it won't work from a Windows command line terminal. It is reserved for building the documentation with Docker.
483
486
484
487
This script is used for building the class documentation from a local Docker environment along with the `npm run docs:install` NPM script.
0 commit comments