mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-24 10:52:48 +00:00
add script to generate API docs
This commit is contained in:
parent
4f52348dc5
commit
0721ddc77e
1 changed files with 23 additions and 0 deletions
23
docs.sh
Executable file
23
docs.sh
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
version="$1"
|
||||||
|
packs=("kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps")
|
||||||
|
cwd="$(pwd)"
|
||||||
|
|
||||||
|
if [ ! which doxygen ];then
|
||||||
|
echo "Doxygen is not installed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
source "$(dirname $0)/fetch.sh"
|
||||||
|
|
||||||
|
# set again
|
||||||
|
packs=("kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps")
|
||||||
|
for p in "${packs[@]}";do
|
||||||
|
echo "Generating API docs for $p..."
|
||||||
|
cd "$p"
|
||||||
|
doxygen doxygen.conf
|
||||||
|
cd "$cwd"
|
||||||
|
done
|
Loading…
Add table
Reference in a new issue