github.com/canhui/fabric_ca2_2@v2.0.0-alpha+incompatible/docs/make.bat (about) 1 REM Copyright IBM Corp. All Rights Reserved. 2 REM SPDX-License-Identifier: Apache-2.0 3 4 @ECHO OFF 5 6 pushd %~dp0 7 8 REM Command file for Sphinx documentation 9 10 if "%SPHINXBUILD%" == "" ( 11 set SPHINXBUILD=python -msphinx 12 ) 13 set SOURCEDIR=source 14 set BUILDDIR=build 15 set SPHINXPROJ=hyperledger-fabric-ca 16 17 if "%1" == "" goto help 18 19 %SPHINXBUILD% >NUL 2>NUL 20 if errorlevel 9009 ( 21 echo. 22 echo.The Sphinx module was not found. Make sure you have Sphinx installed, 23 echo.then set the SPHINXBUILD environment variable to point to the full 24 echo.path of the 'sphinx-build' executable. Alternatively you may add the 25 echo.Sphinx directory to PATH. 26 echo. 27 echo.If you don't have Sphinx installed, grab it from 28 echo.http://sphinx-doc.org/ 29 exit /b 1 30 ) 31 32 %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% 33 goto end 34 35 :help 36 %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% 37 38 :end 39 popd