fixed apidoc context for markdown rendering