Microsoft.DocAsCode.HtmlToPdf
2.65.3
Prefix Reserved
Docfx has been fully transitioned to be a .NET Foundation project entirely driven by the community for the interest of the community. Hence we are renaming the NuGet package names, assembly names and namespace names from Microsoft.DocAsCode.* to Docfx.*.
See the version list below for details.
dotnet add package Microsoft.DocAsCode.HtmlToPdf --version 2.65.3
NuGet\Install-Package Microsoft.DocAsCode.HtmlToPdf -Version 2.65.3
<PackageReference Include="Microsoft.DocAsCode.HtmlToPdf" Version="2.65.3" />
paket add Microsoft.DocAsCode.HtmlToPdf --version 2.65.3
#r "nuget: Microsoft.DocAsCode.HtmlToPdf, 2.65.3"
// Install Microsoft.DocAsCode.HtmlToPdf as a Cake Addin #addin nuget:?package=Microsoft.DocAsCode.HtmlToPdf&version=2.65.3 // Install Microsoft.DocAsCode.HtmlToPdf as a Cake Tool #tool nuget:?package=Microsoft.DocAsCode.HtmlToPdf&version=2.65.3
Build your docs with docfx
Build your technical documentation site with docfx, with landing pages, markdown, API reference docs for .NET, REST API and more.
⚠️⚠️⚠️ NOTICE ⚠️⚠️⚠️
DocFX is being transitioned to the .NET Foundatiopn as an official .NET project!
- The DocFX team is working on a public V3 build which will become the main branch. This will remove some older code and features that are no longer necessary, as well as update the dependencies and simplify the project structure. Stay tuned for a roadmap.
- Due to architectural changes in the site, DocFX can no longer support building Microsoft Learn content directly. The open source repos holding Markdown content for Microsoft Learn will still accept pull requests and changes, but are not directly buildable with DocFX.
- Moving forward, we will only be supporting this tool as a static site generator for new sites, not as a tool to build official Microsoft content on Microsoft Learn.
Getting Started
Install docfx as a global tool:
dotnet tool install -g docfx
Create and start a website locally:
docfx init -q docfx docfx_project\docfx.json --serve
Go to https://localhost:8080 to see the sample site.
For more information, refer to Getting Started.
Contributing
Use Discussions for questions and general discussions. Use Issues to report bugs and proposing features.
We welcome code contributions through pull requests, issues tagged as help-wanted
are good candidate to start contributing code.
Prerequisites
- Install Visual Studio 2022 (Community or higher) and make sure you have the latest updates.
- Install .NET Core SDK 6.x and 7.x.
- Install NodeJS (16.x.x).
- Optional: Install wkhtmltopdf on Windows to test PDF using
choco install wkhtmltopdf
.
Build and Test
- Build site templates in
templates
directory:- Run
npm install
to restore npm dependencies. - Run
npm run build
to build the templates.
- Run
- Run
dotnet build
to build the project or use Visual Studio to builddocfx.sln
. - Run
dotnet test
to test the project or use Visual Studio test explorer.- Run
git lfs checkout
to checkout files for snapshot testing
- Run
Branch and Release
The main
branch is the default branch for pull requests and most other development activities. We occationally use feature/*
branches for epic feature development.
Releases are based on a stable main
branch commit using GitHub Releases. Use of Conventional Commit is encouraged.
Docfx is not released under a regular cadence, new versions arrive when maintainers see enough changes that warrant a new releases. Sometimes we use prereleases to dogfood breaking changes and get feedbacks from the community.
Roadmap
We use Milestones to communicate upcoming changes docfx:
Working Set are features being actively worked on. Not every features in this bucket will be committed in the next release but they reflect top of minds of maintainers in the upcoming period.
Backlog is a set of feature candidates for some future releases, but are not being actively worked on.
.NET Foundation
This project is supported by the .NET Foundation.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the .NET Foundation Code of Conduct.
License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- iTextSharp (>= 5.5.13.3)
- Microsoft.DocAsCode.Build.Common (>= 2.65.3)
- Microsoft.DocAsCode.Build.ConceptualDocuments (>= 2.65.3)
- Microsoft.DocAsCode.Common (>= 2.65.3)
-
net7.0
- iTextSharp (>= 5.5.13.3)
- Microsoft.DocAsCode.Build.Common (>= 2.65.3)
- Microsoft.DocAsCode.Build.ConceptualDocuments (>= 2.65.3)
- Microsoft.DocAsCode.Common (>= 2.65.3)
-
net8.0
- iTextSharp (>= 5.5.13.3)
- Microsoft.DocAsCode.Build.Common (>= 2.65.3)
- Microsoft.DocAsCode.Build.ConceptualDocuments (>= 2.65.3)
- Microsoft.DocAsCode.Common (>= 2.65.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.DocAsCode.HtmlToPdf:
Package | Downloads |
---|---|
Microsoft.DocAsCode.App
Docfx published as a library for extensibility and advanced customization |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.67.5 | 9,747 | 6/21/2023 | |
2.67.3 | 1,592 | 6/2/2023 | |
2.67.2 | 447 | 5/26/2023 | |
2.67.1 | 497 | 5/16/2023 | |
2.67.0 | 902 | 5/6/2023 | |
2.66.2 | 4,923 | 4/26/2023 | |
2.66.1 | 346 | 4/25/2023 | |
2.66.0 | 397 | 4/24/2023 | |
2.65.3 | 481 | 4/14/2023 | |
2.65.2 | 376 | 4/11/2023 | |
2.65.1 | 358 | 4/9/2023 | |
2.65.0 | 392 | 4/7/2023 | |
2.64.0 | 510 | 3/30/2023 | |
2.63.1 | 663 | 3/21/2023 | |
2.63.0 | 406 | 3/20/2023 | |
2.62.2 | 463 | 3/7/2023 | |
2.62.1 | 1,914 | 2/15/2023 | |
2.62.0 | 408 | 2/14/2023 | |
2.61.0 | 2,366 | 1/30/2023 | |
2.60.2 | 851 | 1/20/2023 | |
2.60.1 | 465 | 1/18/2023 | |
2.60.0 | 942 | 1/13/2023 | |
2.60.0-preview.2 | 147 | 12/25/2022 | |
2.59.4 | 6,721 | 9/7/2022 | |
2.59.3 | 1,105 | 7/6/2022 | |
2.59.2 | 1,046 | 4/11/2022 | |
2.59.1 | 674 | 3/31/2022 | |
2.59.0 | 949 | 1/19/2022 | |
2.58.9 | 764 | 11/4/2021 | |
2.58.8 | 489 | 11/1/2021 | |
2.58.5 | 500 | 10/26/2021 | |
2.58.4 | 574 | 9/14/2021 | |
2.58.3 | 513 | 9/7/2021 | |
2.58.2 | 507 | 8/24/2021 | |
2.58.1 | 490 | 8/23/2021 | |
2.58.0 | 806 | 6/9/2021 | |
2.57.2 | 662 | 4/14/2021 | |
2.57.1 | 493 | 4/13/2021 | |
2.57.0 | 529 | 4/9/2021 | |
2.56.7 | 1,667 | 3/2/2021 | |
2.56.6 | 1,373 | 12/10/2020 | |
2.56.5 | 671 | 11/10/2020 | |
2.56.4 | 981 | 10/20/2020 | |
2.56.3 | 634 | 10/12/2020 | |
2.56.2 | 886 | 7/27/2020 | |
2.56.1 | 676 | 7/6/2020 | |
2.56.0 | 738 | 6/29/2020 | |
2.55.0 | 738 | 6/12/2020 | |
2.53.1 | 719 | 5/11/2020 | |
2.52.0 | 1,033 | 4/13/2020 | |
2.51.0 | 913 | 3/20/2020 | |
2.50.0 | 1,112 | 3/2/2020 | |
2.49.0 | 724 | 2/17/2020 | |
2.48.1 | 2,352 | 1/13/2020 | |
2.48.0 | 1,265 | 12/9/2019 | |
2.47.0 | 1,272 | 10/31/2019 | |
2.46.0 | 1,043 | 10/14/2019 | |
2.45.1 | 1,033 | 9/15/2019 | |
2.45.0 | 1,043 | 8/25/2019 | |
2.44.0 | 861 | 8/2/2019 | |
2.43.2 | 889 | 7/2/2019 | |
2.43.1 | 810 | 6/14/2019 | |
2.42.4 | 1,247 | 5/24/2019 | |
2.42.3 | 12,854 | 5/21/2019 | |
2.42.2 | 733 | 5/10/2019 | |
2.42.0 | 859 | 4/22/2019 | |
2.41.0 | 947 | 3/29/2019 | |
2.40.12 | 768 | 3/11/2019 | |
2.40.11 | 943 | 2/16/2019 | |
2.40.10 | 823 | 2/1/2019 | |
2.40.9 | 828 | 1/31/2019 | |
2.40.8 | 839 | 1/25/2019 | |
2.40.7 | 941 | 1/4/2019 | |
2.40.5 | 858 | 12/19/2018 | |
2.40.4 | 877 | 11/26/2018 | |
2.40.2 | 960 | 11/7/2018 | |
2.40.1 | 870 | 10/29/2018 | |
2.40.0 | 954 | 10/12/2018 | |
2.39.2 | 1,830 | 9/9/2018 | |
2.39.1 | 2,333 | 9/4/2018 | |
2.39.0 | 1,120 | 9/2/2018 | |
2.38.1 | 5,517 | 8/16/2018 | |
2.38.0 | 1,184 | 8/13/2018 | |
2.37.2 | 1,083 | 7/31/2018 | |
2.37.1 | 1,017 | 7/31/2018 | |
2.36.2 | 1,109 | 6/13/2018 | |
2.36.1 | 1,200 | 5/25/2018 | |
2.36.0 | 1,154 | 5/21/2018 | |
2.36.0-alpha-0159-g25e5900b4 | 819 | 4/26/2018 | |
2.35.4 | 1,241 | 5/2/2018 | |
2.35.3 | 1,180 | 5/2/2018 | |
2.35.0-alpha-0153-g6da267dd4 | 800 | 4/25/2018 | |
2.33.2 | 1,133 | 4/3/2018 | |
2.33.1 | 1,150 | 4/3/2018 | |
2.33.0 | 1,194 | 3/19/2018 | |
2.32.2 | 1,153 | 3/12/2018 | |
2.32.0 | 1,071 | 2/28/2018 | |
2.31.0 | 1,173 | 2/5/2018 | |
2.30.0 | 1,186 | 1/12/2018 | |
2.29.1 | 1,132 | 12/29/2017 | |
2.28.3 | 1,037 | 12/14/2017 | |
2.28.2 | 1,047 | 12/7/2017 | |
2.28.1 | 1,070 | 12/1/2017 | |
2.28.0 | 1,074 | 11/30/2017 | |
2.27.0 | 1,085 | 11/21/2017 | |
2.26.3 | 1,061 | 10/26/2017 | |
2.26.1 | 1,060 | 10/24/2017 | |
2.26.0 | 1,043 | 10/23/2017 | |
2.25.1 | 1,068 | 10/9/2017 | |
2.25.0 | 1,072 | 10/9/2017 | |
2.24.0 | 1,158 | 9/11/2017 | |
2.23.1 | 1,104 | 8/22/2017 | |
2.22.3 | 1,054 | 8/17/2017 | |
2.22.1 | 1,132 | 8/2/2017 | |
2.22.0 | 1,141 | 8/1/2017 | |
2.21.2 | 1,102 | 7/26/2017 | |
2.21.1 | 1,101 | 7/17/2017 | |
2.20.0 | 1,156 | 7/12/2017 | |
2.19.2 | 1,064 | 6/29/2017 | |
2.18.5 | 1,080 | 6/15/2017 | |
2.18.4 | 1,071 | 6/9/2017 | |
2.18.3 | 1,099 | 6/8/2017 | |
2.18.1 | 1,190 | 5/31/2017 |