Generate pdf docs client api reference code blocks