Skip to content

Rename the repository to website, and site/ to docs/ #22

Backlog

Description

@pimlock

Problem

This repository builds the whole OpenShell website, not only the docs: the landing page and the other pages in website/ (renamed from www/ in #18), the shared site bar and search, and the docs at /docs/. The name ai-openshell/docs suggests it holds docs content, which lives in the source repositories instead.

Inside the repository, site/ (the Starlight project that builds the docs) and website/ (the website's own pages) read like two names for the same thing.

Proposal

  1. Rename the repository from ai-openshell/docs to ai-openshell/website. GitHub redirects the old URLs and git remotes.
  2. Rename site/ to docs/, since it is the docs build. Once the repository is called website, docs/ no longer collides with the repository name.

What changes

Repository rename:

  • sources.yml: site.repo.
  • The Site workflow derives BASE_PATH from the repository name, so the GitHub Pages copy moves from /docs/ to /website/. Pin BASE_PATH to /docs/ there instead, so the docs keep the same paths everywhere.
  • Netlify's link to the repository, and any source repository that triggers this repository with repository_dispatch.
  • References in other repositories and issues, such as the PR preview workflow in Docs previews for source repository pull requests #2.

Folder rename:

  • package.json scripts (--root site, site/dist, site/scripts/sync.mjs), mise.toml tasks, the Site and SPDX workflows, .gitignore, scripts/website.mjs, and AGENTS.md, README, and CONTRIBUTING.

Open questions

  • Whether docs/ inside this repository is confusing next to source repositories whose docs folder is also docs/. An alternative is docs-site/.
  • When to rename: before the first public release, so the public links start with the final name.

Activity

  1. added
    enhancement
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions