From 78b8142b2432a03f8bba3f56bf2cdeac6d32cd34 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Mon, 12 Aug 2024 00:38:59 +0300 Subject: [PATCH] Fix bogus QML imports --- README.md | 3 ++- scripts/_generate.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0932d69..f7de300 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ Before building with Hugo, do the following: [here](https://discussions.apple.com/docs/DOC-3083). - Second, create a symlink in ~/Sites pointing to the `public/` folder in this repo, e.g.: `ls -s ~/Sites/qbs-io ~/Developer/qbs-io/public`. +- Third, you'd need additional python packages: pip install beautifulsoup4 lxml - Ensure qmake and qdoc are in PATH: `export PATH=/Applications/Qt/6.7.0/macos/bin/:$PATH`. - Run `./_generate.sh` to rebuild docs. - Run `hugo -b http://localhost/~${USER}/qbs-io`. -- Run `open http://localhost/~${USER}/qbs-io/`. \ No newline at end of file +- Run `open http://localhost/~${USER}/qbs-io/`. diff --git a/scripts/_generate.sh b/scripts/_generate.sh index 3ffa709..9bfb831 100755 --- a/scripts/_generate.sh +++ b/scripts/_generate.sh @@ -22,6 +22,7 @@ export QBS_VERSION_TAG=${QBS_VERSION//[.-]/} pushd _qbs/doc || exit 1 qdoc qbs-hugo.qdocconf --outputdir=../../../content/docs +python3 fix-qmlimports.py ../../../content/docs popd || exit 1 echo "postprocessing with adjust.mjs..."