From 75f303fe9fd24fe77786ce6496742a453cf3b82f Mon Sep 17 00:00:00 2001 From: mehfuz Date: Tue, 17 Nov 2026 13:07:22 -0800 Subject: [PATCH] Docent and Studio as their own pages; GitHub org is smartloop-labs /studio is now the full Docent Studio page (indexable, own canonical) instead of a redirect to /docent#desktop; /docent is Docent Code only. Old /docent#desktop links forward to /studio. Internal links and llms.txt point at the new pages. GitHub links move from smartloop-ai to smartloop-labs. --- .github/workflows/deploy-pages.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 6 ++--- docs/customizing-theme.md | 8 +++--- docusaurus.config.ts | 8 +++--- src/components/Docent/Desktop.tsx | 10 +++---- src/components/Docent/Terminal.tsx | 4 +-- src/components/Header/index.tsx | 4 +-- src/pages/docent.tsx | 42 ++++++++++-------------------- src/pages/index.tsx | 8 +++--- src/pages/pricing.tsx | 2 +- src/pages/studio.tsx | 31 +++++++++++++--------- static/llms.txt | 4 ++- 13 files changed, 63 insertions(+), 68 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 26a274c..6e4c814 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -50,7 +50,7 @@ jobs: # uninstall scripts (legacy slp) live in static/ and ship as they are. - name: Fetch install scripts run: | - base=https://raw.githubusercontent.com/smartloop-ai/docent/main + base=https://raw.githubusercontent.com/smartloop-labs/docent/main for f in install.sh install.ps1; do curl -fsSL "$base/$f" -o "build/$f" done diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 454d938..cb3f777 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -56,4 +56,4 @@ request makes review faster. Open an issue with the page URL, what you expected and what you saw. For a problem with Studio or Docent itself rather than the docs, use the -[Docent repo](https://github.com/smartloop-ai/docent/issues). +[Docent repo](https://github.com/smartloop-labs/docent/issues). diff --git a/README.md b/README.md index ec3a516..befd481 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # smartloop.ai -[![Deploy](https://github.com/smartloop-ai/smartloop.ai/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/smartloop-ai/smartloop.ai/actions/workflows/deploy-pages.yml) +[![Deploy](https://github.com/smartloop-labs/smartloop.ai/actions/workflows/deploy-pages.yml/badge.svg)](https://github.com/smartloop-labs/smartloop.ai/actions/workflows/deploy-pages.yml) [![Built with Docusaurus](https://img.shields.io/badge/built%20with-Docusaurus-3ECC5F?logo=docusaurus&logoColor=white)](https://docusaurus.io/) The website and documentation for [Smartloop Studio](https://smartloop.ai) and -[Docent](https://github.com/smartloop-ai/docent), the command-line tool. It's a +[Docent](https://github.com/smartloop-labs/docent), the command-line tool. It's a static [Docusaurus](https://docusaurus.io/) site served from GitHub Pages at **[smartloop.ai](https://smartloop.ai)**. @@ -16,7 +16,7 @@ link at the bottom. See [CONTRIBUTING.md](CONTRIBUTING.md) for anything bigger. You need Node.js 20 or later. ```sh -git clone https://github.com/smartloop-ai/smartloop.ai.git +git clone https://github.com/smartloop-labs/smartloop.ai.git cd smartloop.ai npm ci npm start diff --git a/docs/customizing-theme.md b/docs/customizing-theme.md index 83cfd7d..97f6f78 100644 --- a/docs/customizing-theme.md +++ b/docs/customizing-theme.md @@ -1,6 +1,6 @@ # Customizing Theme -Smartloop lets you bring your own theme and customize the look and feel of the app. A collection of open source themes is available in the [studio-themes](https://github.com/smartloop-ai/studio-themes) repository. +Smartloop lets you bring your own theme and customize the look and feel of the app. A collection of open source themes is available in the [studio-themes](https://github.com/smartloop-labs/studio-themes) repository. ![themes](theme.png) @@ -17,7 +17,7 @@ Smartloop lets you bring your own theme and customize the look and feel of the a ## Installing a Custom Theme -1. Download the `.yaml` file you want from the [studio-themes](https://github.com/smartloop-ai/studio-themes/blob/main/themes) repository. +1. Download the `.yaml` file you want from the [studio-themes](https://github.com/smartloop-labs/studio-themes/blob/main/themes) repository. 2. Open Docent Studio → **Settings → Theme**. 3. Drop the file onto the **Drop a theme** tile (the dashed `+` tile in the Theme grid). @@ -71,13 +71,13 @@ icons: > **Note:** Imported YAML is treated as untrusted — rail-icon SVGs are sanitized (` @@ -180,7 +180,7 @@ export default function DocentDesktop(): ReactNode { getting started

- Writing code? Docent, the coding agent for your terminal → + Writing code? Docent, the coding agent for your terminal →

diff --git a/src/components/Docent/Terminal.tsx b/src/components/Docent/Terminal.tsx index 8cf3a0d..bcdb3e2 100644 --- a/src/components/Docent/Terminal.tsx +++ b/src/components/Docent/Terminal.tsx @@ -180,7 +180,7 @@ export default function DocentTerminal(): ReactNode { {/* Secondary on purpose: the install line is the call to action. */}

full reference

- Not coding? Docent Studio, your private AI assistant → + Not coding? Docent Studio, your private AI assistant →

diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 7b8abda..0220548 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -148,14 +148,14 @@ export default function Header() {
- + Docent Studio Your private AI assistant: documents, systems, skills - + Docent Code diff --git a/src/pages/docent.tsx b/src/pages/docent.tsx index eda8678..a84fa04 100644 --- a/src/pages/docent.tsx +++ b/src/pages/docent.tsx @@ -1,51 +1,37 @@ -import { useEffect, useState, type ReactNode } from 'react'; -import { useLocation } from '@docusaurus/router'; +import { useEffect, type ReactNode } from 'react'; +import { useHistory, useLocation } from '@docusaurus/router'; import useBrokenLinks from '@docusaurus/useBrokenLinks'; import Header from '../components/Header'; import Footer from '../components/Footer'; import DocentTerminal from '../components/Docent/Terminal'; -import DocentDesktop from '../components/Docent/Desktop'; import styles from './home.module.css'; import local from './docent.module.css'; -// smartloop.ai/docent: Docent is one product used two ways, the way Claude -// comes as an app and as Claude Code. Docent in the terminal is for coding; -// Docent Studio on the desktop is your personal assistant for work. -// The hash picks the way (#coding, #desktop). No hash means coding, which is -// what /docent showed before, so links already posted keep their page. - -type Mode = 'coding' | 'desktop'; - -// The hash values that pick a product. -const MODES: Mode[] = ['desktop', 'coding']; - -const modeOf = (hash: string): Mode => (hash.replace('#', '') === 'desktop' ? 'desktop' : 'coding'); - +// smartloop.ai/docent: Docent Code, the coding agent for your terminal. +// Docent Studio, Docent on the desktop, has its own page at /studio so each +// product is a crawlable URL of its own rather than a hash on this one. +// Old links to /docent#desktop are sent on to /studio; /docent#coding just +// lands here. export default function Docent(): ReactNode { const location = useLocation(); - const [mode, setMode] = useState('coding'); - // The tab anchors are real targets; tell the build's link checker so. + const history = useHistory(); + // Old hash links still point here; tell the build's link checker so. const brokenLinks = useBrokenLinks(); - MODES.forEach((m) => brokenLinks.collectAnchor(m)); + brokenLinks.collectAnchor('coding'); + brokenLinks.collectAnchor('desktop'); - // Follows the hash, including in-site links to /docent#desktop that arrive - // while this page is already open. useEffect(() => { - setMode(modeOf(location.hash)); - }, [location.hash]); + if (location.hash === '#desktop') history.replace('/studio'); + }, [location.hash, history]); return (
- {/* Targets for /docent#coding and /docent#desktop: the hash picks - the product (from the header menu, the home cards and each - hero's cross-link), and these keep the link checker happy. */}
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx index 55b7c45..a80b6c3 100644 --- a/src/pages/pricing.tsx +++ b/src/pages/pricing.tsx @@ -69,7 +69,7 @@ const docentPlans = [ price: 'Free', priceLabel: '', cta: 'Install Docent Code', - ctaHref: '/docent#coding', + ctaHref: '/docent', featured: false, }, { diff --git a/src/pages/studio.tsx b/src/pages/studio.tsx index 4ce2122..8398e4c 100644 --- a/src/pages/studio.tsx +++ b/src/pages/studio.tsx @@ -1,18 +1,25 @@ import { type ReactNode } from 'react'; -import Head from '@docusaurus/Head'; -import { Redirect } from '@docusaurus/router'; +import Header from '../components/Header'; +import Footer from '../components/Footer'; +import DocentDesktop from '../components/Docent/Desktop'; +import styles from './home.module.css'; +import local from './docent.module.css'; -// Docent Studio is Docent on the desktop, so its page is a tab of /docent. -// /studio stays as a redirect so links, ads and posts keep working. +// smartloop.ai/studio: Docent Studio, Docent on the desktop. Its own page +// (not a hash on /docent) so search engines index it as its own product. export default function Studio(): ReactNode { return ( - <> - - - - - - - +
+
+
+
+
+ +
+ +
+
+
); } diff --git a/static/llms.txt b/static/llms.txt index 1ec636b..b5f8d09 100644 --- a/static/llms.txt +++ b/static/llms.txt @@ -7,6 +7,8 @@ Smartloop picks and tunes the open models for your hardware, so there is nothing ## Product - [Home](https://smartloop.ai/): What Smartloop is, who it is for, and how the local-first model works. +- [Docent Studio](https://smartloop.ai/studio/): The private AI assistant for work on your desktop: documents, connected systems, and skills on open models. +- [Docent Code](https://smartloop.ai/docent/): The open-source coding agent for your terminal: writes, builds, and fixes code on open models. - [Download](https://smartloop.ai/download/): Installers for macOS, Windows, and Linux, plus system requirements. - [Pricing](https://smartloop.ai/pricing/): Free to run locally; Pro adds web search credits. Enterprise deployment options. - [Contact](https://smartloop.ai/contact/): On-premise deployment, tuning on your own data, and team rollout. @@ -29,4 +31,4 @@ Smartloop picks and tunes the open models for your hardware, so there is nothing - [Privacy Policy](https://smartloop.ai/privacy/) - [Terms](https://smartloop.ai/terms/) -- [GitHub](https://github.com/smartloop-ai): Smartloop CLI, studio themes, and other open source repositories. +- [GitHub](https://github.com/smartloop-labs): Smartloop CLI, studio themes, and other open source repositories.