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

Implement Algolia DocSearch #1055

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
1154fc6
checkin
johndmulhausen Jan 31, 2025
631bf39
Re-import styles
johndmulhausen Jan 31, 2025
12e2511
Update hugo.yaml
johndmulhausen Jan 31, 2025
b941911
Add DocSearch-specific meta tag
johndmulhausen Feb 1, 2025
c1615e9
Inject title into meta
johndmulhausen Feb 5, 2025
968b82c
Force lvl0
johndmulhausen Feb 5, 2025
b047bff
Rearrange lvl0 injection location
johndmulhausen Feb 5, 2025
7c2fca0
Move lvl0 to inner
johndmulhausen Feb 5, 2025
7ccf7b9
checkin
johndmulhausen Feb 19, 2025
a79b8bb
Update ref-arch.md (#1022)
mkaesz-wandb Jan 30, 2025
a236822
Update some details in the airgapped Operator install (#1032)
venky-wandb Jan 31, 2025
f645426
Reference sensitive data from secrets and config maps (#1024)
mkaesz-wandb Jan 31, 2025
dc1967d
Update operator-airgapped.md (#1028)
venky-wandb Jan 31, 2025
e9a841b
Update the install via Helm CLI section to include an example values.…
venky-wandb Jan 31, 2025
f52f48b
Add info on WANDB_SWEEP_ID (#1052)
J2-D2-3PO Jan 31, 2025
4835291
Try to fix Lychee github action error (#1034)
mdlinville Jan 31, 2025
dbe409b
Add details of bucket-vs-database-stored data (#1051)
johndmulhausen Feb 1, 2025
0e3a6fb
DOCS-641: wandb.Audio docstrings and/or show example in docs (#1050)
J2-D2-3PO Feb 1, 2025
4d72adf
Simplify pull_request_template.md (#1049)
mdlinville Feb 1, 2025
9ddadb3
Update and rename .github/workflows/dependabot.yml to .github/dependa…
johndmulhausen Feb 1, 2025
40c8a89
Bump actions/checkout from 2 to 4 (#1058)
dependabot[bot] Feb 1, 2025
c7cb3d9
Bump actions/setup-python from 4 to 5 (#1059)
dependabot[bot] Feb 1, 2025
cb449b8
[DOCS-466] Standardize docs about creating API keys and signing in (#…
mdlinville Feb 3, 2025
1b8615e
Update linkcheck.yml (#1063)
mdlinville Feb 4, 2025
0ff7d34
Update cron entry in linkchecker action to test it out (#1064)
mdlinville Feb 4, 2025
166ba04
Update Lychee args (#1066)
mdlinville Feb 4, 2025
e84e41b
Update the link check time again (#1067)
mdlinville Feb 4, 2025
446e112
Fix the cron syntax (#1068)
mdlinville Feb 4, 2025
839d87d
Fix wandb101 link (#1071)
mdlinville Feb 4, 2025
602cd3b
Update linkcheck.yml cron again (#1072)
mdlinville Feb 4, 2025
5944adc
Put lychee args back on a single line (#1073)
mdlinville Feb 4, 2025
fdde2ba
Remove stray newline (#1074)
mdlinville Feb 4, 2025
7250584
Put back inputs to Lychee command (#1076)
mdlinville Feb 4, 2025
0010b6e
Reports: Add section on freezing a run state (#1062)
ngrayluna Feb 5, 2025
2e1d993
[DOCS-1241] Fix typo in OIDC_CLIENT_SECRET env variable (#1078)
mdlinville Feb 5, 2025
236eee9
[DOCS-1214] Document 'ignore outliers' behavior for full fidelity plo…
mdlinville Feb 5, 2025
e6ca537
[DOCS-1158] Add details about customizing the view of the Runs and Wo…
mdlinville Feb 5, 2025
4671bc7
[DOCS-633] Document Billing Settings page (#1056)
mdlinville Feb 6, 2025
6a6fa46
fix: description for .init() dir argument (#1008)
ijdoc Feb 6, 2025
090ae83
Remove detritus from code block (#1085)
johndmulhausen Feb 6, 2025
4eb9230
Prism "copy" button fix (#1069)
johndmulhausen Feb 6, 2025
d4bf4e1
Fix a typo (#1082)
travis-the-dragon Feb 6, 2025
06ac219
Update schedule for link checker action (#1086)
mdlinville Feb 6, 2025
b658344
Fix broken links (#1088)
mdlinville Feb 7, 2025
165ec8f
Experiments: Reproduce experiments (#1057)
ngrayluna Feb 11, 2025
11af87b
Registry team access bulk (#1047)
ngrayluna Feb 11, 2025
0a7ee91
Revert "Registry team access bulk" (#1093)
ngrayluna Feb 11, 2025
0b288dc
Duplicate: Updated registry team access bulk (#1094)
ngrayluna Feb 11, 2025
de3ce32
Fix audit log example API endpoint url (#1089)
azureology Feb 12, 2025
647cd43
Registry cards (#999)
ngrayluna Feb 13, 2025
41a3575
Fix the table format in watch.md (#1090)
A-mess Feb 13, 2025
cd1d744
Add basic authn to audit log API (#1096)
jennwandb Feb 13, 2025
333423d
Added 15 new Q&A pairs to the Support knowledgebase section (#1081)
luisbergua Feb 18, 2025
8a20e74
Add SDK system metrics questions to Support section (#1102)
luisbergua Feb 19, 2025
945ed83
New ref arch image (#1103)
mkaesz-wandb Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ updates:
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
interval: "daily"
8 changes: 1 addition & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{Short description}

{More details, or remove this line}
{Description of the change}

-- Remove this line and following from the merge commit message --

{JIRA / GitHub issue, or remove this line}
{Upstream code PR, or remove this line}

Confirm that tests pass and this change is ready for review:
- [ ] Local `hugo serve`
- [ ] Local `vale ./content`
4 changes: 2 additions & 2 deletions .github/workflows/check_header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand Down
39 changes: 18 additions & 21 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
name: Lychee check
on:
pull_request:
paths:
- '**.md'
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "5 0 1 * *" # In UTC, currently 12:05 AM on the 1st of each month

jobs:
lychee:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write # required for peter-evans/create-issue-from-file
steps:
# check URLs with Lychee
- uses: actions/checkout@v4

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: "**.md"

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: >
--scheme https --scheme http --verbose --no-cache
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
--max-concurrency 5 --retry-count 3 --retry-delay 2
${{ steps.changed-files.outputs.all_changed_files }}
args: "--base content --accept 200,429,403 --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' --scheme https --scheme http --max-concurrency 5 --max-retries 1 --retry-wait-time 2 --verbose --no-progress './**/*.md' './**/*.html'"
fail: false
env:
# to be used in case rate limits are surpassed
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create PR comment with link reults
uses: marocchino/sticky-pull-request-comment@v2
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
header: lychee
recreate: true
path: ./lychee/out.md
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
Binary file modified assets/images/hosting/reference_architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/registry/add_team_registry.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/registry/registry_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/registry/role_conflict.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/reports/freeze_runset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
174 changes: 174 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,14 @@ $breakpoint-xl: 1200px; // Large desktop
}
}
}
.main-nav-search {
min-width: 300px !important;

.DocSearch.DocSearch-Button {
margin: 0 !important;
min-width: 100% !important;
}
}
}
}

Expand Down Expand Up @@ -1371,4 +1379,170 @@ body > div.container-fluid.td-default.td-outer > main > section > div > h2 {
}
.gcsc-find-more-on-google {
display: none !important;
}

// DocSearch Component
.DocSearch {
// Button styles
&-Button {
font-family: "Source Sans Pro", sans-serif;
font-size: 16px;
background: transparent !important;
border: 1px solid $border-default !important;

&:active,
&:focus,
&:hover {
background: var(--docsearch-searchbox-focus-background);
box-shadow: inset 0 0 0 2px $teal-500 !important;
color: var(--docsearch-text-color);
outline: none;
border-color: $teal-500 !important;
}

// Dark mode styles
[data-bs-theme=dark] & {
border: 1px solid $dark-border-default !important;

&:hover, &:focus, &:active {
border-color: $teal-500 !important;
box-shadow: inset 0 0 0 2px $teal-450 !important;
}
}
}

// Placeholder text color
&-Button-Placeholder {
color: $text-secondary !important;

[data-bs-theme=dark] & {
color: $dark-text-secondary !important;
}
}

// Search icon color
&-Search-Icon {
color: $text-secondary !important;

[data-bs-theme=dark] & {
color: $dark-text-secondary !important;
}
}

// Modal styles
&-Modal {
border-radius: $border-radius-large !important;
}

// Hide footer
&-Footer {
display: none !important;
}
}

// DocSearch Container with CSS Variables
.DocSearch-Container {
font-family: "Source Sans Pro", sans-serif;
font-size: 16px;

// Light mode variables
--docsearch-primary-color: #{$teal-500} !important;
--docsearch-highlight-color: #{$teal-500} !important;
--docsearch-text-color: #{$moon-800} !important;
--docsearch-muted-color: #{$moon-500} !important;
--docsearch-container-background: rgba(101, 108, 133, 0.8) !important;
--docsearch-modal-background: #{$moon-white} !important;
--docsearch-searchbox-background: #{$moon-100} !important;
--docsearch-searchbox-focus-background: #{$moon-white} !important;
--docsearch-hit-color: #{$moon-800} !important;
--docsearch-hit-background: #{$moon-white} !important;
--docsearch-hit-active-background: #{$teal-500} !important;
--docsearch-footer-background: #{$moon-white} !important;
--docsearch-logo-color: #{$teal-500} !important;
--docsearch-key-gradient: linear-gradient(-26.5deg, #{$moon-200}, #{$moon-100}) !important;
--docsearch-key-shadow: inset 0 -2px 0 0 #{$moon-300} !important;
--docsearch-searchbox-shadow: inset 0 0 0 2px #{$teal-500} !important;

.DocSearch-Modal {
border-radius: 0 !important;
max-width: 800px !important;
}

// Search form styles
.DocSearch-Form {
border-radius: 30px !important;
}

// Search results styles
.DocSearch-Hit {
border-radius: $border-radius-medium;

> a {
box-shadow: none !important;
border-radius: $border-radius-medium;
border: 1px solid $border-default !important;

}
}

// Dark mode styles
[data-bs-theme=dark] & {
--docsearch-primary-color: #{$teal-400} !important;
--docsearch-highlight-color: #{$teal-400} !important;
--docsearch-text-color: #{$moon-200} !important;
--docsearch-muted-color: #{$moon-400} !important;
--docsearch-container-background: rgba(21, 23, 31, 0.8) !important;
--docsearch-modal-background: #{$moon-800} !important;
--docsearch-searchbox-background: #{$moon-900} !important;
--docsearch-searchbox-focus-background: #{$moon-900} !important;
--docsearch-hit-color: #{$moon-200} !important;
--docsearch-hit-background: #{$moon-800} !important;
--docsearch-hit-active-background: #{$teal-400} !important;
--docsearch-footer-background: #{$moon-800} !important;
--docsearch-logo-color: #{$teal-400} !important;
--docsearch-key-gradient: linear-gradient(-26.5deg, #{$moon-800}, #{$moon-750}) !important;
--docsearch-key-shadow: inset 0 -2px 0 0 #{$moon-700} !important;
--docsearch-searchbox-shadow: inset 0 0 0 2px #{$teal-400} !important;
}

.DocSearch-Hit-source {
color: $text-secondary !important;
font-size: 14px !important;
}

.DocSearch-Hit-title {
font-size: 1rem !important;
}

// Dark mode styles
[data-bs-theme=dark] & {

.DocSearch-Modal {
box-shadow: inset 1px 1px 0 0 hsla(0, 0%, 18%, 0.5), 0 3px 8px 0 $moon-900;
}

.DocSearch-Hit {
> a {
border: 1px solid $dark-border-default !important;
}
}

.DocSearch-Hit-source {
color: $dark-text-secondary !important;
font-size: 14px !important;
}

.DocSearch-Hit-title {
font-size: 1rem !important;
}
}
}

@media (min-width: $breakpoint-lg) {
.DocSearch {

.DocSearch-Modal {
border-radius: $border-radius-large !important;
}
}
}
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Use [W&B Models]({{< relref "/guides/" >}}) to manage all aspects of building yo
- [Introduction]({{< relref "/guides/" >}})
- [Quickstart]({{< relref "/guides/quickstart/" >}})
- [YouTube Tutorial](https://www.youtube.com/watch?v=tHAFujRhZLA)
- [Online Course](https://www.wandb.courses/courses/wandb-101)
- [Online Course](https://wandb.ai/site/courses/101/)

</div>{{% /card %}}
{{< /cardpane >}}
Expand Down
9 changes: 9 additions & 0 deletions content/guides/core/reports/edit-a-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ report.save()
{{% /tab %}}
{{< /tabpane >}}


## Freeze a run set

A report automatically updates run sets to show the latest data from the project. You can preserve the run set in a report by *freezing* that run set. When you freeze a run set, you preserve the state of the run set in a report at a point in time.

To freeze a run set when viewing a report, click the snowflake icon in its panel grid near the **Filter** button.

{{< img src="/images/reports/freeze_runset.png" alt="" >}}

## Add code blocks

Add code blocks to your report interactively with the App UI or with the W&B SDK.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ Bring your own bucket (BYOB) allows you to store W&B artifacts and other related
* You can specify a sub-path when configuring a bucket, to ensure that W&B does not store any files in a folder at the root of the bucket. It can help you better conform to your organzation's bucket governance policy.
{{% /alert %}}

## Data stored in the central database vs buckets

When using BYOB functionality, certain types of data will be stored in the W&B central database, and other types will be stored in your bucket.

### Database

- Metadata for users, teams, artifacts, experiments, and projects
- Reports
- Experiment logs
- System metrics

## Buckets

- Experiment files and metrics
- Artifact files
- Media files
- Run files

## Configuration options
There are two scopes you can configure your storage bucket to: at the *Instance level* or at a *Team level*.

Expand Down
Loading
Loading