~aacid/ubuntu-ui-toolkit/nonsquareicons

« back to all changes in this revision

Viewing changes to documentation/docs.sh

  • Committer: Tarmac
  • Author(s): Zsombor Egri
  • Date: 2014-12-05 16:36:12 UTC
  • mfrom: (1363.1.2 app-theming-to-staging)
  • Revision ID: tarmac-20141205163612-7yub32shpe3zm1e2
Theming fixes: application theming, binding loop fix, auto-theming moved into MainView and it is applicable only on Ambiance and SuruDark, SuruGradient is no longer auto-themed. Fixes: https://bugs.launchpad.net/bugs/1213043, https://bugs.launchpad.net/bugs/1277647, https://bugs.launchpad.net/bugs/1330510, https://bugs.launchpad.net/bugs/1356779, https://bugs.launchpad.net/bugs/1389792.

Approved by PS Jenkins bot, Christian Dywan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    exit 1
22
22
fi
23
23
 
24
 
mkdir -p $DOC_PATH
25
 
 
26
24
# Offline docs for QtCreator
27
 
qdoc $SRC/ubuntu-ui-toolkit-qtcreator.qdocconf 2> $DOC_PATH/qdoc.log
 
25
qdoc $DOC_PATH/ubuntu-ui-toolkit-qtcreator.qdocconf 2> $DOC_PATH/qdoc.log
28
26
# FIXME: With Qt 5.2 this warning shows up, forcibly omit it from errors
29
27
grep -v "error: HTML file already exists; overwriting" $DOC_PATH/qdoc.log | grep -v "qdoc: warning: No documentation for 'global'" > $DOC_PATH/qdoc.err
30
28
cat $DOC_PATH/qdoc.err
36
34
 
37
35
# Online docs. Run qdoc twice: the second run with indexes for cross-referencing
38
36
# other APIs but discard errors because qdoc inherits all doc bugs otherwise
39
 
qdoc $SRC/ubuntu-ui-toolkit-online.qdocconf 2> $DOC_PATH/qdoc.log
 
37
qdoc $DOC_PATH/ubuntu-ui-toolkit-online.qdocconf 2> $DOC_PATH/qdoc.log
40
38
grep -v "error: HTML file already exists; overwriting" $DOC_PATH/qdoc.log | grep -v "qdoc: warning: No documentation for 'global'" > $DOC_PATH/qdoc.err
41
39
cat $DOC_PATH/qdoc.err
42
40
test ! -s $DOC_PATH/qdoc.err || exit 1
43
41
echo docs: Online done.
44
42
 
45
 
qdoc $SRC/ubuntu-ui-toolkit-online-indexes.qdocconf 2> /dev/null
 
43
qdoc $DOC_PATH/ubuntu-ui-toolkit-online-indexes.qdocconf 2> /dev/null
46
44
echo docs: Cross-referenced done.
47
45
 
48
46
sed -r -i 's@("main-content">)@\1<ul class="breadcrumb">@g' $1/html/*.html