-
Notifications
You must be signed in to change notification settings - Fork 158
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
Trim --fscoptions. #759
Merged
Merged
Trim --fscoptions. #759
Changes from all commits
Commits
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,23 +21,24 @@ rules of [API doc generation](apidocs.html). The input accepted is described in | |
|
||
The command line options accepted are: | ||
|
||
| Command Line Option | Description | | ||
|:-----------------------|:-----------------------------------------| | ||
| `--input` | Input directory of content (default: `docs`) | | ||
| `--projects` | Project files to build API docs for outputs, defaults to all packable projects | | ||
| `--output` | Output Directory (default 'output' for 'build' and 'tmp/watch' for 'watch') | | ||
| `--noapidocs` | Disable generation of API docs | | ||
| `--eval` | Evaluate F# fragments in scripts | | ||
| `--saveimages` | Save images referenced in docs | | ||
| `--nolinenumbers` | Don't add line numbers, default is to add line number. | | ||
| `--parameters` | Additional substitution parameters for templates | | ||
| `--nonpublic` | The tool will also generate documentation for non-public members | | ||
| `--nodefaultcontent` | Do not copy default content styles, javascript or use default templates | | ||
| `--clean` | Clean the output directory | | ||
| `--help` | Display this help screen | | ||
| `--version` | Display version information | | ||
| `--properties` | Provide properties to dotnet msbuild, e.g. --properties Configuration=Release Version=3.4 | | ||
| `--strict` | Fail if docs are missing or can't be generated | | ||
| Command Line Option | Description | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for updating the entire table, the IDE aligned everything automatically 😅. |
||
|:---------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `--input` | Input directory of content (default: `docs`) | | ||
| `--projects` | Project files to build API docs for outputs, defaults to all packable projects | | ||
| `--output` | Output Directory (default 'output' for 'build' and 'tmp/watch' for 'watch') | | ||
| `--noapidocs` | Disable generation of API docs | | ||
| `--eval` | Evaluate F# fragments in scripts | | ||
| `--saveimages` | Save images referenced in docs | | ||
| `--nolinenumbers` | Don't add line numbers, default is to add line number. | | ||
| `--parameters` | Additional substitution parameters for templates | | ||
| `--nonpublic` | The tool will also generate documentation for non-public members | | ||
| `--nodefaultcontent` | Do not copy default content styles, javascript or use default templates | | ||
| `--clean` | Clean the output directory | | ||
| `--help` | Display this help screen | | ||
| `--version` | Display version information | | ||
| `--properties` | Provide properties to dotnet msbuild, e.g. --properties Configuration=Release Version=3.4 | | ||
| `--fscoptions` | Additional arguments passed down as `otherflags` to the F# compiler when the API is being generated.<br/>Note that these arguments are trimmed, this is to overcome [a limitation in the command line argument processing](https://github.com/commandlineparser/commandline/issues/58).<br/>A typical use-case would be to pass an addition assembly reference.<br/>Example `--fscoptions " -r:MyAssembly.dll"` | | ||
| `--strict` | Fail if docs are missing or can't be generated | | ||
|
||
The following command line options are also accepted but it is instead recommended you use | ||
settings in your .fsproj project files: | ||
|
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
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.
I believe the build is failing because of this tick.