-
Notifications
You must be signed in to change notification settings - Fork 39
feat: migrating content from docs.coveo.com to typedoc #6624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates documentation content from docs.coveo.com to the TypeDoc-generated site for the Headless package. The changes introduce comprehensive documentation reorganization with new markdown files, custom navigation ordering, and a TypeDoc plugin enhancement to support advanced navigation features.
Key Changes
- Documentation migration: 28 markdown documentation files added covering usage, upgrade guides, SSR, analytics, and various Headless features
- Navigation customization: New TypeDoc plugin features for hoisting categories, sorting top-level and nested navigation items
- Configuration updates: TypeDoc configuration with project documents, custom ordering, and navigation settings
Reviewed changes
Copilot reviewed 46 out of 46 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/headless/typedoc.json | Added projectDocuments array with 29 documentation files, configured navigation ordering and hoisting |
| packages/headless/typedoc-configs/index.typedoc.json | Added "Home" and "Contributing" to groupOrder |
| packages/headless/source_docs/*.md | 28 new documentation markdown files covering all aspects of Headless usage |
| packages/documentation/lib/index.tsx | Enhanced with navigation manipulation, ordering, and hoisting logic |
| packages/documentation/lib/hoist.ts | New utility for hoisting "Other" categories in navigation |
| packages/documentation/lib/sortNodes.ts | New utility for sorting navigation nodes with custom ordering |
| packages/documentation/lib/types.ts | New NavNode type definition |
| packages/documentation/lib/normalize.ts | New string normalization utility |
| packages/documentation/lib/*.ts | Converted function declarations to arrow functions for consistency |
| packages/documentation/README.md | New README documenting the plugin's navigation features |
| .cspell.json | Added "coveoua" to dictionary |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/headless/source_docs/ssr-implement-search-parameter-support.md
Outdated
Show resolved
Hide resolved
jpmarceau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jpmarceau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: jpmarceau <[email protected]>
I've fixed this, was an artifact of rewriting the URLs |
jpmarceau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, how the URLs generated here translate to the rewritten URLs on our site is not always clear to me. If the assumption is that everything after |
|
@jpmarceau I have restored the previous URL formatting for non-projectDocuments |




This migrates all content for headless from docs.coveo.com over to the typedoc site. It does not contain any textual changes. This also makes some changes to the
headless-reacttypedoc site to align them with the changes in theheadlesssite.This introduces a fair amount of change to the organization of the site.
This is in Draft to allow the docs team to comment first.
To test:
packages/documentationrunpnpm buildpackages/headlessdirectory runpnpm run build:typedoc && pnpm run serve:typedocpackages/headless-reactdirectory runpnpm run build:typedoc && pnpm run serve:typedoc