un-pogaz
19994000c9
use f-string instead of format call (extra-edit)
...
ruff 'UP030,UP032' --extend-exclude "src/calibre/*" !partial
2025-01-24 11:14:16 +01:00
un-pogaz
02854d8b8c
convert some legacy percent format (extra-edit)
2025-01-24 11:14:16 +01:00
un-pogaz
0560b429bf
convert some legacy percent format (auto-fix)
...
ruff 'UP031'
2025-01-24 11:14:16 +01:00
un-pogaz
e0022f21cf
upgrade code to Python 3 (extra-edit)
2025-01-24 11:14:16 +01:00
un-pogaz
5572105076
upgrade code to Python 3 (auto-fix)
...
ruff 'UP'
2025-01-24 11:14:16 +01:00
un-pogaz
d08949b012
add scoped noqa (auto-fix)
...
ruff --add-noqa
2025-01-24 11:14:13 +01:00
un-pogaz
a73c48720e
remove unscoped noqa (extra-edit)
...
regex: \s*#\s*noqa\n
2025-01-24 11:14:10 +01:00
un-pogaz
8c9d880f41
pep8
...
improvement of Ruff settings
2024-12-15 13:17:49 +01:00
Kovid Goyal
96b521a1ff
Port the generation of template language function reference to new code
...
Note that in other documentation, the function reference can be linked
to using
:ref:`ff_function_name` for example, :ref:`ff_add`
2024-11-11 09:38:14 +05:30
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
c808876807
Switch to GA4
2022-06-30 18:33:46 +05:30
Kovid Goyal
909ab3723f
Fix warning from extlinks
2022-05-31 12:47:49 +05:30
Kovid Goyal
b966579e88
Pre-import calibre.utils.img when building manual as otherwise importing it can fail
2022-03-17 19:22:29 +05:30
Kovid Goyal
cab955630c
User manual: Fix mart quotes and dashes not rendered in PDF version
...
Move to lualatex instead of pdflatex as the latex engine. Hopefully it
doesnt break something else.
2022-02-06 08:26:15 +05:30
Kovid Goyal
ad12732edc
less confusing name for website_en
2022-01-21 15:33:20 +05:30
Kovid Goyal
38aca62463
Use sphinx extlinks for various website links
2022-01-21 10:54:42 +05:30
Kovid Goyal
9375ee1ed5
...
2021-11-12 08:48:41 +05:30
Kovid Goyal
f3ef3c85dd
Suppress duplicated toc entry in epub warnings
2021-11-12 08:35:22 +05:30
Kovid Goyal
f1e7f52063
Only generate back links to localized versions of the website if they exist
2021-04-29 07:03:59 +05:30
Kovid Goyal
dbe1676212
String changes
2021-04-28 09:26:53 +05:30
Kovid Goyal
e57e255d3a
Fix #1918153 [[Enhancement] Remember language when going to the calibre homepage from the User Manual]( https://bugs.launchpad.net/calibre/+bug/1918153 )
2021-03-09 11:50:39 +05:30
Kovid Goyal
0de82426ff
Sphinx: Replace use of deprecated css_files
2021-02-15 04:37:09 +05:30
Kovid Goyal
5a96856d68
Fix custom css file not being included
2020-11-24 13:17:27 +05:30
Kovid Goyal
764e8bff7e
Remove py3 conditionals
2020-08-22 18:47:56 +05:30
Kovid Goyal
930376c036
py3: Port calls to ugettext()
2019-03-31 20:13:22 +05:30
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
...
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Kovid Goyal
a060fae673
Dont fail to run sphinx-build if there are no generated languages
2017-07-05 11:30:02 +05:30
Kovid Goyal
25c3260549
...
2017-07-05 08:57:23 +05:30
Kovid Goyal
dfe2f5e04f
Dont use installed calibre when running sphinx-build
2017-07-04 21:51:42 +05:30
Kovid Goyal
cad405d413
Make the Support calibre button in the User manual translateable
2017-06-21 00:08:23 +05:30
Kovid Goyal
7daa07e242
Manual: Make the sidebar ToC collapsible
2017-06-18 18:28:09 +05:30
Kovid Goyal
56406e00d5
Update for sphinx 1.6
2017-05-26 00:08:46 +05:30
Kovid Goyal
ea91d66152
Update User Manual to use the alabaster sphinx theme
2017-05-21 13:39:28 +05:30
Kovid Goyal
ce9d5f4104
Convert more URLs to use https
2016-06-17 10:26:44 +05:30
Kovid Goyal
450ea92fe3
Mark various strings for translation
2016-03-03 22:51:38 +05:30
Kovid Goyal
944795db53
Use the default Sphinx theme rather than classic
2015-12-20 13:46:38 +05:30
Kovid Goyal
56e61fd640
Remove the show source link from the html sidebar
2015-12-20 13:01:38 +05:30
Kovid Goyal
c47f0844a5
...
2015-07-06 18:19:23 +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
9642774ac9
Translate the title for the User Manual
2014-11-10 08:52:48 +05:30
Kovid Goyal
d34a7b63c7
User manual: translate page number references in the PDF output
2014-11-02 09:18:48 +05:30
Kovid Goyal
e155b2ac63
Proper exclusion for generated language based user manual files
2014-10-17 10:09:18 +05:30
Kovid Goyal
25691fc189
Proper exclusion of the unused index document
2014-10-17 09:31:03 +05:30
Kovid Goyal
af6f312d9e
User Manual: Ensure the |lang| and |app| substitutions work everywhere
...
Also ensure that *all* .. include directives have their substitutions
properly processed, in case I add any more in the future.
2014-10-06 09:17:56 +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
ba816b8fe2
...
2014-08-11 23:32:42 +05:30
Kovid Goyal
accb8b6d46
User Manual: Build localized versions
2014-08-11 23:24:58 +05:30
Kovid Goyal
6a0f24b281
Get rid of global.rst and REMOVE_IN_PDF
2014-08-11 23:06:47 +05:30