GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kerrishaus/docs.kerrishaus.com: document presentation platform

This repository was archived by the owner on Aug 12, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

110 Commits
110 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
.gitignore
.gitignore
 
 
.htaccess
.htaccess
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
favicon.ico
favicon.ico
 
 
index.php
index.php
 
 

Repository files navigation

docs.kerrishaus.com

This is the software that runs the "wiki" at docs.kerrishaus.com.

This project exists because MediaWiki did not support PHP 8.1 at the time.

Content for the mainline site can be found on the docs.kerrishaus.com-content.

How to use

I would not use this over MediaWiki unless you desire to be deeply unhappy.

If for some reason you insist upon using this software, clone the repository to any webserver running PHP 8.1 or greater.

Next, configure the _docs.config.php file to fit your needs.

Here is the default config:

<?php
    // this option will enable printing debug information out to the webpage
    // do not set this to true in production, as it could cause sensitive
    // information such as session keys and file locations to be leaked!
    $debug = false;

    $baseUri = "https://example.com";

    // this is the location the wiki will look for content.
    // this must be a subdirectory of the directory the wiki being run in.
    // no leading or trailing slash, just the directory name
    // open_basedir is set to this directory to prevent out of scope file exposure
    $contentBaseUri = "wiki-content";

    // this ignores files prefixed with .
    $ignoreHiddenFiles = true;

    // files ignored by the sidebar
    // these can still be viewed with a direct url
    $ignoredFiles = [
        ".",
        "..",
        "index.md"
    ];

    $javascriptIncludes = [
        // add the url of javascript files you want included in the head tag here.
    ];

    $cssIncludes = [
        // add the url of css files you want included in the head tag here.
    ];

    // whatever you put here will prefix the filenames you set in the below section.
    // this is useful if you have multiple projects using the same dependencies, and
    // want to have them all in the same location, not copied in each different project.
    // this variable is applied to all dependencies listed in the below section.
    // leave blank to do nothing
    $phpDependencyUrl = "";

    $phpDependencies = [
        "_parsedown.php",
        "_parsedownExtra.php",
        "_parsedownExtended.php"
    ];

    // if $parser is not defined anywhere else, this class name will be instantiated and used as the parser
    $parserClassName = "BenjaminHoegh\\ParsedownExtended\\ParsedownExtended";
?>

The wiki reads pages and directories out of the $contentBaseUri variable set in the configuration. This variable is used to set the php.ini open_basedir to prevent access to any files outside of the specified directory.

If $parser is defined by a dependency before the script begins, the ->text(string) method will be called with the contents of each page. If $parser is not defined, the script will attempt to instantiate the class defined by $parserClassName.

Server Requirements

  • PHP 8.4

Dependencies

This project expects to use ParsedownExtended as $parser, although any class which implements the ->text(string): string) method.

  • https://github.com/erusev/parsedown
  • https://github.com/erusev/parsedown-extra
  • https://github.com/BenjaminHoegh/ParsedownExtended

About

document presentation platform

docs.kerrishaus.com

Topics

markdownphpwebwiki

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.