mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 11:06:49 +00:00
bugfix/Make it work docs/glossary
This commit is contained in:
parent
e113d24850
commit
dec6fc5337
@ -62,7 +62,7 @@ In case that the above command fails try next one:
|
||||
|
||||
export MAVEN_OPTS="-Xss128m" && mvn install -pl .,obp-commons && mvn jetty:run -pl obp-api
|
||||
|
||||
[Note: How to run via IntelliJ IDEA](docs/glossary/Run_via_IntelliJ_IDEA.md)
|
||||
[Note: How to run via IntelliJ IDEA](obp-api/src/main/docs/glossary/Run_via_IntelliJ_IDEA.md)
|
||||
|
||||
## Run some tests.
|
||||
|
||||
|
||||
@ -3099,7 +3099,7 @@ object Glossary extends MdcLoggable {
|
||||
private def getListOfFiles():List[File] = {
|
||||
val dir= LiftRules.getResource("/")
|
||||
.map(_.toURI.getPath
|
||||
.replace("obp-api/src/main/webapp", "docs/glossary"))
|
||||
.replace("webapp", "docs/glossary"))
|
||||
val d = new File(dir.getOrElse(""))
|
||||
if (d.exists && d.isDirectory) {
|
||||
d.listFiles.filter(_.isFile).filter(_.getName.endsWith(".md")).toList
|
||||
|
||||
Loading…
Reference in New Issue
Block a user