Skip to content

Commit

Permalink
Fix html generation html for Arend libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
alex999990009 committed Jul 5, 2024
1 parent 2eff253 commit 8e10adf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal fun generateHtmlForArendLib(

val indexFile = File(pathToArendLibInArendSite+ File.separator + "index.md")
indexFile.readLines().find { REGEX_AREND_LIB_VERSION.find(it)?.groupValues?.getOrNull(1) == version }
?: indexFile.appendText("\n * [$version]($version/$AREND_DIR_HTML/Base.html)")
?: indexFile.appendText("\n * [$version]($version/${AREND_DIR_HTML}Base.html)")


val psiManager = PsiManager.getInstance(psiProject)
Expand Down

0 comments on commit 8e10adf

Please sign in to comment.