31 Commits

Author SHA1 Message Date
un-pogaz
5572105076 upgrade code to Python 3 (auto-fix)
ruff 'UP'
2025-01-24 11:14:16 +01:00
Kovid Goyal
40de487795
Fix sequencing of imports in manual build scripts 2024-03-30 13:14:29 +05:30
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
46cc7dc6c2
Skip PDF version of manual for Japanese
Getting a useable Japanese PDF out of Sphinx+LaTeX is a nightmare
2022-05-31 08:17:17 +05:30
Kovid Goyal
2a0c6c2d6b
Dont use a custom LaTeX builder
Since we no longer need Cyrillic text, we dont need a custom builder.
And apparently sphinx breaks with a custom latex builder. See https://github.com/sphinx-doc/sphinx/issues/8936
2021-03-04 21:08:26 +05:30
Kovid Goyal
5203651af1
Dont use a binary for building translations 2020-12-15 19:14:29 +05:30
Kovid Goyal
a8359d83c0
Fix translations build on CI missing docstrings 2020-12-13 20:58:30 +05:30
Kovid Goyal
f2ee824706
Fix building of POT for user manual 2020-08-23 13:57:30 +05:30
Kovid Goyal
61b829dd4a
Get the manual building 2020-08-22 18:48:02 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
1e6d8cee00
Use XeLateX to build PDF manual which does not fail for chinese and turkish languages 2020-07-31 13:31:32 +05:30
Kovid Goyal
7da3dd1b66
Skip PDF building of manual for Chinese as it fails 2020-07-31 09:56:18 +05:30
Eli Schwartz
45ca4c7934
py3: merge multiline __future__ imports to not confuse 2to3 2019-05-27 00:41:14 -04:00
Kovid Goyal
a08bdbeb4e
Dont depend on calibre in polyglot 2019-05-15 16:42:52 +05:30
Kovid Goyal
3bece11b09
py3: Misc fixes
Fixes #953 (py3: misc fixes trying to start calibre.gui_launch)
2019-04-02 09:31:37 +05:30
Kovid Goyal
d1e30dfcac
Get rid of some xrange 2019-03-13 15:34:10 +05:30
Kovid Goyal
fabc938c02
Fix various links in the manual 2018-06-06 07:05:09 +05:30
Kovid Goyal
032a4bdd78
Dont build PDF version of manual in Turkish as sphinx produces broken Tex output for that language 2017-08-04 09:34:59 +05:30
Kovid Goyal
8a24c0b7a5
... 2017-07-04 22:11:30 +05:30
Kovid Goyal
2648a27402
... 2017-07-04 21:57:27 +05:30
Kovid Goyal
dfe2f5e04f
Dont use installed calibre when running sphinx-build 2017-07-04 21:51:42 +05:30
Kovid Goyal
81460e6cfc
More robust parallel use of sphinx-build2 2017-07-04 17:52:49 +05:30
Kovid Goyal
7c21ef9a6d
Do not use zero-width spaces when generating man pages 2017-07-04 12:54:05 +05:30
Kovid Goyal
fa191ab55a
Create a setup.py command: man_pages to generate man pages in all languages 2017-07-04 12:28:59 +05:30
Kovid Goyal
bf974e83ef Add a "Change Language" link to the User Manual sidebar 2014-11-26 12:39:55 +05:30
Kovid Goyal
f8c7d1ae07 Fix updated strings in simple_index.rst not being marked for translation 2014-11-10 16:10:29 +05:30
Kovid Goyal
f07c5a0cf1 Use new manual build framework for building manual pot files 2014-08-12 11:26:01 +05:30
Kovid Goyal
f053462ba0 ... 2014-08-12 11:03:03 +05:30
Kovid Goyal
33a4d42287 Do not translate generated docs in user manual
Instead use the translated text from the main calibre translations
directly.
2014-08-12 10:58:47 +05:30
Kovid Goyal
accb8b6d46 User Manual: Build localized versions 2014-08-11 23:24:58 +05:30