Web or consoleWeb usageYou need an operational web server (like Apache) with PHP 5 running on it.
.ini files located by default in directory phpsimpledoc/user-directives/.
These .ini files contain the directives transmited to phpSimpleDoc. See page User directives for details. To organize the programs to document, directory user-directives/ can have subdirectories, which permits to have sub-lists on index page.
If a file or a subdirectory starts by " z.", it is not listed in the index page ; this permits to archive, or temporarily disable useless commands without deleting them.
Use from command linePHP CLI (Command Line Interface) must be installed on your machine.There is no specific script for phpsimpledoc, but you can invoke it from a shell by : php -f /path/to/phpsimpledoc/src/index.php path/to/command.iniIf you (stilll) use MS Windows, you may need to type something like : c:\php\cli\php.exe -f /path/to/phpsimpledoc/src/index.php path/to/command.inior maybe without the -f (todo : check that) c:\php\cli\php.exe /path/to/phpsimpledoc/src/index.php path/to/command.ini path/to/command.ini can be :
- the absolute path to the .ini user directives file. - the relative path to the .ini user directives file, from current directory (the directory where the command was issued). This advantages of this solution are : - You are not obliged to store the directives files under phpsimpledoc/user-directives/ directory - Ability to order documentation via cron (scheduled tasks). |