Skip to content

Commit 5370a85

Browse files
authored
chore: fix missing HTTPS on links (#1337)
1 parent 619fbcf commit 5370a85

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ExDoc will automatically generate links across modules and functions if you encl
126126
* By referring to a module, function, type or callback from your project, such as `` `MyModule` ``, ExDoc will automatically link to those
127127
* By referring to a module, function, type or callback from Elixir, such as `` `String` ``, ExDoc will automatically link to Elixir's stable documentation
128128
* By referring to a function, type, or callback from OTP, such as (`` `:queue.new/0` ``), ExDoc will automatically link to the OTP documentation
129-
* By referring to a module, function, type or callback from any of your dependencies, such as `` `MyDep` ``, ExDoc will automatically link to that dependency documentation on [hexdocs.pm](http://hexdocs.pm/) (the link can be configured by setting `docs: [deps: [my_dep: "https://path/to/docs/"]]` in your `mix.exs`)
129+
* By referring to a module, function, type or callback from any of your dependencies, such as `` `MyDep` ``, ExDoc will automatically link to that dependency documentation on [hexdocs.pm](https://hexdocs.pm/) (the link can be configured by setting `docs: [deps: [my_dep: "https://path/to/docs/"]]` in your `mix.exs`)
130130
131131
ExDoc supports linking to modules (`` `MyModule` ``), functions (`` `MyModule.function/1` ``), types (`` `t:MyModule.type/2` ``) and callbacks (`` `c:MyModule.callback/3` ``). If you want to link a function, type or callback in the current module, you may skip the module name, such as `` `function/1` ``.
132132

lib/ex_doc/markdown.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule ExDoc.Markdown do
88
99
ExDoc supports the following Markdown parsers out of the box:
1010
11-
* [EarmarkParser](http://github.com/robertdober/earmark_parser)
11+
* [EarmarkParser](https://github.com/robertdober/earmark_parser)
1212
1313
ExDoc uses EarmarkParser by default.
1414
"""

test/ex_doc/formatter/epub/templates_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule ExDoc.Formatter.EPUB.TemplatesTest do
99
end
1010

1111
defp homepage_url do
12-
"http://elixir-lang.org"
12+
"https://elixir-lang.org"
1313
end
1414

1515
defp doc_config(config \\ []) do

test/ex_doc/formatter/html/templates_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule ExDoc.Formatter.HTML.TemplatesTest do
1111
end
1212

1313
defp homepage_url do
14-
"http://elixir-lang.org"
14+
"https://elixir-lang.org"
1515
end
1616

1717
defp doc_config(config \\ []) do

test/mix/tasks/docs_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ defmodule Mix.Tasks.DocsTest do
114114
deps: _,
115115
apps: _,
116116
source_beam: _,
117-
homepage_url: "http://elixir-lang.org",
117+
homepage_url: "https://elixir-lang.org",
118118
source_url: "https://github.com/elixir-lang/ex_doc"
119119
]},
120120
{"ExDoc", "1.2.3-dev",
@@ -123,15 +123,15 @@ defmodule Mix.Tasks.DocsTest do
123123
deps: _,
124124
apps: _,
125125
source_beam: _,
126-
homepage_url: "http://elixir-lang.org",
126+
homepage_url: "https://elixir-lang.org",
127127
source_url: "https://github.com/elixir-lang/ex_doc"
128128
]}
129129
] =
130130
run([],
131131
app: :ex_doc,
132132
name: "ExDoc",
133133
source_url: "https://github.com/elixir-lang/ex_doc",
134-
homepage_url: "http://elixir-lang.org",
134+
homepage_url: "https://elixir-lang.org",
135135
version: "1.2.3-dev"
136136
)
137137

0 commit comments

Comments
 (0)