@@ -15,13 +15,30 @@ dotnet tool install -g XMLDoc2Markdown
1515### Generate documentation
1616
1717``` shell
18- xmldoc2md < DLL_SOURCE_PATH > < OUTPUT_DIRECTORY >
18+ dotnet xmldoc2md < src > [options]
1919```
2020
21+ | Argument | Description |
22+ | ---| ---|
23+ | ` <src> ` | DLL source path |
24+
25+ | Option | Description |
26+ | ---| ---|
27+ | ` -o, --output <output> ` | Output directory |
28+ | ` --index-page-name <index-page-name> ` | Name of the index page [ default: index] |
29+ | ` --examples-path <examples-path> ` | Path to the code examples to insert in the documentation |
30+ | ` --github-pages ` | Remove '.md' extension from links for GitHub Pages |
31+ | ` --gitlab-wiki ` | Remove '.md' extension and './' prefix from links for gitlab wikis |
32+ | ` --back-button ` | Add a back button on each page |
33+ | ` --member-accessibility-level <internal\|private\|protected\|public> ` | Minimum accessibility level of members to be documented. [ default: protected] |
34+ | ` --structure <flat\|tree> ` | Documentation structure. [ default: flat] |
35+ | ` --version ` | Show version information |
36+ | ` -?, -h, --help ` | Show help and usage information |
37+
2138#### Example
2239
2340``` shell
24- xmldoc2md Sample.dll docs
41+ dotnet xmldoc2md Sample.dll --output docs --github-pages --back-button
2542```
2643
2744### Insert code example
@@ -81,26 +98,3 @@ Lorem ipsum...
8198new MyClass ();
8299```
83100~~~
84-
85- ### Display command line help
86-
87- ``` shell
88- xmldoc2md -h
89- ```
90-
91- ``` text
92- Usage: xmldoc2md [arguments] [options]
93-
94- Arguments:
95- src DLL source path
96- out Output directory
97-
98- Options:
99- -v|--version Show version information
100- -?|-h|--help Show help information
101- --index-page-name Name of the index page (default: "index")
102- --examples-path Path to the code examples to insert in the documentation
103- --github-pages Remove '.md' extension from links for GitHub Pages
104- --gitlab-wiki Remove '.md' extension and './' prefix from links for gitlab wikis
105- --back-button Add a back button on each page
106- ```
0 commit comments