Skip to content

Commit 7f300dd

Browse files
committed
Fix libplist docs main page
1 parent f821528 commit 7f300dd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ jobs:
116116
cp -r $PACKAGE-$I/docs/html/* public/docs/$PACKAGE/$I/
117117
done
118118
ln -s $I public/docs/$PACKAGE/latest
119-
ls -l public/docs/$PACKAGE
120119
121120
- name: Build libplist documentation
122121
shell: bash
@@ -140,14 +139,14 @@ jobs:
140139
if ! test -d docs/doxygen; then
141140
cp -r ../$PACKAGE-master/docs/doxygen docs/
142141
fi
142+
awk '/\#\# Table of Contents/{while(getline && $$0 != ""){}{print "[TOC]"}}1' README.md > docs/README.doxygen.md
143143
echo "Building docs for $PACKAGE-$I..."
144144
doxygen doxygen.cfg
145145
cd $CURDIR
146146
mkdir -p public/docs/$PACKAGE/$I
147147
cp -r $PACKAGE-$I/docs/html/* public/docs/$PACKAGE/$I/
148148
done
149149
ln -s $I public/docs/$PACKAGE/latest
150-
ls -l public/docs/$PACKAGE
151150
152151
- name: Deploy 🚀
153152
uses: JamesIves/[email protected]

layouts/partials/navbar.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<a class="dropdown-item" href="{{ anchor_base_url }}#examples">Examples</a>
4040
<div class="dropdown-divider"></div>
4141
<a class="dropdown-item" href="{{ site.urls.docs }}/libimobiledevice/latest">libimobiledevice <span class="badge badge-info">API</span></a>
42-
<a class="dropdown-item" href="{{ site.urls.docs }}/libplist/latest">libplist <span class="badge badge-muted">API</span></a>
42+
<a class="dropdown-item" href="{{ site.urls.docs }}/libplist/latest">libplist <span class="badge badge-info">API</span></a>
4343
<a class="dropdown-item disabled" href="#" title="Oh noe. Sorry, that one is not available yet.">libideviceactivation <span class="badge badge-muted">API</span></a>
4444
<a class="dropdown-item disabled" href="#" title="Oh noe. Sorry, that one is not available yet.">libusbmuxd <span class="badge badge-muted">API</span></a>
4545
<a class="dropdown-item disabled" href="#" title="Oh noe. Sorry, that one is not available yet.">libirecovery <span class="badge badge-muted">API</span></a>

0 commit comments

Comments
 (0)