cleanup for linux

This commit is contained in:
Eric Espie
2022-03-10 08:34:31 +01:00
parent c7fc7ed2b9
commit f9560005f4
3 changed files with 12 additions and 2 deletions

View File

@@ -17,4 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)$@" $(SPHINXOPTS) $(O)

View File

@@ -6,6 +6,12 @@ This documentation explains how to use UI blocks (new in 3.0) in twig based exte
## Generating the documentation
Generating the documentation source from the actual code:
```
php bin/generate_uiblock.php
```
### Windows users
#### setup

View File

@@ -536,7 +536,11 @@ EOF
// Rebuild doc
$sRootDir = dirname(__DIR__);
shell_exec("$sRootDir/make.bat html");
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
shell_exec("$sRootDir/make.bat html");
} else {
shell_exec("$sRootDir/make html");
}