Skip to content

Conversation

@nojaf
Copy link
Contributor

@nojaf nojaf commented Jul 29, 2022

An initial few pages for #2320.
When reviewing this you might want to read it locally using:

https://github.com/fsprojects/fantomas/blob/8593cb20c867699bedc6a9c5c735fa4532db27ed/docs/.README.md

Enjoy!

PS: @yisusalanpng is working on the styling in #2377

@nojaf nojaf requested review from alanlomeli and dawedawe July 29, 2022 15:41
Copy link
Member

@dawedawe dawedawe left a comment

Choose a reason for hiding this comment

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

Wow, this is super useful work. Much appreciated.

As a final step in the process, we validate the result of the code generation.
We do this by parsing the existing code and investigating the fsharp diagnostics.
When there are any warnings or errors, we will throw an exception.
Some warnings are are allowed as they indicate problems that were most likely already present in the input code.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Some warnings are are allowed as they indicate problems that were most likely already present in the input code.
Some warnings are allowed as they indicate problems that were most likely already present in the input code.
</div>

Unfortunately, both phases are not always very straight forward.
But once you get hang of the first phase, you can easily understand the second phase.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
But once you get hang of the first phase, you can easily understand the second phase.
But once you get the hang of the first phase, you can easily understand the second phase.
@nojaf nojaf force-pushed the contributors-doc branch from 0c9663f to 208430b Compare August 1, 2022 16:55
@nojaf
Copy link
Contributor Author

nojaf commented Aug 2, 2022

Many thanks for the review @dawedawe!

@nojaf nojaf force-pushed the contributors-doc branch 3 times, most recently from cf2daf3 to 87cdd15 Compare August 2, 2022 15:10
@nojaf nojaf force-pushed the contributors-doc branch from 87cdd15 to 99bdf68 Compare August 3, 2022 11:17
@nojaf nojaf merged commit 3899b30 into fsprojects:master Aug 3, 2022
@nojaf nojaf deleted the contributors-doc branch August 3, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants