changed documentation handler to cache read markdown documents rather than read from file every time