Skip to content

Commit f18927c

Browse files
Merge branch 'OpenDroneMap:publish' into publish
2 parents 659b29b + effecb9 commit f18927c

15 files changed

Lines changed: 113 additions & 29 deletions

.tx/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[main]
2-
host = https://www.transifex.com
2+
host = https://app.transifex.com
33

44
[o:americanredcross:p:opendronemap_docs:r:arguments]
55
file_filter = source/locale/<lang>/LC_MESSAGES/arguments.po

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ updatepot:
3131

3232
# update the po files for each target language from the EN pot files
3333
updatelangpo:
34-
sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te
34+
sphinx-intl update --pot-dir "source/locale/pot" --language cs,es,fil,fr,id,sw,te,zh
3535

3636
# push new and changed strings to Transifex
3737
pushlang:
3838
tx push --source
3939

4040
# push translated strings from Transifex
4141
pulllang:
42-
tx pull --language "cs,es,fil,fr,id,sw,te"
42+
tx pull --language "cs,es,fil,fr,id,sw,te,zh"
4343

4444
build:
4545
@$(SPHINXBUILD) -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)/html" -nW
@@ -50,6 +50,7 @@ build:
5050
@$(SPHINXBUILD) -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id" -nW
5151
@$(SPHINXBUILD) -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw" -nW
5252
@$(SPHINXBUILD) -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te" -nW
53+
@$(SPHINXBUILD) -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh" -nW
5354
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
5455
# -W Turn warnings into errors that stop the build.
5556
# for more details about the options see https://www.sphinx-doc.org/en/1.8/man/sphinx-build.html#options
@@ -65,6 +66,7 @@ allerr:
6566
@$(SPHINXBUILD) -v -b dirhtml -D language='id' "$(SOURCEDIR)" "$(BUILDDIR)/html/id"
6667
@$(SPHINXBUILD) -v -b dirhtml -D language='sw' "$(SOURCEDIR)" "$(BUILDDIR)/html/sw"
6768
@$(SPHINXBUILD) -v -b dirhtml -D language='te' "$(SOURCEDIR)" "$(BUILDDIR)/html/te"
69+
@$(SPHINXBUILD) -v -b dirhtml -D language='zh' "$(SOURCEDIR)" "$(BUILDDIR)/html/zh"
6870

6971
# Catch-all target: route all unknown targets to Sphinx using the new
7072
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The script creates a blank `*.rst` file for each argument in `/source/arguments_
152152

153153
Transifex has a getting [started guide for translators](https://docs.transifex.com/getting-started-1/translators) that will walk you through the steps to setup an account.
154154

155-
The ODM documentation Transifex project can be found at: https://www.transifex.com/americanredcross/opendronemap_docs/
155+
The ODM documentation Transifex project can be found at: https://app.transifex.com/americanredcross/opendronemap_docs/
156156

157157
The documentation uses a formatting known as [reStructuredTest (reST)](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html) to add links, formatting, and other styling. reST uses plain text to annotate the documentation and identify to the system how to process the different page items. Unfortunately, the translation management process doesn't hide the reST markup. It is important that you keep the reST markup when translating.
158158

scripts/extract_odm_strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_opt_choices(opt):
117117
f.write("\n")
118118
print("Wrote %s" % include_file)
119119

120-
argument_edit = Path(include_file).read_text()
120+
argument_edit = Path(include_file).read_text(encoding='utf-8')
121121

122122
kwargs = {
123123
'opt': opt_name,

source/arguments.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ Options and Flags
113113
:ref:`merge<merge>` all | pointcloud | orthophoto | dem
114114
Choose what to merge in the merge step in a split dataset. By default all available outputs are merged. Options: ['all', 'pointcloud', 'orthophoto', 'dem']. Default: ``all``
115115

116+
:ref:`merge-skip-blending<merge-skip-blending>`
117+
During the orthophoto merging, skip expensive blending operation: ``False``
118+
116119
:ref:`mesh-octree-depth<mesh-octree-depth>` <integer: 1 <= x <= 14>
117120
Octree depth used in the mesh reconstruction, increase to get more vertices, recommended values are 8-12. Default: ``11``
118121

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
..
2+
AUTO-GENERATED by extract_odm_strings.py! DO NOT EDIT!
3+
If you want to add more details to a command, edit a
4+
.rst file in arguments_edit/<argument>.rst
5+
6+
.. _merge-skip-blending:
7+
8+
merge-skip-blending
9+
```````````````````
10+
11+
12+
13+
During the orthophoto merging, skip expensive blending operation: ``False``
14+
15+
16+
17+
18+
`Learn to edit <https://github.com/opendronemap/docs#how-to-make-your-first-contribution>`_ and help improve `this page <https://github.com/OpenDroneMap/docs/blob/publish/source/arguments_edit/merge-skip-blending.rst>`_!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

source/flying.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For best in class results with full 3D reconstruction, we recommend the followin
99
* 60% overlap nadir flight
1010
* 70-80% overlap 45-degree gimbal angle cross-grid
1111

12-
The 45-degree cross-grid flight provides the basis for a fully tied together model, while the nadir flights provide the necessary texture for orthophoto texturing. The lower overlap meets the minimum requirement for orthophoto products as facilitated by by feature matching from the much higher overlap cross-grid.
12+
The 45-degree cross-grid flight provides the basis for a fully tied together model, while the nadir flights provide the necessary texture for orthophoto texturing. The lower overlap meets the minimum requirement for orthophoto products as facilitated by feature matching from the much higher overlap cross-grid.
1313

1414
Data collection effort, 2D and 2.5D products
1515
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

source/images/3D_result.webp

125 KB
Loading

source/images/target_image.webp

133 KB
Loading

0 commit comments

Comments
 (0)