-
Notifications
You must be signed in to change notification settings - Fork 136
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
Site: display download options for each artifact in tabs #8946
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funny, I tried this change initially, but wasn't happy with my own result. TL;DR the visual experience of the "tabs" was a bit annoying, because it's not immediately clear "that the tabs are actually tabs". Mind playing with the CSS for these and maybe make the inactive tabs appear with a light gray and the active tab with a bit darker gray?
site/docs/downloads/index.md
Outdated
java -jar nessie-quarkus-{{ versions.nessie }}-runner.jar | ||
``` | ||
|
||
=== "Maven Central" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether Maven coordinates for a distributable are helpful. I suspect it would rather confuse people. Better remove those from here and elsewhere.
The Snapshot-Repo information on the in-dev/index.md is fine. Should be made clearer though that this is meant for developing against Nessie - but maybe also include the nessie-bom
as an enforcedPlatform()
for Gradle and <dependencyManagement>
for Maven poms. Might also be helpful to add a similar section to the release downloads.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether Maven coordinates for a distributable are helpful. I suspect it would rather confuse people.
If someone needs to build a custom Nessie server, e.g. to add more extensions, that's exactly the snippet they would need to include, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyways I removed the Maven Central tabs.
I also tried to implement all your suggestions (not sure I got all of them right.)
Yea! That looks much better! You can now see that these are tabs and not just text or heading. |
site/docs/stylesheets/extra.css
Outdated
margin-right: 2px; | ||
} | ||
|
||
.md-typeset .tabbed-set>input:first-child:checked~.tabbed-labels>:first-child, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit disappointing, but there is no CSS class specific to selected tabs, so basically the stylesheet attempts to apply the style to the first 20 tabs of a tabset, but only if they are selected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh - I see, it's because of the two distinct sets of elements.
Mind adding a comment that there are two sets of elements? It took me a while to realize that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by two sets? I count 20 rules. Are you referring to the next-sibling combinator ~
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sets of input
and label
elements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically just one style suggestions, corrections to the group-ID and some enhancement proposals.
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | |
``` | |
Then you can use all Nessie artifacts like this: | |
```xml | |
<dependencies> | |
<dependency> | |
<groupId>org.projectnessie.nessie</groupId> | |
<artifactId>nessie-client</artifactId> | |
</dependency> | |
</dependencies> | |
``` |
site/docs/downloads/index.md
Outdated
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.projectnessie</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<groupId>org.projectnessie</groupId> | |
<groupId>org.projectnessie.nessie</groupId> |
site/docs/downloads/index.md
Outdated
In your Gradle project's `build.gradle.kts` add the Nessie BOM as an enforced platform: | ||
```kotlin | ||
dependencies { | ||
enforcedPlatform("org.projectnessie:nessie-bom:{{ versions.nessie }}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enforcedPlatform("org.projectnessie:nessie-bom:{{ versions.nessie }}") | |
enforcedPlatform("org.projectnessie.nessie:nessie-bom:{{ versions.nessie }}") |
dependencies { | ||
enforcedPlatform("org.projectnessie:nessie-bom:{{ versions.nessie }}") | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | |
``` | |
A full example using the `nessie-client` artifact: | |
```kotlin | |
dependencies { | |
enforcedPlatform("org.projectnessie.nessie:nessie-bom:{{ versions.nessie }}") | |
implementation("org.projectnessie.nessie:nessie-client") | |
} | |
``` |
dependencies { | ||
enforcedPlatform("org.projectnessie:nessie-bom:::NESSIE_VERSION::") | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | |
``` | |
A full example using the `nessie-client` artifact: | |
```kotlin | |
dependencies { | |
enforcedPlatform("org.projectnessie.nessie:nessie-bom:::NESSIE_VERSION::") | |
implementation("org.projectnessie.nessie:nessie-client") | |
} | |
``` |
site/in-dev/index-release.md
Outdated
In your Gradle project's `build.gradle.kts` add the Nessie BOM as an enforced platform: | ||
```kotlin | ||
dependencies { | ||
enforcedPlatform("org.projectnessie:nessie-bom:::NESSIE_VERSION::") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enforcedPlatform("org.projectnessie:nessie-bom:::NESSIE_VERSION::") | |
enforcedPlatform("org.projectnessie.nessie:nessie-bom:::NESSIE_VERSION::") |
site/in-dev/index.md
Outdated
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.projectnessie</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<groupId>org.projectnessie</groupId> | |
<groupId>org.projectnessie.nessie</groupId> |
site/in-dev/index.md
Outdated
In your Gradle project's `build.gradle.kts` add the Nessie BOM as an enforced platform: | ||
```kotlin | ||
dependencies { | ||
enforcedPlatform("org.projectnessie:nessie-bom:::NESSIE_VERSION::") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enforcedPlatform("org.projectnessie:nessie-bom:::NESSIE_VERSION::") | |
enforcedPlatform("org.projectnessie.nessie:nessie-bom:::NESSIE_VERSION::") |
@@ -21,3 +21,31 @@ img.bordered { | |||
.md-typeset td code { | |||
word-break: revert; | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding this as well?
.md-typeset .tabbed-set>.tabbed-content { | |
padding: 0 .5em 0 .5em; | |
border: 1px solid #ababab; | |
border-bottom-left-radius: .3em; | |
border-bottom-right-radius: .3em; | |
} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite frankly I don't like it :-D but I added it nonetheless.
site/docs/stylesheets/extra.css
Outdated
margin-right: 2px; | ||
} | ||
|
||
.md-typeset .tabbed-set>input:first-child:checked~.tabbed-labels>:first-child, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh - I see, it's because of the two distinct sets of elements.
Mind adding a comment that there are two sets of elements? It took me a while to realize that.
... also include more download options from Maven Central.
@@ -59,20 +62,23 @@ Docker images are multiplatform images for amd64, arm64, ppc64le, s390x. | |||
[Nessie GC](/nessie-nightly/gc/) allows mark and sweep data files based on flexible | |||
expiration policies. | |||
|
|||
### Docker image | |||
=== "Docker Image" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the CLI above needs this change as well
... also include more download options from Maven Central.