Skip to content

Commit

Permalink
Improve documentation generation workflow. (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Dec 12, 2024
1 parent a816f29 commit d0f6303
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
1 change: 1 addition & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"entryPoints": ["src/content-handlers/iiif/Docs.ts"],
"sourceLinkTemplate": "https://github.com/UniversalViewer/universalviewer/blob/dev/{path}#L{line}",
"out": "docs"
}

0 comments on commit d0f6303

Please sign in to comment.