spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

The 3.0 spec really want you have the Core tree expanded

Open licquia opened this issue 1 year ago • 3 comments

From the 2024-05-07 tech call (ref @kestewart ):

When the 3.0 spec is opened, it centers the sidebar on the Core portion of the model, and expands the tree. You can collapse the tree, but under a number of circumstances, something feels it's important to re-expand the Core tree.

This makes the sidebar more difficult to use, as the Core tree is large, and it tends to make the actual current context scroll off the bottom.

licquia avatar May 07 '24 16:05 licquia

It could be something to do with the focus or "highlighted" position as well.

See some investigations here https://github.com/spdx/spdx-spec/issues/939#issuecomment-2081586866

bact avatar May 07 '24 16:05 bact

We may need to set collapse_navigation: true in mkdocs.yml. But from the documentation, this value is already true by default.

bact avatar May 08 '24 16:05 bact

A "work around" for now, until we can fix the expansion issue, is maybe move the Annex section up before the Model. So at least people can still notice the existence of the Annex.

bact avatar Jun 04 '24 13:06 bact

May related to this https://github.com/mkdocs/mkdocs/issues/3292

Fix purposed here https://github.com/mkdocs/mkdocs/pull/3464

bact avatar Jul 07 '24 19:07 bact

Looks like fixed in mkdocs 1.6.0

bact avatar Jul 10 '24 10:07 bact

@licquia PR #995 (merged) should fixed this. Please see https://spdx.github.io/spdx-spec/v3.0.1-draft/

bact avatar Jul 30 '24 09:07 bact

This one can be closed.

bact avatar Aug 09 '24 11:08 bact

Resolved - closing

goneall avatar Aug 27 '24 17:08 goneall