Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

barbados-clemens
Copy link
Contributor

@barbados-clemens barbados-clemens commented Aug 28, 2025

switch to making typedoc to the rendering and then pull in the generated file contents instead of manually parsing the reflection metadata.

Fixes: DOC-63

Copy link

vercel bot commented Aug 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Sep 11, 2025 9:09pm

Copy link
Contributor

nx-cloud bot commented Aug 28, 2025

View your CI Pipeline Execution ↗ for commit 8379318

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 4m 40s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 26s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 7s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 6s View ↗
nx documentation ✅ Succeeded 2m 35s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-11 21:07:20 UTC

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

@barbados-clemens barbados-clemens force-pushed the cu/DOC-63-devkit-link-fix branch from 21703e2 to c1bd79b Compare August 29, 2025 02:17
nx-cloud[bot]

This comment was marked as outdated.

`@link` properties in typedoc were always assuming a top level
/docs/reference/devkit/:link url. but they typically will link to a sub
header of the same page. Now url generation check the parent to see if
it's a devkit project fist to construct the URL.

Fixes: DOC-63

wip: devkit url funs
I actually need to finish impl the reflection.type and
reflection.typeParameters which would explain why some pages are missing
some information
@barbados-clemens barbados-clemens force-pushed the cu/DOC-63-devkit-link-fix branch from 8918e48 to f224c55 Compare September 11, 2025 18:02
nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

@barbados-clemens barbados-clemens force-pushed the cu/DOC-63-devkit-link-fix branch 2 times, most recently from 780d10a to 8a0c569 Compare September 11, 2025 20:21
Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud is proposing a fix for your failed CI:

We fixed the formatting violations in devkit-generation.ts by removing trailing commas that were causing the nx format:check task to fail. These formatting issues were introduced during the recent devkit documentation system refactoring.

We verified this fix by re-running nx-cloud record -- nx format:check.

Suggested Fix changes
diff --git a/astro-docs/src/plugins/utils/devkit-generation.ts b/astro-docs/src/plugins/utils/devkit-generation.ts
index bb80c724f4..616106c19d 100644
--- a/astro-docs/src/plugins/utils/devkit-generation.ts
+++ b/astro-docs/src/plugins/utils/devkit-generation.ts
@@ -11,7 +11,7 @@ import { existsSync } from 'node:fs';
 import { readFile, readdir } from 'node:fs/promises';
 
 export async function loadDevkitPackage(
-  context: LoaderContext,
+  context: LoaderContext
 ): Promise<CollectionEntry<'nx-reference-packages'>[]> {
   const { logger, renderMarkdown } = context;
   logger.info('Loading DevKit documentation');
@@ -30,7 +30,7 @@ export async function loadDevkitPackage(
     'dist',
     'packages',
     'devkit',
-    'index.d.ts',
+    'index.d.ts'
   );
   if (existsSync(devkitEntryPoint)) {
     await runTypeDoc(
@@ -42,7 +42,7 @@ export async function loadDevkitPackage(
         excludePrivate: true,
         publicPath: '/docs/reference/devkit/',
       },
-      logger,
+      logger
     );
   }
 
@@ -53,7 +53,7 @@ export async function loadDevkitPackage(
     'dist',
     'packages',
     'devkit',
-    'ngcli-adapter.d.ts',
+    'ngcli-adapter.d.ts'
   );
   if (existsSync(ngcliEntryPoint)) {
     await runTypeDoc(
@@ -64,7 +64,7 @@ export async function loadDevkitPackage(
         out: join(outDir, 'ngcli_adapter'),
         publicPath: '/docs/reference/devkit/ngcli_adapter/',
       },
-      logger,
+      logger
     );
   }

Apply fix via Nx Cloud  Reject fix via Nx Cloud  Nx CloudView interactive diff and more actions ↗


⚙️ An Nx Cloud workspace admin can disable these reviews in workspace settings.

@barbados-clemens barbados-clemens force-pushed the cu/DOC-63-devkit-link-fix branch from 2996a10 to 8379318 Compare September 11, 2025 20:56
@jaysoo jaysoo merged commit 3dda99e into master Sep 12, 2025
15 checks passed
@jaysoo jaysoo deleted the cu/DOC-63-devkit-link-fix branch September 12, 2025 12:09
Copy link
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants