From be7236e11022d0bb44a416ca7e08a139b96bd5d8 Mon Sep 17 00:00:00 2001 From: Sajid Alam <90610031+SajidAlamQB@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:57:31 +0100 Subject: [PATCH 1/2] Update settings panel design (#1875) * update settings-modal design Signed-off-by: Sajid Alam * PrettyName off by default Signed-off-by: Sajid Alam * update colors from rgb to hex Signed-off-by: Sajid Alam --------- Signed-off-by: Sajid Alam --- .../settings-modal/settings-modal.js | 7 ------ .../settings-modal/settings-modal.scss | 23 ++++++++++--------- src/components/ui/button/button.scss | 4 ++-- src/components/ui/modal/modal.scss | 5 ++-- src/components/ui/toggle/toggle.scss | 18 +++++++++++---- src/styles/_variables.scss | 7 ++++++ 6 files changed, 38 insertions(+), 26 deletions(-) diff --git a/src/components/settings-modal/settings-modal.js b/src/components/settings-modal/settings-modal.js index a4847d04e7..aeb0fb5656 100644 --- a/src/components/settings-modal/settings-modal.js +++ b/src/components/settings-modal/settings-modal.js @@ -104,13 +104,6 @@ const SettingsModal = ({ >
-
-
Name
-
State
-
- Description -
-
Date: Fri, 26 Apr 2024 11:15:56 +0100 Subject: [PATCH 2/2] Try docs build with build-docs.sh Signed-off-by: Ankita Katiyar --- .readthedocs.yml | 7 +++++++ docs/Makefile | 20 -------------------- docs/build-docs.sh | 14 ++++++++++++++ docs/make.bat | 35 ----------------------------------- 4 files changed, 21 insertions(+), 55 deletions(-) delete mode 100644 docs/Makefile create mode 100644 docs/build-docs.sh delete mode 100644 docs/make.bat diff --git a/.readthedocs.yml b/.readthedocs.yml index 57e08a91fc..062780a4ac 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,6 +9,13 @@ build: tools: python: "3.9" nodejs: "19" + jobs: + post_checkout: + - git fetch --unshallow || true + pre_build: + - pip freeze + - python -m sphinx -WETan -j auto -D language=en -b linkcheck -d _build/doctrees docs/source _build/linkcheck + sphinx: builder: html diff --git a/docs/Makefile b/docs/Makefile deleted file mode 100644 index d0c3cbf102..0000000000 --- a/docs/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line, and also -# from the environment for the first two. -SPHINXOPTS ?= -SPHINXBUILD ?= sphinx-build -SOURCEDIR = source -BUILDDIR = build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/build-docs.sh b/docs/build-docs.sh new file mode 100644 index 0000000000..89cecc80cb --- /dev/null +++ b/docs/build-docs.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e + +# Exit script if you try to use an uninitialized variable. +set -o nounset + +action=$1 + +if [ "$action" == "linkcheck" ]; then + sphinx-build -WETan -j auto -D language=en -b linkcheck -d docs/build/doctrees docs/source docs/build/linkcheck +elif [ "$action" == "docs" ]; then + sphinx-build -WETa --keep-going -j auto -D language=en -b html -d docs/build/doctrees docs/source docs/build/html +fi diff --git a/docs/make.bat b/docs/make.bat deleted file mode 100644 index 747ffb7b30..0000000000 --- a/docs/make.bat +++ /dev/null @@ -1,35 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=source -set BUILDDIR=build - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.https://www.sphinx-doc.org/ - exit /b 1 -) - -if "%1" == "" goto help - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd