-
Notifications
You must be signed in to change notification settings - Fork 327
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
Infrastructure for enso --docs
option & signature generator
#10291
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
6be7d9f
Cannot return CompilerContext.Module as that's not TruffleObject
JaroslavTulach e65eccc
isGenDocs seems to be totally unused
JaroslavTulach 0dd3a5d
Generate documentation for a library into its docs/api folder
JaroslavTulach b10ae46
Avoid generating content for private modules
JaroslavTulach 87b5026
Include also the documentation in the generated files
JaroslavTulach cbcb783
Merging with most recent develop
JaroslavTulach 72c9d89
Hint usage of --in-project option when project path isn't specified
JaroslavTulach ea4f573
Generate documentation via visitor
JaroslavTulach 37583e0
visitConstructor with Definition.Data
JaroslavTulach dabdbed
Exposing visitModule to tests
JaroslavTulach bd4f78a
Making runtime test compile
JaroslavTulach e30adaa
DocsGenerate test skeleton
JaroslavTulach 8cf7fde
Expanding the test with methods
JaroslavTulach 615e8ef
Keeping generateDocs flag in the ModuleContext
JaroslavTulach 9afa696
Generate documentation for a project in the test
JaroslavTulach f0fe9c4
Process all method bindings for a type when processing a type
JaroslavTulach f233f28
Helper method to generateDocumentation in the test
JaroslavTulach 69e648d
Extracting types from the IR and generating proper signature for a fu…
JaroslavTulach e78c17f
Generate signature of a constructor
JaroslavTulach 69bb876
Exposing two standard implementations of DocsVisit interface
JaroslavTulach ce2194a
Skip self in case of static methods
JaroslavTulach 40b50e9
--docs=api selects the DocsEmitSignatures generator
JaroslavTulach bd9001d
javafmtAll
JaroslavTulach 124f415
Hiding private constructors and methods
JaroslavTulach b065fe0
Extract type from Vector Text
JaroslavTulach 9bd0819
Support for union types
JaroslavTulach eba903c
Write down version of the API format to begin with
JaroslavTulach 682ba26
Return ANY when the type isn't known
JaroslavTulach f7e1411
Prefix extension methods with type's FQN
JaroslavTulach ab8ddf7
Specify values in back ampersands
JaroslavTulach 5dd13a7
Using Scala ternary operator
JaroslavTulach 0d63f0a
Associate exitFail with an message. Differentiate between stdout and …
JaroslavTulach 9bfd828
Scala doesn't have ternary operator
JaroslavTulach 6dbc951
Removing commented out line
JaroslavTulach 5c02828
Using PrintWriter instead of Appendable to avoid line separator issues
JaroslavTulach aeb9a4e
Fail on wrong format
JaroslavTulach 42a9464
Use subdirectories when generating the .md file
JaroslavTulach c105fe1
scalafmtAll
JaroslavTulach 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this correct? It seems that the underlying value of
docsArg
is aString
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea was:
false
- don't generatetrue
- generate and use default "style"String
- generate and use the "style" specified by the string