In bootstrap script (Mkd module's single entry point) fwphp\glomodul\mkd\www\index.php change to your values : $upto_rootm_str = '../../..'; and $content_dir = 'help_fw'; .
$upto_rootm_str is PHP frameworks standard for "path science" eg in Yii. Means fwphp = third dir above www dir in fwphp\glomodul\mkd\www\index.php. Usually there is no need to change $upto_rootm_str because : 1. fwphp is our dir at internet provider site = server doc root 2. global module Mkd (mkd directory for help texts in markdown format) should be where it is. In fwphp/www is root module = home page = our fwphp site's main menu (WEB SITE ROOT IS ABOVE fwphp dir !! - because it can be inet providers doc root). Below fwphp are our groups of modules : glomodul group, materialbookkeeping group... Module is like Oracle Forms module eg invoice.fmb (master-detail form).
$content_dir is help_fw in fwphp\glomodul\mkd\help_fw. Beside help_fw can be help_appx, help_mydog or... In their subdirs (no level limit) are .md or .mkd or .txt files.This code in mkd Home controller class explains above steps :
//see module_namespc in router r u n ( ) 2. NAMESPACED CONTROLLER : n amespace B12phpfw\glomodul\mkd\www ; //dirs in this dirtree can not be renamed, //but we can have many content dirs below mkd dir : help_fw, help_mydog...
TODO : It is not difficult to write code for user to select $content_dir value or to enter it in page title, but is not needed because brings not much user time saving (same as creating and deleting mardown text files and other CMS features in module PHP code). So Mkd is flat files "DB" SimpleMDE cRUd module (Read and Update we do in module PHP code, creating and deleting we do in operating system). Mkd PHP module is Dreamweaver replacement for help files cRUd. Database tables rows CRUD (Msg module) is much more complicated than Mkd nodule, so to learn code and data flow Mkd module is best way.
PHP CRUD md or html files (Simplemde or Summernote WYSIWYG ed.) or DB tbls. PHP code skeleton (own framework) : MVC, router calls module's Home class which finds it's method or other ctr in DInjected (by ref) url array, namespaced classes, own autoloading class (Composer PSR-4 autol. classes also), own debugg (trace_log.html displayed in each page footer.