-
Notifications
You must be signed in to change notification settings - Fork 571
Display kind signatures and comments in docs #4100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JordanMartinez
merged 35 commits into
purescript:master
from
JordanMartinez:fixDocsOfTypesWithKindSigs
Jun 22, 2021
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
209f431
Refactor: Use do notation to expose `title` value
JordanMartinez 6759780
Flip order of arguments and use `\case` syntax
JordanMartinez 8ae3a44
Minor stylistic change
JordanMartinez 162ab15
Extract data/newtype, type, and class declarations to where clause
JordanMartinez ffccc38
Render kind signatures and comments in docs
JordanMartinez d0f4638
Fix type mismatch between object and null
JordanMartinez ac4f1d1
Check both versions of a kind declaration's name
JordanMartinez 2a6a7fc
Make small stylistic change for readability
JordanMartinez b82df5e
Add a line separator between kind sig docs and data decl docs
JordanMartinez 25fb196
Remove temporary duplicates of functions now that process works
JordanMartinez dcb754b
Only add newline separator between comments if both are non-empty
JordanMartinez e7996c1
Move kindSignatureForKeyword into Docs.Types
JordanMartinez ada16b6
Change KindInfo into record
JordanMartinez b381f41
Move tyToClassName into where cause under KindDeclaration path
JordanMartinez 9f17caa
Update isExported to include kind signatures via simpler approach
JordanMartinez 6e9aaa5
Revert convertDeclaration and use augment to add kind signature
JordanMartinez 4393546
Convert AugmentKind args into a record type: KindSignatureInfo
JordanMartinez 01f718e
Update changelog entry
JordanMartinez 64ba014
Rename ty/Type to kind; change kindSignatureFor to keyword
JordanMartinez cadc3eb
Test that kind sigs appear in docs of declarations with kind sigs
JordanMartinez 1620dec
In kind sig doc tests, make one type parameter in class polymorphic
JordanMartinez b16a01c
Also test that expected kind signature matches the actual one
JordanMartinez 1333269
Verify that doc-comment merging is done correctly
JordanMartinez 645d7d6
Test doc-comments of declarations without kind signature
JordanMartinez 21d0e26
Test that declarations with no explicit kind sig still have one in docs
JordanMartinez 59009d7
Add a single line between kind signature and type declaration
JordanMartinez 62e2d94
Fix vertical spacing above/below line separating kind sig from type decl
JordanMartinez 1c85ef1
Merge branch 'master' into fixDocsOfTypesWithKindSigs
JordanMartinez 24f15e1
Insert inferred kind signatures into docs' declarations
JordanMartinez 1174595
Update tests to better show the expected and actual inferred kind sigs
JordanMartinez 48028cb
Merge branch 'fixDocsOfTypesWithKindSigs' of github.com:JordanMartine…
JordanMartinez e526ce2
Refactor code to increase readability by making KindInfo in function
JordanMartinez dcd2b82
Update expected kind signatures to match compiler-inferred ones
JordanMartinez d04c904
Revert kind signature insertion code and tests
JordanMartinez 1fb079b
Provide more description for changelog entry
JordanMartinez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.