Commit Graph

70 Commits

Author SHA1 Message Date
Kovid Goyal 5993017df9 String changes 2021-05-15 14:24:27 +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 758df1e758 Move generation of dynamic rst files to setup() rather than an event callback 2021-02-28 20:15:20 +05:30
Kovid Goyal 9457085fc8 Remove no longer needed monkeypatch 2021-02-28 19:59:49 +05:30
Kovid Goyal 406838dc7d Better fix for sphinx latex breakage 2021-02-28 13:26:01 +05:30
Kovid Goyal 0be56041fb Workaround for bug in newer versions of sphinx
See https://github.com/sphinx-doc/sphinx/issues/8936
2021-02-28 13:03:10 +05:30
Kovid Goyal 0de82426ff Sphinx: Replace use of deprecated css_files 2021-02-15 04:37:09 +05:30
Kovid Goyal dec4ad041f Fix #1892579 [[Translation] Parts of the calibredb section in the User Manual are not translatable](https://bugs.launchpad.net/calibre/+bug/1892579) 2020-08-24 12:29:20 +05:30
Kovid Goyal 6af3aefb50 Fix sphinx deprecation warning 2020-08-22 18:48:24 +05:30
Kovid Goyal e372db985f Port sphinx diffing code to py3 2020-08-22 18:48:07 +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 a2bf48c929 Make building manual more reliable 2019-12-13 09:48:25 +05:30
Eli Schwartz 97ab4acce5 python3: reduce use of cmp when key can be used instead
cmp does not exist on python3
2019-03-26 16:12:17 -04:00
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 bd9de17f37 Fix info() deprecation in sphinx 2019-01-18 10:55:59 +05:30
Flaviu Tamas 999175cf55 Fix syntax errors manually 2018-09-10 12:11:29 +05:30
Flaviu Tamas 655ab21b0b Fix from __future__ import order 2018-09-10 12:11:29 +05:30
Flaviu Tamas 0889ee85ec Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal bfa42404e7 ... 2017-07-09 12:01:20 +05:30
Kovid Goyal aeb44b23ec ... 2017-07-05 08:41:14 +05:30
Kovid Goyal dfe2f5e04f Dont use installed calibre when running sphinx-build 2017-07-04 21:51:42 +05:30
Kovid Goyal 154ceb6340 ... 2017-07-04 12:57:19 +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 e752ebe2e3 Code to easily generate man pages via sphinx-build 2017-07-04 08:47:39 +05:30
Kovid Goyal 2f41633928 A little redundant explanation 2017-05-21 13:39:31 +05:30
Kovid Goyal f723bdf9d9 Smarten the right arrows used inside :guilabel: 2017-05-21 13:39:29 +05:30
Kovid Goyal ea91d66152 Update User Manual to use the alabaster sphinx theme 2017-05-21 13:39:28 +05:30
Kovid Goyal 7fbd6ecd82 Nicer rendering of `` escaped test in the cli sections of the manual 2017-05-21 13:39:28 +05:30
Kovid Goyal 8f17d21390 ... 2017-05-21 13:39:28 +05:30
Kovid Goyal 9965600b3b Prevent any of calibre, calibre-server, calibredb from running simultaneously 2017-05-21 13:39:28 +05:30
Kovid Goyal 3e70294279 ... 2017-05-21 13:39:28 +05:30
Kovid Goyal e6eff0f6cf Output all option variant names in manual 2017-05-21 13:39:28 +05:30
Kovid Goyal 008658f399 Remove most references to the old library.cli module
Still have to remove the module and port the test for the check command
2017-05-21 13:39:23 +05:30
Kovid Goyal 614d94496e Make quotes in the cli docs not be curly 2016-04-15 09:42:15 +05:30
Kovid Goyal 8f99ca2bae Manual: Use the :option: directive instead of :cmdoption: as it allows for cross-linking 2016-04-15 09:29:40 +05:30
Kovid Goyal a619ed9ce4 Proper titlecasing for generated group titles in cli manual pages 2016-03-05 09:46:18 +05:30
Kovid Goyal 8da7fd2616 Better fix for [options] header in generated manual pages 2016-03-04 00:30:20 +05:30
Kovid Goyal a9c7fc76e9 ... 2016-03-03 23:20:06 +05:30
Kovid Goyal 450ea92fe3 Mark various strings for translation 2016-03-03 22:51:38 +05:30
Kovid Goyal bf97a7de04 ... 2016-03-03 22:09:27 +05:30
Kovid Goyal 7598b07ee0 ... 2016-03-03 20:41:17 +05:30
Kovid Goyal c1bdcf424d Fix strings in manual using |lang| not being translated 2016-03-03 20:19:12 +05:30
Kovid Goyal 8d560375f5 calibredb add: Allow specifying filters to control adding of books from directories 2016-02-24 22:09:12 +05:30
Kovid Goyal 687c515597 Fix links to non-English generated manual docs 2016-01-10 09:41:46 +05:30
Kovid Goyal 4d88d05621 Fix various User Manual and translation build warnings 2015-03-10 10:14:50 +05:30
Kovid Goyal ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +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 bfbb9edd54 Fix translations not working for praragraphs in the user manual that contain references to generated docs 2014-11-14 14:45:21 +05:30