Skip to content

Commit

Permalink
Update python commands so they work on any tyme of python installatio…
Browse files Browse the repository at this point in the history
…n, including Windows
  • Loading branch information
nvuillam committed Jan 10, 2025
1 parent 8fdf1d1 commit f3dc0cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Add your updates here :)

## [5.6.1] 2024-01-10

- Update python commands so they work on any tyme of python installation, including Windows

## [5.6.0] 2024-01-04

- New command [hardis:doc:mkdocs-to-salesforce](https://sfdx-hardis.cloudity.com/hardis/doc/mkdocs-to-salesforce/) to upload HTML doc as static resource to your Salesforce org
Expand Down
2 changes: 1 addition & 1 deletion src/hardis-commands-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ export class HardisCommandsProvider
id: "hardis-run-doc",
label: "Run Local HTML Doc Pages",
command:
"pip install mkdocs-material mdx_truly_sane_lists && mkdocs serve",
"(pip install mkdocs-material mdx_truly_sane_lists && mkdocs serve) || (python -m install mkdocs-material mdx_truly_sane_lists && python -m mkdocs serve) || (py -m pip install mkdocs-material mdx_truly_sane_lists && py -m mkdocs serve)",
tooltip:
"Run Documentation local web server, then open http://127.0.0.1:8000/ . You need Python on your computer :)",
requiresProject: true,
Expand Down

0 comments on commit f3dc0cc

Please sign in to comment.