Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text eol=lf
* text=auto
*.sh text eol=lf
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you apply this on .sh file only?
We should apply lf to all files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we apply lf to all files, then it creates issues on Windows - since Windows is using crlf, some Windows programs will keep saving files as crlf producing git warnings when working with the repo. And git itself has autocrlf on Windows enabled by default - so it's checking out lf files as crlf to avoid the issues above and applying lf to everything is conflicting with this.

When we do * text=auto files are still will be stored on the repo as lf - so if you're on Unix, you'll never see crlf files. It's just that auto will check out them on Windows as crlf to avoid issues above. Though we still need to apply lf to .sh scripts, otherwise there will be issues executing them on Windows.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, will all files be stored on the git repository as lf?

Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. module:: module_1
.. module:: module_1
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
"""
Paragraph: *Emphasis*
* Bullet List Item 1
* Bullet List Item 1-1
* Bullet List Item 1-2
* Bullet List Item 2
* Bullet List Item 2-1
* Bullet List Item 2-2
* Bullet List Item 2-3
* Bullet List Item 3
* Bullet List Item 3-1
1. Enumerated List Item 1
1. Enumerated List Item 1-1
2. Enumerated List Item 1-2
2. Enumerated List Item 2
1. Enumerated List Item 2-1
2. Enumerated List Item 2-2
3. Enumerated List Item 2-3
3. Enumerated List Item 3
1. Enumerated List Item 3-1
field-list-item-1: Field List Item 1 Contents
field-list-item-2: Field List Item 2 Contents
Definition List Item 1
Definition List Item 1 Contents
Definition List Item 2
Definition List Item 2 Contents
```
Literal Block Contents
```
Module: module_ref, Ref: ref_ref, Class: class_ref
Function: function_ref, Data: data_ref, Const: const_ref
[NOTE]
Note Contents
[IMPORTANT]
Important Contents
[WARNING]
Warning Contents
Line Block Contents 1
Line Block Contents 2
[QUOTE]
Quote Block Contents 1
Quote Block Contents 2
Target
"""
import typing
import collections.abc
import typing_extensions
import numpy.typing as npt
"""
Paragraph: *Emphasis*

* Bullet List Item 1
* Bullet List Item 1-1
* Bullet List Item 1-2
* Bullet List Item 2
* Bullet List Item 2-1
* Bullet List Item 2-2
* Bullet List Item 2-3
* Bullet List Item 3
* Bullet List Item 3-1

1. Enumerated List Item 1
1. Enumerated List Item 1-1
2. Enumerated List Item 1-2
2. Enumerated List Item 2
1. Enumerated List Item 2-1
2. Enumerated List Item 2-2
3. Enumerated List Item 2-3
3. Enumerated List Item 3
1. Enumerated List Item 3-1

field-list-item-1: Field List Item 1 Contents
field-list-item-2: Field List Item 2 Contents

Definition List Item 1
Definition List Item 1 Contents

Definition List Item 2
Definition List Item 2 Contents

```
Literal Block Contents
```

Module: module_ref, Ref: ref_ref, Class: class_ref
Function: function_ref, Data: data_ref, Const: const_ref

[NOTE]
Note Contents

[IMPORTANT]
Important Contents

[WARNING]
Warning Contents

Line Block Contents 1
Line Block Contents 2

[QUOTE]
Quote Block Contents 1
Quote Block Contents 2

Target

"""

import typing
import collections.abc
import typing_extensions
import numpy.typing as npt
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<document source="<string>">
<source-filename>
add_bpy_ops_override_parameters.rst
<module>
<name>
bpy.ops.pose
<description>
<function function_type="function">
<name>
function_1
<description>
function_1 description
<argument-list>
<argument argument_type="arg">
<name>
arg_1
<description>
function_1 arg_1 description
<default-value>
<data-type-list>
<data-type>
function_1 arg_1 type
<return>
<description>
<data-type-list>
<function function_type="function">
<name>
function_2
<description>
function_2 description
<argument-list>
<return>
<description>
<data-type-list>
<document source="<string>">
<source-filename>
add_bpy_ops_override_parameters.rst
<module>
<name>
bpy.ops.pose
<description>
<function function_type="function">
<name>
function_1
<description>
function_1 description
<argument-list>
<argument argument_type="arg">
<name>
arg_1
<description>
function_1 arg_1 description
<default-value>
<data-type-list>
<data-type>
function_1 arg_1 type
<return>
<description>
<data-type-list>
<function function_type="function">
<name>
function_2
<description>
function_2 description
<argument-list>
<return>
<description>
<data-type-list>
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
<document source="<string>">
<source-filename>
add_bpy_ops_override_parameters.rst
<module>
<name>
bpy.ops.pose
<description>
<function function_type="function">
<name>
function_1
<description>
function_1 description
<argument-list>
<argument argument_type="posonlyarg">
<name>
execution_context
<description>
<default-value>
None
<data-type-list>
<data-type>
str, int
<argument argument_type="posonlyarg">
<name>
undo
<description>
<default-value>
None
<data-type-list>
<data-type>
bool
<argument argument_type="kwonlyarg">
<name>
arg_1
<description>
function_1 arg_1 description
<default-value>
<data-type-list>
<data-type>
function_1 arg_1 type
<return>
<description>
<data-type-list>
<function function_type="function">
<name>
function_2
<description>
function_2 description
<argument-list>
<argument argument_type="posonlyarg">
<name>
execution_context
<description>
<default-value>
None
<data-type-list>
<data-type>
str, int
<argument argument_type="posonlyarg">
<name>
undo
<description>
<default-value>
None
<data-type-list>
<data-type>
bool
<return>
<description>
<data-type-list>
<document source="<string>">
<source-filename>
add_bpy_ops_override_parameters.rst
<module>
<name>
bpy.ops.pose
<description>
<function function_type="function">
<name>
function_1
<description>
function_1 description
<argument-list>
<argument argument_type="posonlyarg">
<name>
execution_context
<description>
<default-value>
None
<data-type-list>
<data-type>
str, int
<argument argument_type="posonlyarg">
<name>
undo
<description>
<default-value>
None
<data-type-list>
<data-type>
bool
<argument argument_type="kwonlyarg">
<name>
arg_1
<description>
function_1 arg_1 description
<default-value>
<data-type-list>
<data-type>
function_1 arg_1 type
<return>
<description>
<data-type-list>
<function function_type="function">
<name>
function_2
<description>
function_2 description
<argument-list>
<argument argument_type="posonlyarg">
<name>
execution_context
<description>
<default-value>
None
<data-type-list>
<data-type>
str, int
<argument argument_type="posonlyarg">
<name>
undo
<description>
<default-value>
None
<data-type-list>
<data-type>
bool
<return>
<description>
<data-type-list>
Loading
Loading