diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e6b0bf..2cdba09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ - Add your updates here :) +## [5.8.0] 2024-02-27 + +- Add PDF generation commands - Add another python commands combination to locally run documentation ## [5.7.0] 2024-02-14 diff --git a/src/hardis-commands-provider.ts b/src/hardis-commands-provider.ts index d68ea59..6c57d80 100644 --- a/src/hardis-commands-provider.ts +++ b/src/hardis-commands-provider.ts @@ -773,6 +773,16 @@ export class HardisCommandsProvider helpUrl: "https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/", }, + { + id: "hardis:doc:project2markdown-pdf", + label: "Project Documentation + PDF", + command: "sf hardis:doc:project2markdown --pdf", + tooltip: + "Generates markdown pages with SF Project content: List of metadatas, installed packages... + PDF files", + requiresProject: true, + helpUrl: + "https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/", + }, { id: "hardis:doc:project2markdown-history", label: "Project Documentation (with history)", @@ -806,13 +816,22 @@ export class HardisCommandsProvider }, { id: "hardis:doc:flow2markdown", - label: "Single Flow Documentation", + label: "Flows Documentation", command: "sf hardis:doc:flow2markdown", tooltip: "Generates Visual Documentation for a Flow", requiresProject: true, helpUrl: "https://sfdx-hardis.cloudity.com/hardis/doc/flow2markdown/", }, + { + id: "hardis:doc:flow2markdown-pdf", + label: "Flows Documentation + PDF", + command: "sf hardis:doc:flow2markdown --pdf", + tooltip: "Generates Visual Documentation for a Flow + PDF file", + requiresProject: true, + helpUrl: + "https://sfdx-hardis.cloudity.com/hardis/doc/flow2markdown/", + }, { id: "hardis:project:generate:flow-git-diff", label: "Single Flow Visual Git Diff", diff --git a/src/themeUtils.ts b/src/themeUtils.ts index c13a113..c63459f 100644 --- a/src/themeUtils.ts +++ b/src/themeUtils.ts @@ -245,6 +245,7 @@ export class ThemeUtils { hardis: "old.svg", }, "hardis:doc:project2markdown": { vscode: "book", hardis: "doc.svg" }, + "hardis:doc:project2markdown-pdf": { vscode: "book", hardis: "doc.svg" }, "hardis:doc:project2markdown-history": { vscode: "book", hardis: "doc.svg", @@ -254,6 +255,10 @@ export class ThemeUtils { hardis: "push.svg", }, "hardis:doc:flow2markdown": { vscode: "git-branch", hardis: "doc.svg" }, + "hardis:doc:flow2markdown-pdf": { + vscode: "git-branch", + hardis: "doc.svg", + }, "hardis:doc:flow2markdown-history": { vscode: "git-branch", hardis: "doc.svg",