You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,17 +47,23 @@ Follow the steps below to create a documentation website for your application.
47
47
48
48
## Build Printer-Friendly PDF Files
49
49
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).
51
52
- 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
+
53
55
```
54
56
set PATH=%PATH%;C:\Program Files\wkhtmltopdf\bin
55
57
```
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
+
57
61
```
58
-
docfx.exe pdf docfx.json
62
+
docfx.exe pdf ../dotnet-eud/docfx.json
59
63
```
60
64
65
+
This generates a *_pdf* subfоlder with a PDF file for each included table-of-contents file.
66
+
61
67
## Troubleshooting
62
68
Below are the common issues you can face when building this repository's documentation.
0 commit comments