less confusing name for website_en

This commit is contained in:
Kovid Goyal 2022-01-21 15:33:20 +05:30
parent 20e76a13b9
commit ad12732edc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ html_context['homepage_url'] = website
if needs_localization: if needs_localization:
html_context['homepage_url'] = localize_website_link(html_context['homepage_url']) html_context['homepage_url'] = localize_website_link(html_context['homepage_url'])
extlinks = { extlinks = {
'website_en': (website, None), 'website_base': (website, None),
'website': (html_context['homepage_url'] + '/%s', None), 'website': (html_context['homepage_url'] + '/%s', None),
'download_file': (f'{website}/downloads/%s', '%s'), 'download_file': (f'{website}/downloads/%s', '%s'),
} }

View File

@ -75,7 +75,7 @@ Getting the code
------------------ ------------------
You can get the calibre source code in two ways, using a version control system or You can get the calibre source code in two ways, using a version control system or
directly downloading a :website_en:`tarball <dist/src>`. directly downloading a :website_base:`tarball <dist/src>`.
calibre uses `Git <https://www.git-scm.com/>`_, a distributed version control calibre uses `Git <https://www.git-scm.com/>`_, a distributed version control
system. Git is available on all the platforms calibre supports. After system. Git is available on all the platforms calibre supports. After
@ -89,7 +89,7 @@ calibre is a very large project with a very long source control history, so the
above can take a while (10 mins to an hour depending on your internet speed). above can take a while (10 mins to an hour depending on your internet speed).
If you want to get the code faster, the source code for the latest release is If you want to get the code faster, the source code for the latest release is
always available as an :website_en:`archive <dist/src>`. always available as an :website_base:`archive <dist/src>`.
To update a branch to the latest code, use the command:: To update a branch to the latest code, use the command::

View File

@ -1007,7 +1007,7 @@ For many reasons:
to see if you want to update once a year or so. There is a check box to to see if you want to update once a year or so. There is a check box to
turn off the update notification, on the update notification itself. turn off the update notification, on the update notification itself.
* calibre downloads currently use :website_en:`about 150TB of bandwidth a month * calibre downloads currently use :website_base:`about 150TB of bandwidth a month
<dynamic/downloads>`. Implementing automatic <dynamic/downloads>`. Implementing automatic
updates would greatly increase that and end up costing thousands of dollars updates would greatly increase that and end up costing thousands of dollars
a month, which someone has to pay. a month, which someone has to pay.