-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb0803c
commit d0d0150
Showing
6 changed files
with
143 additions
and
7 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Doki CLI overview | ||
|
||
The `doki` Command-Line Interface (CLI) is a tool that allows you to generate documentation for your .NET projects using | ||
the Doki Documentation Framework. | ||
|
||
You can find the latest version of the CLI and how to install it | ||
on [NuGet](https://www.nuget.org/packages/Doki.CommandLine). | ||
|
||
## CLI commands | ||
|
||
The following commands are available in the `doki` CLI: | ||
|
||
- [init](init.md) | ||
- [g](generate.md) (generate) |
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# doki g | ||
|
||
## Name | ||
|
||
`doki g` - Generate documentation for your .NET projects. | ||
|
||
## Synopsis | ||
|
||
```bash | ||
doki g [<CONFIG>] [--allow-preview] [-c|--configuration <CONFIGURATION>] [--no-build] | ||
|
||
doki g -?|-h|--help | ||
``` | ||
|
||
## Description | ||
|
||
The `doki g` command generates documentation for your .NET projects using the Doki Documentation Framework. | ||
|
||
The command will build your project/s and generate documentation based on the configuration in the | ||
`doki.config.json` file. | ||
|
||
To set up a configuration file, use the [doki init](init.md) command. | ||
|
||
## Arguments | ||
|
||
`CONFIG` | ||
|
||
The path to the configuration file to use for documentation generation. If not specified, the command will look for a | ||
`doki.config.json` file in the current directory. | ||
|
||
## Options | ||
|
||
- `--allow-preview` | ||
|
||
Allow preview versions of the configured output libraries to be used during documentation generation. | ||
|
||
|
||
- `-c|--configuration <CONFIGURATION>` | ||
|
||
Defines the build configuration for building projects. If not specified, the command will use the `Release` | ||
configuration. | ||
|
||
|
||
- `--no-build` | ||
|
||
Skip building the project/s before generating documentation. | ||
> **Note:** If you use this option, you must ensure that the project/s are built before running the command and that | ||
> the output directories include all project dependencies and their XML documentation files. | ||
## Examples | ||
|
||
- Generate documentation: | ||
|
||
```bash | ||
doki g | ||
``` | ||
|
||
- Generate documentation using a specific configuration file: | ||
|
||
```bash | ||
doki g path/to/doki.config.json | ||
``` | ||
|
||
- Generate documentation using a specific build configuration: | ||
|
||
```bash | ||
doki g -c Debug | ||
``` | ||
|
||
- Generate documentation without building the project/s: | ||
|
||
```bash | ||
doki g --no-build | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# doki init | ||
|
||
## Name | ||
|
||
`doki init` - Set up your repository for documentation generation. | ||
|
||
## Synopsis | ||
|
||
```bash | ||
doki init | ||
|
||
doki init -?|-h|--help | ||
``` | ||
|
||
## Description | ||
|
||
The `doki init` command sets up your repository for documentation generation. It creates a `doki.config.json` file in | ||
the root of your repository that contains the configuration for the documentation generation process. | ||
|
||
You can customize the configuration file to suit your needs. The configuration file is used by the [doki g](generate.md) | ||
command to generate documentation. | ||
|
||
The `doki init` command will also update or create a `.gitignore` file in the root of your repository to exclude the | ||
`.doki` directory from source control. The `.doki` directory is used for caching during documentation generation | ||
process. | ||
|
||
## Options | ||
|
||
- `-?|-h|--help` | ||
|
||
Show help information for the command. | ||
|
||
## Examples | ||
|
||
- Set up your repository for documentation generation: | ||
|
||
```bash | ||
doki init | ||
``` |
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