Browse Source

docs: define "ours" merge strategy for auto-generated files

Marian Beermann 8 years ago
parent
commit
96fa1e8414
4 changed files with 4 additions and 2 deletions
  1. 2 0
      .gitattributes
  2. 1 1
      docs/man_intro.rst
  3. 1 1
      docs/usage.rst
  4. 0 0
      docs/usage_general.rst.inc

+ 2 - 0
.gitattributes

@@ -1,3 +1,5 @@
 borg/_version.py export-subst
 
 *.py diff=python
+docs/usage/* merge=ours
+docs/man/* merge=ours

+ 1 - 1
docs/man_intro.rst

@@ -46,7 +46,7 @@ A step-by-step example
 NOTES
 -----
 
-.. include:: usage/general.rst.inc
+.. include:: usage_general.rst.inc
 
 SEE ALSO
 --------

+ 1 - 1
docs/usage.rst

@@ -12,7 +12,7 @@ command in detail.
 General
 -------
 
-.. include:: usage/general.rst.inc
+.. include:: usage_general.rst.inc
 
 In case you are interested in more details (like formulas), please see
 :ref:`internals`.

+ 0 - 0
docs/usage/general.rst.inc → docs/usage_general.rst.inc