Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)**.

Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/customizing-theme.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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).

Expand Down Expand Up @@ -71,13 +71,13 @@ icons:

> **Note:** Imported YAML is treated as untrusted — rail-icon SVGs are sanitized (`<script>`, `on*=` handlers, and `javascript:` URLs are stripped), and font URLs must use `https`.

Fork the [studio-themes](https://github.com/smartloop-ai/studio-themes) repository to peek into how each theme is built, and use it as a starting point for your own.
Fork the [studio-themes](https://github.com/smartloop-labs/studio-themes) repository to peek into how each theme is built, and use it as a starting point for your own.

## Contributing a Theme

Built something you're proud of? We'd love to include it! Just:

1. Fork the [studio-themes](https://github.com/smartloop-ai/studio-themes) repository.
1. Fork the [studio-themes](https://github.com/smartloop-labs/studio-themes) repository.
2. Add your theme as `themes/<name>.yaml`.
3. Add a row to the themes table in the README.
4. Open a pull request — we'll happily review and merge it.
Expand Down
8 changes: 4 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function fetchLatestRelease(channel = 'stable') {
async function fetchDocentVersion() {
try {
const response = await fetch(
'https://api.github.com/repos/smartloop-ai/docent/releases/latest',
'https://api.github.com/repos/smartloop-labs/docent/releases/latest',
{ headers: { Accept: 'application/vnd.github+json' } },
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
Expand Down Expand Up @@ -76,7 +76,7 @@ const config = async (): Promise<Config> => {
baseUrl: '/',
trailingSlash: true,

organizationName: 'smartloop-ai',
organizationName: 'smartloop-labs',
projectName: 'smartloop.ai',

onBrokenLinks: 'throw',
Expand Down Expand Up @@ -131,7 +131,7 @@ const config = async (): Promise<Config> => {
docs: {
sidebarPath: './sidebars.ts',
// "Edit this page" on every doc, straight into a GitHub edit/PR.
editUrl: 'https://github.com/smartloop-ai/smartloop.ai/edit/main/',
editUrl: 'https://github.com/smartloop-labs/smartloop.ai/edit/main/',
rehypePlugins: [rehypeKatex],
},
theme: {
Expand Down Expand Up @@ -222,7 +222,7 @@ const config = async (): Promise<Config> => {
},
items: [
{
href: 'https://github.com/smartloop-ai',
href: 'https://github.com/smartloop-labs',
className: 'navbar-item-github invert',
'aria-label': 'GitHub repository',
position: 'right',
Expand Down
10 changes: 5 additions & 5 deletions src/components/Docent/Desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { Check } from './Terminal';
import styles from '../../pages/home.module.css';
import local from '../../pages/docent.module.css';

// The Desktop tab of /docent: Docent Studio, Docent on the desktop. Built on
// the same sections as the Coding tab (hero, demo, what it does, how it works,
// smartloop.ai/studio: Docent Studio, Docent on the desktop. Built on
// the same sections as /docent (hero, demo, what it does, how it works,
// models, more, FAQ) so the two read as one product.

const DESCRIPTION =
Expand Down Expand Up @@ -127,7 +127,7 @@ export default function DocentDesktop(): ReactNode {
applicationCategory: 'BusinessApplication',
operatingSystem: 'macOS, Linux, Windows',
description: DESCRIPTION,
url: 'https://smartloop.ai/docent#desktop',
url: 'https://smartloop.ai/studio',
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
author: { '@type': 'Organization', name: 'Smartloop Inc.', url: 'https://smartloop.ai' },
};
Expand All @@ -149,7 +149,7 @@ export default function DocentDesktop(): ReactNode {
<meta name="description" content={DESCRIPTION} />
<meta property="og:title" content="Docent Studio | Your personal assistant for work" />
<meta property="og:description" content={DESCRIPTION} />
<link rel="canonical" href="https://smartloop.ai/docent" />
<link rel="canonical" href="https://smartloop.ai/studio" />
<script type="application/ld+json">{JSON.stringify(jsonLd)}</script>
<script type="application/ld+json">{JSON.stringify(faqJsonLd)}</script>
</Head>
Expand Down Expand Up @@ -180,7 +180,7 @@ export default function DocentDesktop(): ReactNode {
<Link to="/docs/getting-started" className={styles.textLink}>getting started</Link>
</p>
<p className={local.crossLink}>
Writing code? <Link to="/docent#coding" className={styles.textLink}>Docent, the coding agent for your terminal →</Link>
Writing code? <Link to="/docent" className={styles.textLink}>Docent, the coding agent for your terminal →</Link>
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Docent/Terminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default function DocentTerminal(): ReactNode {
{/* Secondary on purpose: the install line is the call to action. */}
<p className={styles.ctaAlt} style={{ display: 'inline-flex', alignItems: 'center', gap: 10 }}>
<Link
to="https://github.com/smartloop-ai/docent"
to="https://github.com/smartloop-labs/docent"
className={styles.textLink}
aria-label="docent on GitHub"
title="docent on GitHub"
Expand All @@ -192,7 +192,7 @@ export default function DocentTerminal(): ReactNode {
<Link to="/docs/command-line-tool" className={styles.textLink}>full reference</Link>
</p>
<p className={local.crossLink}>
Not coding? <Link to="/docent#desktop" className={styles.textLink}>Docent Studio, your private AI assistant →</Link>
Not coding? <Link to="/studio" className={styles.textLink}>Docent Studio, your private AI assistant →</Link>
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ export default function Header() {
</Link>
<div className="sl-submenu">
<div className="sl-submenu__panel">
<Link to="/docent#desktop" className="sl-menu__link sl-submenu__link" onClick={closeMenu}>
<Link to="/studio" className="sl-menu__link sl-submenu__link" onClick={closeMenu}>
<ProductMark product="studio" />
<span className="sl-submenu__text">
<span className="sl-submenu__name">Docent Studio</span>
<span className="sl-submenu__desc">Your private AI assistant: documents, systems, skills</span>
</span>
</Link>
<Link to="/docent#coding" className="sl-menu__link sl-submenu__link" onClick={closeMenu}>
<Link to="/docent" className="sl-menu__link sl-submenu__link" onClick={closeMenu}>
<ProductMark product="docent" />
<span className="sl-submenu__text">
<span className="sl-submenu__name">Docent Code</span>
Expand Down
42 changes: 14 additions & 28 deletions src/pages/docent.tsx
Original file line number Diff line number Diff line change
@@ -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<Mode>('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 (
<div id="app" className="body">
<div className="wrapper">
<Header />
<main className={styles.page}>
{/* 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. */}
<span id="coding" aria-hidden="true" />
<span id="desktop" aria-hidden="true" />
<div className={local.modeBody}>
{mode === 'coding' ? <DocentTerminal /> : <DocentDesktop />}
<DocentTerminal />
</div>

<Footer />
Expand Down
8 changes: 4 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import p from './products.module.css';
// smartloop.ai is the company, the way 37signals sits over Basecamp and HEY:
// the story, then what it makes. Docent is one product used two ways, like
// Claude and Claude Code: Docent Studio on the desktop, Docent in the terminal
// for coding. Both live on /docent (#desktop, #coding); gpushed has its own site.
// for coding. They live on /studio and /docent; gpushed has its own site.

type Card = { label: string; name: string; desc: string; facts: string; to: string; external?: boolean; logo: string; points: string[] };

Expand All @@ -27,7 +27,7 @@ const GROUPS: Group[] = [
name: 'Docent Studio',
desc: 'Your assistant for work: it writes documents, connects to the systems you use and turns the work you repeat into skills.',
facts: 'macOS · Linux · Windows · free',
to: '/docent#desktop',
to: '/studio',
logo: 'studio',
points: ['Your files indexed on your machine', 'Every answer cites its source', 'Models fitted to your hardware'],
},
Expand All @@ -36,7 +36,7 @@ const GROUPS: Group[] = [
name: 'Docent Code',
desc: 'Ask for a change and Docent Code writes it, checks it with your language servers and your build, and fixes what fails.',
facts: 'macOS · Linux · Windows · MIT',
to: '/docent#coding',
to: '/docent',
logo: 'docent',
points: ['Rust, Go, TypeScript, Python, C and C++', 'Runs commands once you approve them', 'MCP servers and web search'],
},
Expand Down Expand Up @@ -235,7 +235,7 @@ export default function Home(): ReactNode {
<p className={styles.sub}>Use Docent where you work: on your desktop with Docent Studio, or in your terminal for coding.</p>
<div className={styles.closingCta}>
<Link to="/docent" className={styles.btnPrimary}>get docent</Link>
<Link to="/docent#desktop" className={styles.btnGhost}>docent studio</Link>
<Link to="/studio" className={styles.btnGhost}>docent studio</Link>
</div>
</div>
<div className={styles.partners}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const docentPlans = [
price: 'Free',
priceLabel: '',
cta: 'Install Docent Code',
ctaHref: '/docent#coding',
ctaHref: '/docent',
featured: false,
},
{
Expand Down
31 changes: 19 additions & 12 deletions src/pages/studio.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<>
<Head>
<meta name="robots" content="noindex" />
<link rel="canonical" href="https://smartloop.ai/docent" />
<meta httpEquiv="refresh" content="0; url=/docent#desktop" />
</Head>
<Redirect to="/docent#desktop" />
</>
<div id="app" className="body">
<div className="wrapper">
<Header />
<main className={styles.page}>
<div className={local.modeBody}>
<DocentDesktop />
</div>

<Footer />
</main>
</div>
</div>
);
}
4 changes: 3 additions & 1 deletion static/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Loading