Skip to content

Commit 7d61538

Browse files
committed
Refactor: run doc windows script, github repo size, fix run doc linux
1 parent 0f8bbb9 commit 7d61538

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![CodeQL](https://github.com/bobis33/Cross-API-Engine/actions/workflows/codeql.yml/badge.svg)](https://github.com/bobis33/Cross-API-Engine/actions/workflows/codeql.yml)
88
[![Doxygen deployment](https://github.com/bobis33/Cross-API-Engine/actions/workflows/deploy-doxygen.yml/badge.svg)](https://github.com/bobis33/Cross-API-Engine/actions/workflows/deploy-doxygen.yml)
99
[![License](https://img.shields.io/github/license/bobis33/Cross-API-Engine.svg)](https://github.com/bobis33/Cross-API-Engine/blob/main/LICENSE.md)
10+
![GitHub repo size](https://img.shields.io/github/repo-size/bobis33/Cross-API-Engine)
1011

1112
---
1213

scripts/unix/run-doc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ case $1 in
2222
php)
2323
phpServer
2424
;;
25-
py)
25+
python)
2626
pythonServer
2727
;;
2828
*)

scripts/windows/run-doc.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
2+
Write-Error "Install node."
3+
exit 1
4+
}
5+
6+
npx http-server documentation/.doxygen/html/ -p 8080

0 commit comments

Comments
 (0)