aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/SourceLinksTest.kt
AgeCommit message (Collapse)Author
2019-10-31Remove all unnecessary filesKamil Doległo
2019-10-10Extract testApi from coreKamil Doległo
2019-03-19Merge branch 'kotlin-website-jonnyzzz' into multiplatform-supportKrystianUjma
2019-03-11Fix test, prohibit non-unix path style for dir propertyKrystianUjma
Update readme.md, allow only unix based path (dir property)
2019-03-11Use canonicalPath instead of absolutePath for srcLinkRobert Stoll
This way a user can define "./" instead of an absolute path to the root of the project dir (or a user can use ../ etc.). Thus: - use canonicalPath in: - SourceLinkDefinitionImpl::parseSourceLinkDefinition - and DocumentationNode.appendSourceLink => here because if the config is deserialized we bypass parseSourceLinkDefinition - also use canonicalPath for the path of PsiElement Moreover: - make sure the comparison works for unix and windows paths - fixes #289