Skip to content

Commit 011d16b

Browse files
committed
Use https for project doc URLs
bestpractices.dev sites_https wants every project-owned URL on TLS. Readthedocs already serves https on bitmath.readthedocs.io, so this is just flipping the scheme. Touched: - README.rst badge target and intro/docs links - docsite/source/index.rst.in (and the regenerated index.rst) - NEWS.rst historical doc links (13 of them) - .github/CONTRIBUTING.md
1 parent 72f045b commit 011d16b

5 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Please see the
2-
[Contributing Guidelines](http://bitmath.readthedocs.org/en/latest/contributing.html)
2+
[Contributing Guidelines](https://bitmath.readthedocs.io/en/latest/contributing.html)
33
on Read The Docs.

NEWS.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -533,20 +533,20 @@ Changes
533533

534534
* New utility: ``progressbar`` integration:
535535
`bitmath.integrations.BitmathFileTransferSpeed
536-
<http://bitmath.readthedocs.io/en/latest/module.html#progressbar>`_.
536+
<https://bitmath.readthedocs.io/en/latest/module.html#progressbar>`_.
537537
A more functional file transfer speed widget.
538538

539539

540540
Documentation
541541
=============
542542

543543
* The command-line ``bitmath`` tool now has `online documentation
544-
<http://bitmath.readthedocs.io/en/latest/commandline.html>`_
544+
<https://bitmath.readthedocs.io/en/latest/commandline.html>`_
545545
* A full demo of the ``argparse`` and ``progressbar`` integrations has
546546
been written. Additionally, it includes a comprehensive
547547
demonstration of the full capabilities of the bitmath library. View
548548
it in the *Real Life Demos* `Creating Download Progress Bars
549-
<http://bitmath.readthedocs.io/en/latest/real_life_examples.html#real-life-examples-download-progress-bars>`_
549+
<https://bitmath.readthedocs.io/en/latest/real_life_examples.html#real-life-examples-download-progress-bars>`_
550550
example.
551551

552552

@@ -613,7 +613,7 @@ Changes
613613
<https://github.com/timlnx/bitmath/issues/35>`_ added. Provides
614614
CLI access to basic unit conversion functions
615615
* New utility function `bitmath.parse_string
616-
<http://bitmath.readthedocs.io/en/latest//module.html#bitmath-parse-string>`_
616+
<https://bitmath.readthedocs.io/en/latest//module.html#bitmath-parse-string>`_
617617
for parsing a human-readable string into a bitmath object. `Patch
618618
submitted <https://github.com/timlnx/bitmath/pull/42>`_ by new
619619
contributor `tonycpsu <https://github.com/tonycpsu>`_.
@@ -634,7 +634,7 @@ Major Updates
634634

635635
* bitmath has a proper documentation website up now on Read the Docs,
636636
check it out: `bitmath.readthedocs.io
637-
<http://bitmath.readthedocs.io/en/latest/>`_
637+
<https://bitmath.readthedocs.io/en/latest/>`_
638638
* bitmath is now Python 3.x compatible
639639
* bitmath is now included in the `Extra Packages for Enterprise Linux
640640
<https://fedoraproject.org/wiki/EPEL>`_ EPEL6 and EPEL7 repositories
@@ -659,25 +659,25 @@ Changes
659659
**Added Functionality**
660660

661661
* `best-prefix
662-
<http://bitmath.readthedocs.io/en/latest/instances.html#best-prefix>`_
662+
<https://bitmath.readthedocs.io/en/latest/instances.html#best-prefix>`_
663663
guessing: automatic best human-readable unit selection
664664
* support for `bitwise operations
665-
<http://bitmath.readthedocs.io/en/latest/simple_examples.html#bitwise-operations>`_
665+
<https://bitmath.readthedocs.io/en/latest/simple_examples.html#bitwise-operations>`_
666666
* `formatting customization
667-
<http://bitmath.readthedocs.io/en/latest/instances.html#format>`_
667+
<https://bitmath.readthedocs.io/en/latest/instances.html#format>`_
668668
methods (including plural/singular selection)
669669
* exposed many more `instance attributes
670-
<http://bitmath.readthedocs.io/en/latest/instances.html#instances-attributes>`_
670+
<https://bitmath.readthedocs.io/en/latest/instances.html#instances-attributes>`_
671671
(all instance attributes are usable in custom formatting)
672672
* a `context manager
673-
<http://bitmath.readthedocs.io/en/latest/module.html#bitmath-format>`_
673+
<https://bitmath.readthedocs.io/en/latest/module.html#bitmath-format>`_
674674
for applying formatting to an entire block of code
675675
* utility functions for sizing `files
676-
<http://bitmath.readthedocs.io/en/latest/module.html#bitmath-getsize>`_
676+
<https://bitmath.readthedocs.io/en/latest/module.html#bitmath-getsize>`_
677677
and `directories
678-
<http://bitmath.readthedocs.io/en/latest/module.html#bitmath-listdir>`_
678+
<https://bitmath.readthedocs.io/en/latest/module.html#bitmath-listdir>`_
679679
* add `instance properties
680-
<http://bitmath.readthedocs.io/en/latest/instances.html#instance-properties>`_
680+
<https://bitmath.readthedocs.io/en/latest/instances.html#instance-properties>`_
681681
equivalent to ``instance.to_THING()`` methods
682682

683683
Project

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:alt: PyPI - Python Version
1313

1414
.. image:: https://readthedocs.org/projects/bitmath/badge/?version=latest
15-
:target: http://bitmath.rtfd.org/
15+
:target: https://bitmath.readthedocs.io/
1616
.. image:: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml/badge.svg
1717
:target: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml
1818
:alt: Bandit Security Scan
@@ -42,7 +42,7 @@ bitmath
4242
* Bugs: https://github.com/timlnx/bitmath/issues
4343
* Contributing: https://bitmath.readthedocs.io/en/latest/contributing.html
4444

45-
`bitmath <http://bitmath.readthedocs.org/en/latest/>`_ simplifies many
45+
`bitmath <https://bitmath.readthedocs.io/en/latest/>`_ simplifies many
4646
facets of interacting with file sizes in various units. Originally
4747
focusing on file size unit conversion, functionality now includes:
4848

@@ -126,8 +126,8 @@ Documentation
126126
=============
127127

128128
The main documentation lives at
129-
`http://bitmath.readthedocs.org/en/latest/
130-
<http://bitmath.readthedocs.org/en/latest/>`_.
129+
`https://bitmath.readthedocs.io/en/latest/
130+
<https://bitmath.readthedocs.io/en/latest/>`_.
131131

132132
Topics include:
133133

docsite/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:alt: PyPI - Python Version
1313

1414
.. image:: https://readthedocs.org/projects/bitmath/badge/?version=latest
15-
:target: http://bitmath.rtfd.org/
15+
:target: https://bitmath.readthedocs.io/
1616
.. image:: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml/badge.svg
1717
:target: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml
1818
:alt: Bandit Security Scan
@@ -42,7 +42,7 @@ bitmath
4242
* Bugs: https://github.com/timlnx/bitmath/issues
4343
* Contributing: https://bitmath.readthedocs.io/en/latest/contributing.html
4444

45-
`bitmath <http://bitmath.readthedocs.org/en/latest/>`_ simplifies many
45+
`bitmath <https://bitmath.readthedocs.io/en/latest/>`_ simplifies many
4646
facets of interacting with file sizes in various units. Originally
4747
focusing on file size unit conversion, functionality now includes:
4848

docsite/source/index.rst.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:alt: PyPI - Python Version
1313

1414
.. image:: https://readthedocs.org/projects/bitmath/badge/?version=latest
15-
:target: http://bitmath.rtfd.org/
15+
:target: https://bitmath.readthedocs.io/
1616
.. image:: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml/badge.svg
1717
:target: https://github.com/timlnx/bitmath/actions/workflows/bandit.yml
1818
:alt: Bandit Security Scan
@@ -42,7 +42,7 @@ bitmath
4242
* Bugs: https://github.com/timlnx/bitmath/issues
4343
* Contributing: https://bitmath.readthedocs.io/en/latest/contributing.html
4444

45-
`bitmath <http://bitmath.readthedocs.org/en/latest/>`_ simplifies many
45+
`bitmath <https://bitmath.readthedocs.io/en/latest/>`_ simplifies many
4646
facets of interacting with file sizes in various units. Originally
4747
focusing on file size unit conversion, functionality now includes:
4848

0 commit comments

Comments
 (0)