mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-07-08 21:09:24 +00:00
offline docs by default.
This commit is contained in:
5
.github/workflows/appimage-build.yml
vendored
5
.github/workflows/appimage-build.yml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
liblua5.4-dev libpci-dev libperl-dev libssl-dev libayatana-appindicator3-dev \
|
||||
perl python3 python3-minimal python3-dev python3-cffi mono-devel desktop-file-utils \
|
||||
fonts-noto-color-emoji breeze-gtk-theme \
|
||||
python3-venv \
|
||||
patchelf file curl
|
||||
|
||||
- name: Configure
|
||||
@@ -206,6 +207,10 @@ jobs:
|
||||
export ZOITECHAT_LIBDIR="$APPDIR/usr/lib/zoitechat/plugins"
|
||||
fi
|
||||
|
||||
if [ -f "$APPDIR/usr/share/doc/zoitechat/html/index.html" ]; then
|
||||
export ZOITECHAT_DOCDIR="$APPDIR/usr/share/doc/zoitechat/html"
|
||||
fi
|
||||
|
||||
if [ -d "$APPDIR/usr/share/glib-2.0/schemas" ]; then
|
||||
export GSETTINGS_SCHEMA_DIR="$APPDIR/usr/share/glib-2.0/schemas${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR}"
|
||||
fi
|
||||
|
||||
7
.github/workflows/windows-build.yml
vendored
7
.github/workflows/windows-build.yml
vendored
@@ -113,6 +113,13 @@ jobs:
|
||||
New-Item -Path $pyDir -Name "${{ matrix.platform }}" -ItemType Junction -Value $pyRoot | Out-Null
|
||||
}
|
||||
|
||||
# Runs while Python 3.14 is still the active interpreter; the installer
|
||||
# packages rel\offline-docs as the "Offline Documentation" component and
|
||||
# skips it if this step could not build the docs.
|
||||
- name: Build offline documentation
|
||||
run: |
|
||||
python data\misc\build_offline_docs.py --output ..\zoitechat-build\${{ matrix.platform }}\rel\offline-docs
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.8.10'
|
||||
|
||||
Reference in New Issue
Block a user