Skip to content

Commit

Permalink
Use the namespace name in place of Overview in local-toc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Feb 24, 2012
1 parent 9f3d13a commit 61ccf45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/autodoc/build_html.clj
Expand Up @@ -149,7 +149,8 @@ Returns: (\"\" \"abc\" \"123\" \"def\")"
(defn ns-toc-data [ns]
(apply
vector
["Overview" "toc0" (var-toc-entries ns)]
[(:short-name ns) (:short-name ns) (var-toc-entries ns)
]
(for [sub-ns (:subspaces ns)]
[(:short-name sub-ns) (:short-name sub-ns) (var-toc-entries sub-ns)])))

Expand Down

0 comments on commit 61ccf45

Please sign in to comment.