From 31d4d665e22011bbb2e9288f847e83548d97a383 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Thu, 27 Feb 2025 12:39:21 +0100 Subject: [PATCH] Add anothing python commands combination to locally run documentation (#199) * Add anothing python commands combination to locally run documentation * fix typo --- CHANGELOG.md | 2 ++ src/hardis-commands-provider.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8b85f..4e6b0bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - Add your updates here :) +- Add another python commands combination to locally run documentation + ## [5.7.0] 2024-02-14 - New command [hardis:project:generate:bypass](https://sfdx-hardis.cloudity.com/hardis/project/generate/bypass/) : Generates bypass custom permissions and permission sets for specified sObjects and automations diff --git a/src/hardis-commands-provider.ts b/src/hardis-commands-provider.ts index 1b97561..d68ea59 100644 --- a/src/hardis-commands-provider.ts +++ b/src/hardis-commands-provider.ts @@ -787,7 +787,7 @@ export class HardisCommandsProvider id: "hardis-run-doc", label: "Run Local HTML Doc Pages", command: - "(pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && mkdocs serve) || (python -m install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && python -m mkdocs serve) || (py -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && py -m mkdocs serve)", + "(pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && mkdocs serve) || (python -m install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && python -m mkdocs serve) || (py -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && py -m mkdocs serve) || (pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists && python -m mkdocs serve -v)", tooltip: "Run Documentation local web server, then open http://127.0.0.1:8000/ . You need Python on your computer :)", requiresProject: true,