Skip to content

Commit

Permalink
tweak so that toc jump is not too noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
namin committed Sep 7, 2019
1 parent 7580317 commit 167b795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/me/grison/scalocco/Scalocco.scala
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ object Scalocco extends Markdown {
*/
def generateDoc(path: String, destPath: String, template: String) = {
val files = scalaFiles(path)
sources = files.toList
sources = files.toList.filter(!_.toString.contains("_")).sorted


// if the given path is just a file, split the base part of it
val pathFile = new File(path)
Expand Down

0 comments on commit 167b795

Please sign in to comment.