Skip to content

Commit 73fc332

Browse files
authored
Merge pull request #51 from JuliaDocs/backports-0.4.3
Backports for 0.4.3
2 parents 1b13791 + af32119 commit 73fc332

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/abbreviations.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ function format(::ModuleExports, buf, doc)
134134
if !isempty(exports)
135135
println(buf)
136136
# Sorting ignores the `@` in macro names and sorts them in with others.
137-
for name in sort(exports, by = s -> lstrip(string(s), '@'))
137+
for sym in sort(exports, by = s -> lstrip(string(s), '@'))
138138
# Skip the module itself, since that's always exported.
139-
name === module_name(object) && continue
139+
sym === module_name(object) && continue
140140
# We print linked names using Documenter.jl cross-reference syntax
141141
# for ease of integration with that package.
142-
println(buf, " - [`", name, "`](@ref)")
142+
println(buf, " - [`", sym, "`](@ref)")
143143
end
144144
println(buf)
145145
end

0 commit comments

Comments
 (0)