Skip to content

Conversation

@xinsong-cui
Copy link
Contributor

Issue #

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@xinsong-cui xinsong-cui changed the title Api ref doc sidebar optimization feat: api ref doc sidebar optimization May 16, 2025
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

build.gradle.kts Outdated
Comment on lines 138 to 140
dokkaOutputDir.listFiles { file ->
file.isDirectory && file.resolve("navigation.html").exists()
}?.forEach { moduleDir ->
Copy link
Member

Choose a reason for hiding this comment

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

There should only be one navigation.html file (in the root of dokkaOutputDir) since we prune the duplicate navigation.html files during our build.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we still want to prune them? Now we are trimming and using these navigations

Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize your navigation loader would use each module's navigation.html. Ok, that will work but we'll need to update our build process to not remove duplicate files (and make sure the docs artifact size doesn't increase significantly)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I'll remove that. I did a quick estimation, the doc size should only increased by 300 - 400 MB

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

Copy link
Contributor

@0marperez 0marperez left a comment

Choose a reason for hiding this comment

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

Should we do this for smithy-kotlin as well? The navigation sidebar isn't troublesome but for consistency it would be nice to do the same.

@xinsong-cui
Copy link
Contributor Author

xinsong-cui commented May 19, 2025

Should we do this for smithy-kotlin as well? The navigation sidebar isn't troublesome but for consistency it would be nice to do the same.

Yeah, I agree we should keep consistency. I am open to do for smithy-kotlin.

@xinsong-cui xinsong-cui marked this pull request as ready for review May 19, 2025 18:17
@xinsong-cui xinsong-cui requested a review from a team as a code owner May 19, 2025 18:17
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Jun 5, 2025

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions

This comment has been minimized.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 5, 2025

@github-actions
Copy link

github-actions bot commented Jun 5, 2025

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@github-actions
Copy link

github-actions bot commented Jun 5, 2025

Affected Artifacts

No artifacts changed size

@xinsong-cui xinsong-cui merged commit 3485086 into main Jun 6, 2025
21 checks passed
@xinsong-cui xinsong-cui deleted the feature/dokka-optimization branch August 21, 2025 20:54
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.

4 participants