fix markdown and typos in API docs Upstream-commit: 3442339b98dccc7137ea8d49393eff44166a67ec Component: engine