Skip to content
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

docs(headless): updates the Headless typedoc uploading logic #4876

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

npushkarskii
Copy link
Contributor

@npushkarskii npushkarskii commented Jan 17, 2025

JIRA: https://coveord.atlassian.net/browse/KIT-3424

This PR changes the logic of how the Typedoc site is uploaded as an artifact. This is to streamline the process of publishing the generated docs at docs.coveo.com (the project that I'm working on these days).

I tested this approach in a local fork of this repo, you can look at the latest run that uses the same logic as suggested in this PR: https://github.com/npushkarskii/ui-kit/actions/runs/12832730326


Note

  • archiving in the workflow wasn't required as it resulted in creating an archive inside an archive. GH automatically creates an archive when we upload anything as an artifact.

  • the archive's names stays headless-docs-{VERSION}.zip (didn't change)

The structure of the resulting archive will now be in the format:

  1. The folder in the archive bears the name of the version.

  2. Inside the version folder, there are the generated files

image

@npushkarskii npushkarskii marked this pull request as ready for review January 17, 2025 21:15
@npushkarskii npushkarskii requested a review from a team as a code owner January 17, 2025 21:15
@npushkarskii npushkarskii requested review from olamothe, fpbrault, y-lakhdar and alexprudhomme and removed request for olamothe, fpbrault and y-lakhdar January 17, 2025 21:15
Copy link

github-actions bot commented Jan 17, 2025

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 243.9 243.9 0
commerce 355.1 355.1 0
search 415 415 0
insight 406.3 406.3 0
recommendation 256.2 256.2 0
ssr 408.9 408.9 0
ssr-commerce 372.9 372.9 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
case-assist 0 6 0
insight 0 27 0
commerce 0 15 0
Detailed logs search : buildInteractiveResult
search : buildInteractiveInstantResult
search : buildInteractiveRecentResult
search : buildInteractiveCitation
search : buildGeneratedAnswer
recommendation : missing SSR support
case-assist : missing SSR support
insight : missing SSR support
commerce : missing SSR support

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
npushkarskii and others added 2 commits January 20, 2025 11:48
Co-authored-by: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com>
Co-authored-by: Alex Prudhomme <78121423+alexprudhomme@users.noreply.github.com>
Copy link
Contributor

@alexprudhomme alexprudhomme left a comment

Choose a reason for hiding this comment

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

Thanks !

@npushkarskii npushkarskii added this pull request to the merge queue Jan 21, 2025
Merged via the queue into master with commit 5b5e40e Jan 21, 2025
95 checks passed
@npushkarskii npushkarskii deleted the headless-typedoc-generation branch January 21, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants