Skip to content

Commit

Permalink
fixing docs deploy
Browse files Browse the repository at this point in the history
(cherry picked from commit 1a76be9)
  • Loading branch information
hipstersmoothie committed Sep 1, 2024
1 parent 34e1005 commit 7168584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
- run: pnpm build
- name: Install, build, and upload your site
uses: withastro/action@v2
- run: pnpm build
working-directory: packages/docs
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: packages/docs
node-version: 18
package-manager: [email protected]
path: "${{ inputs.path }}/dist/"

deploy:
needs: build
Expand Down
2 changes: 0 additions & 2 deletions packages/docs/src/typedoc-zod-extended.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export function load(app) {
});

function onCreateDeclaration(_, refl) {
console.log(refl.name);
if (refl.name.endsWith("Options")) {
const declaration = refl.project
.getSymbolFromReflection(refl)
Expand All @@ -49,7 +48,6 @@ export function load(app) {

schemaTypes.set(sourceKey(refl.type.declaration.sources[0]), refl);

console.log(matchingSchema);
refl.type.declaration.children.forEach((child) => {
child.comment = new Comment([
{
Expand Down

0 comments on commit 7168584

Please sign in to comment.