mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #362] [MERGED] Fix source links in pkldoc #521
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/362
Author: @bioball
Created: 3/25/2024
Status: ✅ Merged
Merged: 3/26/2024
Merged by: @bioball
Base:
main← Head:pkl-doc-fix-source-link📝 Commits (2)
b2be7dfFix source links in pkldoc27f734eAvoid double encoding source code uri📊 Changes
54 files changed (+77 additions, -69 deletions)
View changed files
📝
pkl-doc/src/main/kotlin/org/pkl/doc/DocGenerator.kt(+1 -1)📝
pkl-doc/src/main/kotlin/org/pkl/doc/DocPackageInfo.kt(+4 -8)📝
pkl-doc/src/main/kotlin/org/pkl/doc/DocScope.kt(+5 -4)📝
pkl-doc/src/main/kotlin/org/pkl/doc/PageGenerator.kt(+4 -3)📝
pkl-doc/src/main/kotlin/org/pkl/doc/Util.kt(+14 -4)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/Module Containing Spaces/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/baseModule/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classAnnotations/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classComments/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classInheritance/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classMethodComments/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classMethodModifiers/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classMethodTypeAnnotations/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classMethodTypeReferences/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classPropertyAnnotations/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classPropertyComments/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classPropertyModifiers/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classPropertyTypeAnnotations/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classPropertyTypeReferences/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/1.2.3/classTypeConstraints/index.html(+1 -1)...and 34 more files
📄 Description
Fixes an issue where source links are incorrectly URI encoded; i.e.
https%3A//github.cominstead ofhttps://github.com.This was causing the browser to resolve these as relative to the enclosing page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.