main branch>;
}
-// DevSnapshotSection offers the main-branch manifest as an alternative;
-// on the Dev docs the main install already is that manifest, so hide it.
+// DevSnapshotSection shows how to test the main-branch manifest. On
+// the Dev docs, the kubectl install above already does that, so we
+// hide this section there. (The Helm tab there installs the latest
+// release, not a dev build.)
export function DevSnapshotSection(): ReactElement {
const activeVersion = useActiveVersion('default');
+ const {pathname} = useLocation();
if (!activeVersion || activeVersion.name === 'current') {
return (
- The install - command above already applies the latest development +
The kubectl
+ install command above already applies the latest development
snapshot from the main branch.