Skip to content

Commit ab10feb

Browse files
davidfischerBlendify
authored andcommitted
Fix line endings (#709)
* Note that .bat has CRLF endings * Remove line endings on .bat It will be normalized correctly on checkout
1 parent ceb2ef4 commit ab10feb

File tree

2 files changed

+39
-38
lines changed

2 files changed

+39
-38
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Document global line endings settings
22
# https://help.github.com/articles/dealing-with-line-endings/
33
* text eol=lf
4+
*.bat text eol=crlf
45

56

67
# Denote all files that are truly binary and should not be modified.

docs/make.bat

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

0 commit comments

Comments
 (0)