From 50610283e6d5d43b660c453f20f96f7703f883f7 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 9 Jun 2018 19:44:44 -0700 Subject: Use https URLs throughout project where available Updated docs and code comments. --- docs/_templates/sidebar-links.html | 4 ++-- docs/conf.py | 2 +- docs/dates.rst | 2 +- docs/installation.rst | 2 +- docs/intro.rst | 2 +- docs/locale.rst | 4 ++-- docs/messages.rst | 6 +++--- docs/numbers.rst | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/_templates/sidebar-links.html b/docs/_templates/sidebar-links.html index 99c3474..71d11b8 100644 --- a/docs/_templates/sidebar-links.html +++ b/docs/_templates/sidebar-links.html @@ -10,6 +10,6 @@ diff --git a/docs/conf.py b/docs/conf.py index 4719662..63c2d77 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -253,7 +253,7 @@ texinfo_documents = [ #texinfo_show_urls = 'footnote' intersphinx_mapping = { - 'http://docs.python.org/2': None, + 'https://docs.python.org/2/': None, } extlinks = { diff --git a/docs/dates.rst b/docs/dates.rst index 0ddd7bc..4420187 100644 --- a/docs/dates.rst +++ b/docs/dates.rst @@ -124,7 +124,7 @@ the `Locale Data Markup Language specification`_. The following table is just a relatively brief overview. .. _`Locale Data Markup Language specification`: - http://unicode.org/reports/tr35/#Date_Format_Patterns + https://unicode.org/reports/tr35/#Date_Format_Patterns Date Fields ----------- diff --git a/docs/installation.rst b/docs/installation.rst index 0aea3ab..0a7804e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -80,7 +80,7 @@ use a git checkout. Get the git checkout in a new virtualenv and run in development mode:: - $ git clone http://github.com/python-babel/babel.git + $ git clone https://github.com/python-babel/babel Initialized empty Git repository in ~/dev/babel/.git/ $ cd babel $ virtualenv venv diff --git a/docs/intro.rst b/docs/intro.rst index db36f32..7733f70 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -43,7 +43,7 @@ of locale data, such as the localized names of countries, languages, or time-zones, which are frequently needed in web-based applications. For these requirements, Babel includes data extracted from the `Common -Locale Data Repository (CLDR) `_, and provides a +Locale Data Repository (CLDR) `_, and provides a number of convenient methods for accessing and using this data. See :ref:`locale-data`, :ref:`date-and-time`, and :ref:`numbers` for more information on this aspect of Babel. diff --git a/docs/locale.rst b/docs/locale.rst index cf4f6d5..425fb77 100644 --- a/docs/locale.rst +++ b/docs/locale.rst @@ -15,8 +15,8 @@ and you'd like to display the names of those countries in the language the user prefers. Instead of translating all those country names yourself in your application, you can make use of the translations provided by the locale data included with Babel, which is based on the `Common Locale Data Repository -(CLDR) `_ developed and maintained by the `Unicode -Consortium `_. +(CLDR) `_ developed and maintained by the `Unicode +Consortium `_. The ``Locale`` Class diff --git a/docs/messages.rst b/docs/messages.rst index f1f695c..9c66a42 100644 --- a/docs/messages.rst +++ b/docs/messages.rst @@ -32,8 +32,8 @@ used in an application. They are commonly stored in PO (Portable Object) and MO (Machine Object) files, the formats of which are defined by the GNU `gettext`_ tools and the GNU `translation project`_. - .. _`gettext`: http://www.gnu.org/software/gettext/ - .. _`translation project`: http://sourceforge.net/projects/translation + .. _`gettext`: https://www.gnu.org/software/gettext/ + .. _`translation project`: https://sourceforge.net/projects/translation/ The general procedure for building message catalogs looks something like this: @@ -81,7 +81,7 @@ extracted from source files can not only depend on the file extension, but needs to be controllable in a precise manner. .. _`Jinja2`: http://jinja.pocoo.org/ -.. _`Genshi`: http://genshi.edgewall.org/ +.. _`Genshi`: https://genshi.edgewall.org/ Babel accepts a configuration file to specify this mapping of files to extraction methods, which is described below. diff --git a/docs/numbers.rst b/docs/numbers.rst index b2a9522..df834ea 100644 --- a/docs/numbers.rst +++ b/docs/numbers.rst @@ -47,7 +47,7 @@ The syntax for custom number format patterns is described in detail in the the specification. The following table is just a relatively brief overview. .. _`Locale Data Markup Language specification`: - http://unicode.org/reports/tr35/#Number_Format_Patterns + https://unicode.org/reports/tr35/#Number_Format_Patterns +----------+-----------------------------------------------------------------+ | Symbol | Description | @@ -134,7 +134,7 @@ behaves as desired. .. _Decimal: https://docs.python.org/3/library/decimal.html#decimal-objects .. _Context: https://docs.python.org/3/library/decimal.html#context-objects -.. _`UTS #35 section 3.3`: http://www.unicode.org/reports/tr35/tr35-numbers.html#Formatting +.. _`UTS #35 section 3.3`: https://www.unicode.org/reports/tr35/tr35-numbers.html#Formatting .. _cdecimal: https://pypi.org/project/cdecimal/ -- cgit v1.2.1