Skip to content

Conversation

@ArneSchulze
Copy link

This PR adds support for the odoc comment syntax for ReasonML documentation comments. The support is disabled by default but can be enabled using the use_odoc_for_reason configuration.

}; */

let process = (~uri, ~moduleName, ~basePath, ~reasonFormat, text, ~cacheLocation, ~compilerVersion, ~allLocations, compilerPath, refmtPath, includes, flags) => {
let process = (~uri, ~moduleName, ~basePath, ~reasonFormat, text, ~cacheLocation, ~compilerVersion, ~allLocations, compilerPath, refmtPath, includes, flags, converter) => {
Copy link
Author

@ArneSchulze ArneSchulze Dec 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Providing a converter as argument is supposed to make sure that documentation comments for local symbols also display text in the correct format. Previously the doc comment text was passed around as-is, so that displaying only worked for markdown comments, not for odoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant