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

Consider enabling flexible page width for doc site #1516

Open
nmdefries opened this issue Aug 14, 2024 · 3 comments
Open

Consider enabling flexible page width for doc site #1516

nmdefries opened this issue Aug 14, 2024 · 3 comments

Comments

@nmdefries
Copy link
Contributor

Currently the doc site pages are fixed width and fairly narrow. The menu (left-hand vertical bar) has a lot of line-wrapping because of that. The line-wrapping makes the menu hard to understand at a glance, and see where one item starts and ends.

Maybe we should make the pages (or at least the menu column) autowrap depending on the width of the browser window.

@nmdefries
Copy link
Contributor Author

We use the just-the-docs theme (docs here). To change wrapping behavior, we would need to override part of the default layout that comes with the theme. Custom layout info here.

@nmdefries
Copy link
Contributor Author

Ah, a direct answer here: just-the-docs/just-the-docs#481

@nmdefries
Copy link
Contributor Author

Adjusting the width of the menu is less straightforward, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant