Skip to content

Fix gRPC Python docs website layout - use spaces optimally#40073

Closed
asheshvidyut wants to merge 15 commits intogrpc:masterfrom
asheshvidyut:feature/docs/python-html-layout
Closed

Fix gRPC Python docs website layout - use spaces optimally#40073
asheshvidyut wants to merge 15 commits intogrpc:masterfrom
asheshvidyut:feature/docs/python-html-layout

Conversation

@asheshvidyut
Copy link
Copy Markdown
Member

@asheshvidyut asheshvidyut commented Jun 30, 2025

Description

Fix the gRPC Python docs website layout - using spaces optimally.

Testing

new-layout-python-api-small.mov

@asheshvidyut asheshvidyut added the release notes: yes Indicates if PR needs to be in release notes label Jun 30, 2025
@asheshvidyut asheshvidyut changed the title Fix gRPC Python docs - use spaces optimally. Fix gRPC Python docs website layout - use spaces optimally Jun 30, 2025
@asheshvidyut asheshvidyut marked this pull request as ready for review June 30, 2025 15:33
html_theme = 'alabaster'
html_theme_options = {
'fixed_sidebar': True,
'page_width': '1140px',
Copy link
Copy Markdown
Member Author

@asheshvidyut asheshvidyut Jun 30, 2025

Choose a reason for hiding this comment

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

Preserving this by min-width 800px + 340px in css above.

color: #444 !important;
}
.sphinxsidebar h3, .sphinxsidebar h4, .sphinxsidebar p, .sphinxsidebar h3 a {
color: #444 !important;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This and line 38 is required to prevent changing color.

margin: 20px 50px 30px auto !important;
}

@media (max-width: 875px) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

875px is taken because the library internally changes colors and layout at this point

@sreenithi sreenithi added release notes: yes Indicates if PR needs to be in release notes and removed release notes: yes Indicates if PR needs to be in release notes labels Jul 2, 2025
@copybara-service copybara-service bot closed this in 36c776b Jul 3, 2025
asheshvidyut added a commit to asheshvidyut/grpc that referenced this pull request Jul 12, 2025
###  Description

Fix the gRPC Python docs website layout - using spaces optimally.

### Testing

https://github.com/user-attachments/assets/71294138-bf22-4497-975d-ef3b67cddef2

Closes grpc#40073

COPYBARA_INTEGRATE_REVIEW=grpc#40073 from asheshvidyut:feature/docs/python-html-layout 68444d4
PiperOrigin-RevId: 778759809
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Aug 23, 2025
###  Description

Fix the gRPC Python docs website layout - using spaces optimally.

### Testing

https://github.com/user-attachments/assets/71294138-bf22-4497-975d-ef3b67cddef2

Closes grpc#40073

COPYBARA_INTEGRATE_REVIEW=grpc#40073 from asheshvidyut:feature/docs/python-html-layout 68444d4
PiperOrigin-RevId: 778759809
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/Python release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants