Skip to content

Commit a69d79b

Browse files
committed
Add .gitattributes
1 parent 5ff3740 commit a69d79b

File tree

9 files changed

+265
-200
lines changed

9 files changed

+265
-200
lines changed

.gitattributes

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Binary data types
2+
*.gif binary
3+
*.jpg binary
4+
*.mo binary
5+
*.pdf binary
6+
*.png binary
7+
*.zip binary
8+
9+
# Unix-style line endings
10+
[attr]unix text eol=lf
11+
12+
*.conf unix
13+
*.css unix
14+
*.cls unix
15+
*.csv unix
16+
*.dot unix
17+
*.html unix
18+
*.inc unix
19+
*.ini unix
20+
*.jinja unix
21+
*.js unix
22+
*.md unix
23+
*.mjs unix
24+
*.py unix
25+
*.rst unix
26+
*.sty unix
27+
*.tex unix
28+
*.toml unix
29+
*.txt unix
30+
*.svg unix
31+
*.xml unix
32+
*.yml unix
33+
34+
# CRLF files
35+
[attr]dos text eol=crlf
36+
37+
*.bat dos
38+
*.bat.jinja dos
39+
*.stp dos
40+
tests/roots/test-pycode/cp_1251_coded.py dos
41+
42+
# Language aware diff headers
43+
*.c diff=cpp
44+
*.h diff=cpp
45+
*.css diff=css
46+
*.html diff=html
47+
*.md diff=markdown
48+
*.py diff=python
49+
# *.rst diff=reStructuredText
50+
*.tex diff=tex
51+
52+
# Non UTF-8 encodings
53+
tests/roots/test-pycode/cp_1251_coded.py working-tree-encoding=windows-1251
54+
55+
# Generated files
56+
# https://github.com/github/linguist/blob/master/docs/overrides.md
57+
#
58+
# To always hide generated files in local diffs, mark them as binary:
59+
# $ git config diff.generated.binary true
60+
#
61+
[attr]generated linguist-generated=true diff=generated
62+
63+
tests/js/fixtures/**/*.js generated
64+
sphinx/search/minified-js/*.js generated
65+
sphinx/themes/bizstyle/static/css3-mediaqueries.js generated

doc/_static/translation.svg

+16-16
Loading

doc/make.bat

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
@ECHO OFF
2-
3-
REM Command file for Sphinx documentation
4-
5-
if "%SPHINXBUILD%" == "" (
6-
set SPHINXBUILD=python ../sphinx/cmd/build.py
7-
)
8-
set SOURCEDIR=.
9-
set BUILDDIR=_build
10-
11-
if "%1" == "" goto help
12-
13-
%SPHINXBUILD% 2> nul
14-
if errorlevel 9009 (
15-
echo.
16-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17-
echo.installed, then set the SPHINXBUILD environment variable to point
18-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
19-
echo.may add the Sphinx directory to PATH.
20-
echo.
21-
echo.If you don't have Sphinx installed, grab it from
22-
echo.https://www.sphinx-doc.org/
23-
exit /b 1
24-
)
25-
26-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
27-
goto end
28-
29-
:help
30-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
31-
32-
:end
1+
@ECHO OFF
2+
3+
REM Command file for Sphinx documentation
4+
5+
if "%SPHINXBUILD%" == "" (
6+
set SPHINXBUILD=python ../sphinx/cmd/build.py
7+
)
8+
set SOURCEDIR=.
9+
set BUILDDIR=_build
10+
11+
if "%1" == "" goto help
12+
13+
%SPHINXBUILD% 2> nul
14+
if errorlevel 9009 (
15+
echo.
16+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17+
echo.installed, then set the SPHINXBUILD environment variable to point
18+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
19+
echo.may add the Sphinx directory to PATH.
20+
echo.
21+
echo.If you don't have Sphinx installed, grab it from
22+
echo.https://www.sphinx-doc.org/
23+
exit /b 1
24+
)
25+
26+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
27+
goto end
28+
29+
:help
30+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
31+
32+
:end

sphinx/templates/htmlhelp/project.stp

+33-33
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
a
2-
and
3-
are
4-
as
5-
at
6-
be
7-
but
8-
by
9-
for
10-
if
11-
in
12-
into
13-
is
14-
it
15-
near
16-
no
17-
not
18-
of
19-
on
20-
or
21-
such
22-
that
23-
the
24-
their
25-
then
26-
there
27-
these
28-
they
29-
this
30-
to
31-
was
32-
will
33-
with
1+
a
2+
and
3+
are
4+
as
5+
at
6+
be
7+
but
8+
by
9+
for
10+
if
11+
in
12+
into
13+
is
14+
it
15+
near
16+
no
17+
not
18+
of
19+
on
20+
or
21+
such
22+
that
23+
the
24+
their
25+
then
26+
there
27+
these
28+
they
29+
this
30+
to
31+
was
32+
will
33+
with
+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
===========================
2-
Literal Includes for python
3-
===========================
4-
5-
block start with blank or comment
6-
=================================
7-
8-
.. literalinclude:: target.py
9-
:pyobject: block_start_with_comment
10-
11-
.. literalinclude:: target.py
12-
:pyobject: block_start_with_blank
13-
1+
===========================
2+
Literal Includes for python
3+
===========================
4+
5+
block start with blank or comment
6+
=================================
7+
8+
.. literalinclude:: target.py
9+
:pyobject: block_start_with_comment
10+
11+
.. literalinclude:: target.py
12+
:pyobject: block_start_with_blank
13+
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2012, foof
3-
# This file is distributed under the same license as the foo package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5-
#
6-
#, fuzzy
7-
msgid ""
8-
msgstr ""
9-
"Project-Id-Version: sphinx 1.0\n"
10-
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2013-01-01 05:00+0000\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14-
"Language-Team: LANGUAGE <[email protected]>\n"
15-
"MIME-Version: 1.0\n"
16-
"Content-Type: text/plain; charset=UTF-8\n"
17-
"Content-Transfer-Encoding: 8bit\n"
18-
19-
msgid "i18n with definition terms"
20-
msgstr "I18N WITH DEFINITION TERMS"
21-
22-
msgid "Some term"
23-
msgstr "SOME TERM"
24-
25-
msgid "The corresponding definition"
26-
msgstr "THE CORRESPONDING DEFINITION"
27-
28-
msgid "Some *term* `with link <https://sphinx-doc.org/>`__"
29-
msgstr "SOME *TERM* `WITH LINK <https://sphinx-doc.org/>`__"
30-
31-
msgid "The corresponding definition #2"
32-
msgstr "THE CORRESPONDING DEFINITION #2"
33-
34-
msgid "Some **term** with"
35-
msgstr "SOME **TERM** WITH"
36-
37-
msgid "classifier1"
38-
msgstr "CLASSIFIER1"
39-
40-
msgid "classifier2"
41-
msgstr "CLASSIFIER2"
42-
43-
msgid "Some term with"
44-
msgstr "SOME TERM WITH"
45-
46-
msgid "classifier[]"
47-
msgstr "CLASSIFIER[]"
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2012, foof
3+
# This file is distributed under the same license as the foo package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: sphinx 1.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2013-01-01 05:00+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
19+
msgid "i18n with definition terms"
20+
msgstr "I18N WITH DEFINITION TERMS"
21+
22+
msgid "Some term"
23+
msgstr "SOME TERM"
24+
25+
msgid "The corresponding definition"
26+
msgstr "THE CORRESPONDING DEFINITION"
27+
28+
msgid "Some *term* `with link <https://sphinx-doc.org/>`__"
29+
msgstr "SOME *TERM* `WITH LINK <https://sphinx-doc.org/>`__"
30+
31+
msgid "The corresponding definition #2"
32+
msgstr "THE CORRESPONDING DEFINITION #2"
33+
34+
msgid "Some **term** with"
35+
msgstr "SOME **TERM** WITH"
36+
37+
msgid "classifier1"
38+
msgstr "CLASSIFIER1"
39+
40+
msgid "classifier2"
41+
msgstr "CLASSIFIER2"
42+
43+
msgid "Some term with"
44+
msgstr "SOME TERM WITH"
45+
46+
msgid "classifier[]"
47+
msgstr "CLASSIFIER[]"

0 commit comments

Comments
 (0)