1ffe3c632Sopenharmony_ci@ECHO OFF
2ffe3c632Sopenharmony_ci
3ffe3c632Sopenharmony_cipushd %~dp0
4ffe3c632Sopenharmony_ci
5ffe3c632Sopenharmony_ciREM Command file for Sphinx documentation
6ffe3c632Sopenharmony_ci
7ffe3c632Sopenharmony_ciif "%SPHINXBUILD%" == "" (
8ffe3c632Sopenharmony_ci	set SPHINXBUILD=sphinx-build
9ffe3c632Sopenharmony_ci)
10ffe3c632Sopenharmony_ciset SOURCEDIR=.
11ffe3c632Sopenharmony_ciset BUILDDIR=_build
12ffe3c632Sopenharmony_ci
13ffe3c632Sopenharmony_ciif "%1" == "" goto help
14ffe3c632Sopenharmony_ci
15ffe3c632Sopenharmony_ci%SPHINXBUILD% >NUL 2>NUL
16ffe3c632Sopenharmony_ciif errorlevel 9009 (
17ffe3c632Sopenharmony_ci	echo.
18ffe3c632Sopenharmony_ci	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
19ffe3c632Sopenharmony_ci	echo.installed, then set the SPHINXBUILD environment variable to point
20ffe3c632Sopenharmony_ci	echo.to the full path of the 'sphinx-build' executable. Alternatively you
21ffe3c632Sopenharmony_ci	echo.may add the Sphinx directory to PATH.
22ffe3c632Sopenharmony_ci	echo.
23ffe3c632Sopenharmony_ci	echo.If you don't have Sphinx installed, grab it from
24ffe3c632Sopenharmony_ci	echo.http://sphinx-doc.org/
25ffe3c632Sopenharmony_ci	exit /b 1
26ffe3c632Sopenharmony_ci)
27ffe3c632Sopenharmony_ci
28ffe3c632Sopenharmony_ci%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
29ffe3c632Sopenharmony_cigoto end
30ffe3c632Sopenharmony_ci
31ffe3c632Sopenharmony_ci:help
32ffe3c632Sopenharmony_ci%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
33ffe3c632Sopenharmony_ci
34ffe3c632Sopenharmony_ci:end
35ffe3c632Sopenharmony_cipopd
36