mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
- generate phpdoc to a dokuwiki compatible format - add/update the phpdoc of a selection of class methods
8 lines
449 B
Bash
Executable File
8 lines
449 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
rm -rf /tmp/phpdoc-twig-cache/ && rm -rf data/phpdocumentor/output/objects-manipulation/ && rm -rf data/phpdocumentor/temp/objects-manipulation/ && vendor/bin/phpdoc -c .doc/phpdoc-objects-manipulation.dist.xml -vvv
|
|
|
|
|
|
# now wee need to lowercase every generated file because dokuwiki can't handle uppercase
|
|
cd data/phpdocumentor/output/objects-manipulation/
|
|
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done |