Documents and Documentation (beta 1) (#23)

- Change to SQLite document store
- Complete documentation on usage of Feed Reader Central
- Update INSTALLING.md for new installation procedures

Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
2024-06-12 02:07:35 +00:00
parent 819979f2b2
commit 0c87392910
43 changed files with 1652 additions and 1142 deletions
+6 -3
View File
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);
require 'app-config.php';
if (php_sapi_name() != 'cli') {
@@ -12,7 +13,8 @@ if (php_sapi_name() != 'cli') {
* @param string $format The format string
* @param mixed ...$values The values for the placeholders in the string
*/
function printfn(string $format, mixed ...$values): void {
function printfn(string $format, mixed ...$values): void
{
printf($format . PHP_EOL, ...$values);
}
@@ -21,7 +23,8 @@ function printfn(string $format, mixed ...$values): void {
*
* @param string $title The title to display on the command line
*/
function cli_title(string $title): void {
function cli_title(string $title): void
{
$appTitle = 'Feed Reader Central ~ ' . display_version();
$dashes = ' +' . str_repeat('-', strlen($title) + 2) . '+' . str_repeat('-', strlen($appTitle) + 2) . '+';
printfn($dashes);