mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-26 05:44:12 +01:00
cleanup for linux
This commit is contained in:
@@ -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)
|
||||
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user