diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 8ace79929..9200a9104 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -22,9 +22,6 @@ jobs: - name: Build documentation run: npm run docs - - name: Regenerate CNAME file - run: echo docs.universalviewer.io > docs/CNAME - - name: Auto-commit fixes uses: EndBug/add-and-commit@v9 with: diff --git a/package.json b/package.json index 6ed695c58..8f76db6b4 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "build-es": "node ./esbuild.mjs", "build-tsc": "tsc --skipLibCheck --module CommonJS --esModuleInterop --declarationDir ./dist/cjs --declaration --outDir ./dist/cjs -p . && npm run copy-files", "copy-files": "copyfiles -u 1 src/**/*.svg dist/cjs && copyfiles -u 1 src/**/*.gif dist/cjs && copyfiles -u 1 src/**/*.less dist/cjs && copyfiles -u 1 src/extensions/**/*.less dist/cjs && copyfiles -u 1 src/**/*.css dist/cjs", - "docs": "typedoc --plugin typedoc-plugin-missing-exports --gitRevision dev", + "docs": "typedoc --plugin typedoc-plugin-missing-exports ; echo docs.universalviewer.io > docs/CNAME", "test": "jest", "prepublishOnly": "npm run build && npm run build-tsc && npm run build-es" }, diff --git a/typedoc.json b/typedoc.json index dca1eca4c..173a34a05 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,4 +1,5 @@ { "entryPoints": ["src/content-handlers/iiif/Docs.ts"], + "sourceLinkTemplate": "https://github.com/UniversalViewer/universalviewer/blob/dev/{path}#L{line}", "out": "docs" }