Skip to content

Commit 444b856

Browse files
authored
Update README.md
1 parent c80ce24 commit 444b856

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,23 @@ Follow the steps below to create a documentation website for your application.
4747
4848
## Build Printer-Friendly PDF Files
4949
If your end users require a printed version, you can create a PDF file:
50-
- Ensure that you can successfully build a website with DocFX (see the [previous section](#build-your-own-documentation-website)).
50+
51+
- Ensure that you can successfully [build a website with DocFX](#build-your-own-documentation-website).
5152
- Download and install [wkhtmltopdf](https://wkhtmltopdf.org/downloads.html).
52-
- Open a console window and add the **wkhtmltopdf** executable path to the %PATH% environment variable:
53+
- In the folder with `docfx.exe`, open a console window and add the `wkhtmltopdf` executable path to the `%PATH%` environment variable:
54+
5355
```
5456
set PATH=%PATH%;C:\Program Files\wkhtmltopdf\bin
5557
```
56-
- Change the current directory to the repository root folder and call the DocFX executable with the *pdf* and *docfx.json* parameters. This generates a *_pdf* subfоlder with a PDF file for each included table-of-contents file.
58+
59+
- Build pdf:
60+
5761
```
58-
docfx.exe pdf docfx.json
62+
docfx.exe pdf ../dotnet-eud/docfx.json
5963
```
6064
65+
This generates a *_pdf* subfоlder with a PDF file for each included table-of-contents file.
66+
6167
## Troubleshooting
6268
Below are the common issues you can face when building this repository's documentation.
6369

0 commit comments

Comments
 (0)