-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Currently, PdfPublisher only calls PdfBuilder and does not provide additional methods, so it should be removed.
DocPublisher plays an important role in document publishing; it currently provides generating the HTML documents but can use PdfBuilder to generate PDF documents. In the future, it may also support EPUB format documents.
External Gradle tasks should uniformly use DocPublisher instead of PdfPublisher.
- Refactor PdfBuilder
- Make
build()create*()methods as instance methods rather than static methods - Prefer to user
build()to generate pdf
- Make
- Refactor DocPublisher
- Add new method
publishPdf()to DocPublisher, it callPdfBuilder.build() - Add two properties
singleHtmlandsinglePdf, now you can customize file name of the generated html and pdf - Improve the log messages
- Add new method
- Refactor PublishPdfTask
- Call
DocPublisher.publishPdf() - Add new properties
targetDirsingleHtmlandsinglePdf
- Call
- Add new property
singleHtmlto PublishGuideTask - Remove PdfPublisher and PdfPublisherSpec
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement