Disable the autodiscovery [1] for this project; it looks like this is
used basically via it's tox environments and doesn't need to worry
about what packages it creates.
This is hitting now because the translation proposal jobs run under a
3.8 venv which is bringing in newer setuptools.
[1] https://github.com/pypa/setuptools/issues/3197
Change-Id: I1f833f6db5fe14f17c91aa2e1f132c2f0fa62959
Since setuptools v54.1.0[1], dash-separated options causes a warning
message like [2] and we should replace dashes with underscores.
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
[2]
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I05d9c484bb669ae33211e88924b20b7cfe7d0d67
openstack-tox-docs job started to fail with the following error:
! LaTeX Error: File `tgtermes.sty' not found.
This patch adds the required font package to bindep doc profile.
Co-authored-by: Elod Illes <elod.illes@est.tech>
Closes-Bug: #1935742
Change-Id: Idc7ba5b1211327a258b2972f9271b09916598cb3
This patch enhances the speed of Zanata stats by using
user-based Zanata APIs rather than project-based APIs,
which took >1 days as more Zanata users and translation data
were accumulated.
Note that the API scheme follows with Stackalytics
: https://opendev.org/x/stackalytics/src/branch/master/stackalytics/processor/zanata.py#L38
Change-Id: Ia2462447f7a0cc2534e877976838de09e8683e89
The need for this information is rare but when I develop
the translation job scripts I always research the same thing
so it is useful at least for me.
Change-Id: I83f38fd673456e0d1179c50d9df903e16b01bd5f
There is no good place to document Chinese locale rename
in horizon and plugins, so this commit add contents to
"Handling horizon projects" section in tools.rst and add the info
on Chinese locales to the section.
Change-Id: I3e9d2398e3768b9d479d01aa2ac73f8d72bdcb8f
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Set openstackdocs_auto_name to use 'project' as name.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I6430e16e22a2afc0fda3a5a43eccfd3309f20931
Update broken URLs, we have no openstack-infra namespace anymore.
Move from status.o.o to zuul.opendev.org, status.o.o does not provide
information about translation jobs anymore.
Change-Id: I4a91eb47e13441d654673ad085552534e987238c
The path of ATC stats CSV files in the generated POT seems to have changed.
As a result, strings from ATC stats are included to the generated POT file.
There is no need to translate them and the translation percentage will go
down. This commit adjust the filepath in doc-pot-filter.sh to make the POT
filter work as expected again.
Change-Id: Ieeee86619a561fcca216b568797bd6c3c1de4d62
The previously choosen PDF file name conflicts in some repos with the
project logos (badge). Thus change https://review.opendev.org/679777
renames the desired PDF name to be doc-PROJECT.pdf to allow using the
badge in PDF files.
Follow this rename.
Change-Id: I09eeaa51987df6c1690afc6395acd35329cff872
PDF version on I18n Contributor Guide does not have to
include so detail tables which rendered version looks awkward.
This patch excludes the tables on PDF version and search tab by
using ".. only:: html" directive, and notes to link a corresponding
HTML page by using ".. only:: latex" directive.
Change-Id: I7b1b9d2d5d8c21827fe5a261f06f38d30b2d3709
The api-guide is now in openstack-manuals and api-site does not get
translated anymore, remove section.
Also, update link for project-info.
Make this dependent on 678463 to test that publishing of PDFs works.
Depends-On: https://review.opendev.org/678463
Change-Id: I1ca036fb853dfc86284b173a41829e973b582800
This list is generated by running "tox -e zanata-users-sync"
command to sync translation members up-to-date.
Change-Id: I5a309564fae7229fdc097715bdbb1ce85d109753
ATCs are recognized to translators who contributed to
OpenStack official projects. User Committee recognizes translators
who contributed to user and operator code and documentation
translation [1].
[1] http://eavesdrop.openstack.org/meetings/uc/2018/uc.2018-10-01-18.02.log.html
Change-Id: Iaf1780a6ae4d3e1100f8624e1c45c348166aa499
For translations, we need gettext installed. With the recent removal
of the bindep fallback file, we need to provide our own.
Change-Id: Ic0c12c29f0260873faa8c4d386fb8ad33d7e9265