Skip to content

Commit 63eefeb

Browse files
AndrewTwydellstewartfrancis
authored andcommitted
resolve doc line-ending lint error
Signed-off-by: Andrew Twydell <[email protected]>
1 parent 70acd85 commit 63eefeb

File tree

2 files changed

+37
-36
lines changed

2 files changed

+37
-36
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

docs/make.bat

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
REM (c) Copyright IBM Corp. 2020
2-
@ECHO OFF
3-
4-
pushd %~dp0
5-
6-
REM Command file for Sphinx documentation
7-
8-
if "%SPHINXBUILD%" == "" (
9-
set SPHINXBUILD=sphinx-build
10-
)
11-
set SOURCEDIR=source
12-
set BUILDDIR=build
13-
14-
if "%1" == "" goto help
15-
16-
%SPHINXBUILD% >NUL 2>NUL
17-
if errorlevel 9009 (
18-
echo.
19-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20-
echo.installed, then set the SPHINXBUILD environment variable to point
21-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22-
echo.may add the Sphinx directory to PATH.
23-
echo.
24-
echo.If you don't have Sphinx installed, grab it from
25-
echo.http://sphinx-doc.org/
26-
exit /b 1
27-
)
28-
29-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
30-
goto end
31-
32-
:help
33-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
34-
35-
:end
36-
popd
1+
REM (c) Copyright IBM Corp. 2020
2+
@ECHO OFF
3+
4+
pushd %~dp0
5+
6+
REM Command file for Sphinx documentation
7+
8+
if "%SPHINXBUILD%" == "" (
9+
set SPHINXBUILD=sphinx-build
10+
)
11+
set SOURCEDIR=source
12+
set BUILDDIR=build
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20+
echo.installed, then set the SPHINXBUILD environment variable to point
21+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22+
echo.may add the Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
30+
goto end
31+
32+
:help
33+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
34+
35+
:end
36+
popd

0 commit comments

Comments
 (0)