Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d935ebf

Browse files
committedMay 8, 2025·
Remove TODOs
1 parent 345b67b commit d935ebf

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed
 

‎lib/ex_doc/formatter/html.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ defmodule ExDoc.Formatter.HTML do
6161
@doc """
6262
Autolinks and renders all docs.
6363
"""
64-
# TODO: Move this outside of the formatter
64+
# TODO: Move this to normalize_doc_ast in the retriever
6565
def render_all(project_nodes, filtered_modules, ext, config, opts) do
6666
base = [
6767
apps: config.apps,

‎lib/ex_doc/formatter/html/search_data.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ defmodule ExDoc.Formatter.HTML.SearchData do
6060
%{ref: ref, title: title, type: type, doc: doc}
6161
end
6262

63-
# TODO: Perform this via DocAST and remove source_format (and perhaps source_doc)
6463
defp extract_sections("text/markdown", %{source_doc: %{"en" => doc}}, prefix) do
6564
extract_sections_from_markdown(doc, prefix)
6665
end

‎lib/ex_doc/retriever.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ defmodule ExDoc.Retriever do
177177
nil
178178
end
179179

180-
# TODO: Consider moving auto-linking here.
181180
defp normalize_doc_ast(doc_ast, prefix) do
182181
doc_ast
183182
|> DocAST.add_ids_to_headers([:h2, :h3], prefix)

0 commit comments

Comments
 (0)
Please sign in to comment.