From a484b12b8d27523ebf23aea77febaad4b4905603 Mon Sep 17 00:00:00 2001 From: zhanzghiyong0410 <2556703570@qq.com> Date: Fri, 28 May 2021 18:15:35 +0800 Subject: [PATCH 1/2] rtd --- docs/Makefile | 20 ++++++++++++++ docs/make.bat | 35 ++++++++++++++++++++++++ docs/requirements.txt | Bin 0 -> 3286 bytes docs/source/conf.py | 62 ++++++++++++++++++++++++++++++++++++++++++ docs/source/index.rst | 20 ++++++++++++++ 5 files changed, 137 insertions(+) create mode 100644 docs/Makefile create mode 100644 docs/make.bat create mode 100644 docs/requirements.txt create mode 100644 docs/source/conf.py create mode 100644 docs/source/index.rst diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..d0c3cbf --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +# 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/make.bat b/docs/make.bat new file mode 100644 index 0000000..9534b01 --- /dev/null +++ b/docs/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=source +set BUILDDIR=build + +if "%1" == "" goto help + +%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.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% + +:end +popd diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..5ec84cb9ba8881465ea680e6dc60b144e1ab1981 GIT binary patch literal 3286 zcmbW3L2nyJ429=hpg%>0S5ngSkVA`JS~NfcpLYg@LovR85x=f}5wAKy|V+wCDm zuy7!9$j8S=&iwt?qHM~dEcNZnp>$;^@AdDZ{7`<>*OY1bzI-R^M%HUt7v;X(oO~L2 z**?fxf1j4OI-O^airp&0I?go__uUwM9_N1v44r()K9!B^7hzip)uKEq|GHf1??%yf z`g>pI;XRkvGIlS*`PNr?W#;FbM{4BIg(3BVrdB@*K!qGc|mc z6@8;4s!06Iu6wc(m%V)QJiYY!50Ujwr*`EiA3RX6KNOK3OzNe)uapTdPf}*sN|n}* zHIr8NYb$N;%YzV3q#cypD@v=%=tSa$b5C0@&%>y5ka*5|RYCWxYGm}X#IRzQmJ5KZ)`@^>Ta>> z-Gz_gLH~|{7FAe*bRhLQQKaOHI$$P|JPGMuSerQSDznEh)+!46+6%`y8*}wBtk`;W#Z`ii3d|E8zsbtJ=8mCSX8~i4@jn{cT zDaV^QkBU8EW&sqoGC^xab1lU1J!Ll0BKX#U6`!gxP^4}q(RprD-&*xnBU)vy`m@2& zQhTb;UABH5`)k;$4!l9I9d)u7mT64MA^2dIfsl??MNsLV{KN;G3v|S6VG=S9&FSvC)6NM-lswfr+7VxCD5KL#QQyS<&6O+W@NAPt#HAcpLnQzs5W|qpo4fDgu*0<+8-#xriyz8=#M1f{2^M04Y=DCWw zPjh3|4l^6pt#4P}N!-jt_T*>egJyQ6`muN>$?CJb)0hojNVD+3Ha*+<$Kb6Mb42(1 j9E41uV?62iN9hCo`CW|NbIR-6I{*gI4=BKn-RJ)SGnd;8 literal 0 HcmV?d00001 diff --git a/docs/source/conf.py b/docs/source/conf.py new file mode 100644 index 0000000..cc4f56d --- /dev/null +++ b/docs/source/conf.py @@ -0,0 +1,62 @@ +# Configuration file for the Sphinx documentation builder. +# +# This file only contains a selection of the most common options. For a full +# list see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Path setup -------------------------------------------------------------- + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# +# import os +# import sys +# sys.path.insert(0, os.path.abspath('.')) +import sphinx_rtd_theme + +html_theme = 'sphinx_rtd_theme' +# -- Project information ----------------------------------------------------- + +project = 'pisloth' +copyright = '2021, sunfounder' +author = 'sunfounder' + + +# -- General configuration --------------------------------------------------- + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ +] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This pattern also affects html_static_path and html_extra_path. +exclude_patterns = [] + + +# -- Options for HTML output ------------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +html_theme = 'sphinx_rtd_theme' +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] + +html_js_files = [ + 'https://ezblock.cc/readDocFile/topHead.js', +] +html_css_files = [ + 'https://ezblock.cc/readDocFile/topHead.css', +] diff --git a/docs/source/index.rst b/docs/source/index.rst new file mode 100644 index 0000000..42ad262 --- /dev/null +++ b/docs/source/index.rst @@ -0,0 +1,20 @@ +.. pisloth documentation master file, created by + sphinx-quickstart on Fri May 28 18:11:49 2021. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to pisloth's documentation! +=================================== + +.. toctree:: + :maxdepth: 2 + :caption: Contents: + + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` From e404309a31d08f934264c29d31b9bcd4bbddfe83 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Jun 2021 04:47:36 +0000 Subject: [PATCH 2/2] Bump urllib3 from 1.24.2 to 1.26.5 in /docs Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.2 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.24.2...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | Bin 3286 -> 1645 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 5ec84cb9ba8881465ea680e6dc60b144e1ab1981..d43df8fcc4493615ee3b6bbeed3913c882e9de77 100644 GIT binary patch literal 1645 zcmaJ?%WmX05WEjCpCUo8@#COFf?N{BfEPaH*pes>$9$QjJS+cN4*8_~LaJNiT`Up= zzKqE3>aOZy`|m&hB0~eEtYY6+<$YN<#{-$XL<(m!Cn8oIvk%Ez+BvCb(+?Uuf8%en;Y;InT9rz=~)@b~DW zlB4^wL&&Hipir!-YM_*lIGXtz#k=x^uQSC-WyY*ZV4$<{weP`$TOGaekt{KhuB`dM zTJJ1H#8l{ukKz`x7rq2%`gEhR+eCrj|Eh0uJgNZONyQMc%jNUmlW)CQq5My&DL-Uqr=2jaZ zH4lUcUU!kYfC>F{04;mh&Z_`u@ZtL<`RwK8vISs=yF?S7Kl$E2>3(W#|TtS7ihEsNPnUc0u5G&fHC|(n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