From 37cbd1e688a0ba16947b5c40b4b7ae37cc4ee021 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Aug 2024 21:30:04 +0000 Subject: [PATCH] build(deps): bump third-party/doxyconfig from `671b494` to `6d145da` (#87) Bumps [third-party/doxyconfig](https://github.com/LizardByte/doxyconfig) from `671b494` to `6d145da`. - [Commits](https://github.com/LizardByte/doxyconfig/compare/671b494f3cbe8597a36d81869a864dc9fff497f4...6d145dab2ec1f387920036c7fffc1d08d52fe926) --- updated-dependencies: - dependency-name: third-party/doxyconfig dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> --- .gitignore | 2 +- .readthedocs.yaml | 26 ++++++++------------------ README.md | 2 -- third-party/doxyconfig | 2 +- 4 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 9114397..ca73318 100644 --- a/.gitignore +++ b/.gitignore @@ -42,7 +42,7 @@ build/ cmake-*/ # doxyconfig -docs/*-doxyconfig* +docs/doxyconfig* # CTest Testing/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a2c132d..ee2f3bb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,25 +10,15 @@ build: tools: python: "miniconda-latest" commands: - # because we are overriding the build commands, we need to setup the environment ourselves - - cat third-party/doxyconfig/environment.yml - - conda env create --quiet --name ${READTHEDOCS_VERSION} --file third-party/doxyconfig/environment.yml - - npm install "@fortawesome/fontawesome-free" - - mkdir -p ${READTHEDOCS_OUTPUT}html/assets/fontawesome/css - - mkdir -p ${READTHEDOCS_OUTPUT}html/assets/fontawesome/js - - cp node_modules/@fortawesome/fontawesome-free/css/all.min.css ${READTHEDOCS_OUTPUT}html/assets/fontawesome/css - - cp node_modules/@fortawesome/fontawesome-free/js/all.min.js ${READTHEDOCS_OUTPUT}html/assets/fontawesome/js - - cp -r node_modules/@fortawesome/fontawesome-free/webfonts ${READTHEDOCS_OUTPUT}html/assets/fontawesome/ - | - wget "https://raw.githubusercontent.com/LizardByte/.github/master/branding/logos/favicon.ico" \ - -O ${READTHEDOCS_OUTPUT}lizardbyte.ico - - | - wget "https://raw.githubusercontent.com/LizardByte/.github/master/branding/logos/logo-128x128.png" \ - -O ${READTHEDOCS_OUTPUT}lizardbyte.png - - cp ./third-party/doxyconfig/Doxyfile ./docs/Doxyfile-doxyconfig - - cp ./third-party/doxyconfig/header.html ./docs/header-doxyconfig.html - - cat ./docs/Doxyfile >> ./docs/Doxyfile-doxyconfig - - cd docs && doxygen Doxyfile-doxyconfig + if [ -f readthedocs_build.sh ]; then + doxyconfig_dir="." + else + doxyconfig_dir="./third-party/doxyconfig" + fi + chmod +x "${doxyconfig_dir}/readthedocs_build.sh" + export DOXYCONFIG_DIR="${doxyconfig_dir}" + "${doxyconfig_dir}/readthedocs_build.sh" # using conda, we can get newer doxygen and graphviz than ubuntu provide # https://github.com/readthedocs/readthedocs.org/issues/8151#issuecomment-890359661 diff --git a/README.md b/README.md index 9d5419e..bb655fd 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,6 @@ pacman -S \ ### Build -@warning{Ensure you are in the build directory created during the clone step earlier before continuing.} - ```bash cmake -G Ninja -B build -S . ninja -C build diff --git a/third-party/doxyconfig b/third-party/doxyconfig index 671b494..6d145da 160000 --- a/third-party/doxyconfig +++ b/third-party/doxyconfig @@ -1 +1 @@ -Subproject commit 671b494f3cbe8597a36d81869a864dc9fff497f4 +Subproject commit 6d145dab2ec1f387920036c7fffc1d08d52fe926