Skip to content

Commit b4b49a1

Browse files
coliffwaylan
authored andcommitted
HTTPS Links
1 parent 39dc230 commit b4b49a1

File tree

15 files changed

+27
-27
lines changed

15 files changed

+27
-27
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
See the contributing guide in the documentation for an
44
introduction to contributing to MkDocs.
55

6-
<http://www.mkdocs.org/about/contributing/>
6+
<https://www.mkdocs.org/about/contributing/>

docs/about/release-notes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ details about these specific themes.
696696
* [MkDocs Bootstrap]
697697
* [MkDocs Bootswatch]
698698

699-
[MkDocs Bootstrap]: http://mkdocs.github.io/mkdocs-bootstrap/
700-
[MkDocs Bootswatch]: http://mkdocs.github.io/mkdocs-bootswatch/
699+
[MkDocs Bootstrap]: https://mkdocs.github.io/mkdocs-bootstrap/
700+
[MkDocs Bootswatch]: https://mkdocs.github.io/mkdocs-bootswatch/
701701

702702
They will be included with MkDocs by default until a future release. After that
703703
they will be installable with pip: `pip install mkdocs-bootstrap` and `pip
@@ -815,7 +815,7 @@ JavaScript library [lunr.js]. It has been added to both the `mkdocs` and
815815
`readthedocs` themes. See the custom theme documentation on [supporting search]
816816
for adding it to your own themes.
817817

818-
[lunr.js]: http://lunrjs.com/
818+
[lunr.js]: https://lunrjs.com/
819819
[supporting search]: ../user-guide/styling-your-docs.md#search-and-themes
820820

821821
#### New Command Line Interface

docs/user-guide/configuration.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ site and you may want to link to other parts of the same site without including
199199
the full domain. In that case, you may use and appropriate relative URL.
200200

201201
```yaml
202-
site_url: http://example.com/foo/
202+
site_url: https://example.com/foo/
203203
204204
nav:
205205
- Home: ../
@@ -211,8 +211,8 @@ In the above example, two different styles of external links are used. First
211211
note that the `site_url` indicates that the MkDocs site is hosted in the `/foo/`
212212
subdirectory of the domain. Therefore, the `Home` navigation item is a relative
213213
link which steps up one level to the server root and effectively points to
214-
`http://example.com/`. The `Bug Tracker` item uses an absolute path from the
215-
server root and effectively points to `http://example.com/bugs/`. Of course, the
214+
`https://example.com/`. The `Bug Tracker` item uses an absolute path from the
215+
server root and effectively points to `https://example.com/bugs/`. Of course, the
216216
`User Guide` points to a local MkDocs page.
217217

218218
**default**: By default `nav` will contain an alphanumerically sorted, nested
@@ -576,7 +576,7 @@ You may [contribute additional languages].
576576
[styling your docs]: styling-your-docs.md
577577
[extra_css]: #extra_css
578578
[Plugins]: plugins.md
579-
[lunr.js]: http://lunrjs.com/
579+
[lunr.js]: https://lunrjs.com/
580580
[ISO 639-1]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
581581
[Lunr Languages]: https://github.com/MihaiValentin/lunr-languages#lunr-languages-----
582582
[contribute additional languages]: https://github.com/MihaiValentin/lunr-languages/blob/master/CONTRIBUTING.md

docs/user-guide/custom-themes.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ assigned to the [site_url] configuration setting. The value includes any
297297
subdirectory included in the `site_url`, but not the domain. [base_url] should
298298
not be used with this variable.
299299

300-
For example, if `site_url: http://example.com/`, then the value of
300+
For example, if `site_url: https://example.com/`, then the value of
301301
`page.abs_url` for the page `foo.md` would be `/foo/`. However, if
302-
`site_url: http://example.com/bar/`, then the value of `page.abs_url` for the
302+
`site_url: https://example.com/bar/`, then the value of `page.abs_url` for the
303303
page `foo.md` would be `/bar/foo/`.
304304

305305
[site_url]: ./configuration.md#site_url
@@ -484,7 +484,7 @@ extra:
484484
links:
485485
- https://github.com/mkdocs
486486
- https://docs.readthedocs.org/en/latest/builds.html#mkdocs
487-
- http://www.mkdocs.org/
487+
- https://www.mkdocs.org/
488488
```
489489

490490
And then displayed with this HTML in the custom theme.
@@ -636,7 +636,7 @@ index when it is available. The `index` object was new in MkDocs version *1.0*.
636636
[Jinja2 template]: http://jinja.pocoo.org/docs/dev/
637637
[built-in themes]: https://github.com/mkdocs/mkdocs/tree/master/mkdocs/themes
638638
[theme's configuration file]: #theme-configuration
639-
[lunr.js]: http://lunrjs.com/
639+
[lunr.js]: https://lunrjs.com/
640640
[site_dir]: configuration.md#site_dir
641641
[prebuild_index]: configuration.md#prebuild_index
642642

@@ -660,8 +660,8 @@ Bootswatch theme].
660660
their needs.
661661

662662
[Python packaging]: https://packaging.python.org/en/latest/
663-
[MkDocs Bootstrap theme]: http://mkdocs.github.io/mkdocs-bootstrap/
664-
[MkDocs Bootswatch theme]: http://mkdocs.github.io/mkdocs-bootswatch/
663+
[MkDocs Bootstrap theme]: https://mkdocs.github.io/mkdocs-bootstrap/
664+
[MkDocs Bootswatch theme]: https://mkdocs.github.io/mkdocs-bootswatch/
665665

666666
### Package Layout
667667

docs/user-guide/styling-your-docs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ any additional CSS files included in the `custom_dir`.
320320

321321
[browse source]: https://github.com/mkdocs/mkdocs/tree/master/mkdocs/themes/mkdocs
322322
[built-in themes]: #built-in-themes
323-
[Bootstrap]: http://getbootstrap.com/
323+
[Bootstrap]: https://getbootstrap.com/
324324
[theme configuration options]: ./configuration.md#theme
325325
[Read the Docs]: https://readthedocs.org/
326326
[community wiki]: https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes

docs/user-guide/writing-your-docs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ authors:
379379
- Waylan Limberg
380380
- Tom Christie
381381
date: 2018-07-10
382-
some_url: http://example.com
382+
some_url: https://example.com
383383
---
384384
This is the first paragraph of the document.
385385
```
@@ -407,7 +407,7 @@ Authors: Waylan Limberg
407407
Tom Christie
408408
Date: January 23, 2018
409409
blank-value:
410-
some_url: http://example.com
410+
some_url: https://example.com
411411
412412
This is the first paragraph of the document.
413413
```

mkdocs/commands/new.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
config_text = 'site_name: My Docs\n'
99
index_text = """# Welcome to MkDocs
1010
11-
For full documentation visit [mkdocs.org](http://mkdocs.org).
11+
For full documentation visit [mkdocs.org](https://mkdocs.org).
1212
1313
## Commands
1414

mkdocs/tests/config/base_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_load_missing_required(self):
134134
config_file = tempfile.NamedTemporaryFile('w', delete=False)
135135
try:
136136
config_file.write(
137-
"site_dir: output\nsite_uri: http://www.mkdocs.org\n")
137+
"site_dir: output\nsite_uri: https://www.mkdocs.org\n")
138138
config_file.flush()
139139
config_file.close()
140140

mkdocs/tests/config/config_options_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class URLTest(unittest.TestCase):
151151

152152
def test_valid_url(self):
153153

154-
url = "http://mkdocs.org"
154+
url = "https://mkdocs.org"
155155

156156
option = config_options.URL()
157157
value = option.validate(url)

mkdocs/tests/integration/minimal/docs/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Welcome to MkDocs
22

3-
For full documentation visit [mkdocs.org](http://mkdocs.org).
3+
For full documentation visit [mkdocs.org](https://mkdocs.org).
44

55
## Commands
66

mkdocs/tests/integration/unicode/docs/Übersicht.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome to MkDocs
22

3-
For full documentation visit [mkdocs.org](http://mkdocs.org).
3+
For full documentation visit [mkdocs.org](https://mkdocs.org).
44

55
## Commands
66

mkdocs/tests/integration/unicode/docs/♪.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Welcome to MkDocs
22

3-
For full documentation visit [mkdocs.org](http://mkdocs.org).
3+
For full documentation visit [mkdocs.org](https://mkdocs.org).
44

55
## Commands
66

mkdocs/utils/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def yaml_load(source, loader=yaml.Loader):
5454
Wrap PyYaml's loader so we can extend it to suit our needs.
5555
5656
Load all strings as unicode.
57-
http://stackoverflow.com/a/2967461/3609487
57+
https://stackoverflow.com/a/2967461/3609487
5858
"""
5959

6060
def construct_yaml_str(self, node):
@@ -188,7 +188,7 @@ def is_markdown_file(path):
188188
"""
189189
Return True if the given file path is a Markdown file.
190190
191-
http://superuser.com/questions/249436/file-extension-for-markdown-files
191+
https://superuser.com/questions/249436/file-extension-for-markdown-files
192192
"""
193193
return any(fnmatch.fnmatch(path.lower(), '*{0}'.format(x)) for x in markdown_extensions)
194194

mkdocs/utils/ghp_import.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def write(pipe, data):
6262

6363
def normalize_path(path):
6464
# Fix unicode pathnames on OS X
65-
# See: http://stackoverflow.com/a/5582439/44289
65+
# See: https://stackoverflow.com/a/5582439/44289
6666
if sys.platform == "darwin":
6767
return unicodedata.normalize("NFKC", dec(path))
6868
return path

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_packages(package):
4747
setup(
4848
name="mkdocs",
4949
version=get_version("mkdocs"),
50-
url='http://www.mkdocs.org',
50+
url='https://www.mkdocs.org',
5151
license='BSD',
5252
description='Project documentation with Markdown.',
5353
long_description=long_description,

0 commit comments

Comments
 (0)