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

x/pkgsite: allow short one line "code" blocks / declaration to line wrap #43368

Closed
thomasf opened this issue Dec 24, 2020 · 1 comment
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite/dochtml Issues related to package documentation in pkgsite pkgsite

Comments

@thomasf
Copy link

thomasf commented Dec 24, 2020

godoc.org does it

image

pkg.go.dev does not:

image

I don't know what metric or categories should be used to decide when to allow line wrapping because for multi line code blocks i would probably not th but I think it needs to be addressed.

@gopherbot gopherbot added this to the Unreleased milestone Dec 24, 2020
@gopherbot
Copy link

Change https://golang.org/cl/279726 mentions this issue: content: wrap functions and methods

@jamalc jamalc assigned jamalc and julieqiu and unassigned jamalc Dec 28, 2020
@jamalc jamalc added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 28, 2020
@jamalc jamalc modified the milestones: Unreleased, pkgsite/dochtml Dec 28, 2020
@julieqiu julieqiu changed the title x/pkgsite: allow short one line "code" blocks / declaration to line wrap. x/pkgsite: allow short one line "code" blocks / declaration to line wrap Dec 28, 2020
@golang golang locked and limited conversation to collaborators Dec 28, 2021
@hyangah hyangah added the pkgsite/dochtml Issues related to package documentation in pkgsite label May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite/dochtml Issues related to package documentation in pkgsite pkgsite
Projects
None yet
Development

No branches or pull requests

5 participants