A Docusaurus rebuild of the SDSC Expanse User Guide,
with all original content preserved and reorganized into a searchable docs site styled with
SDSC branding (navy #182B49, gold #C69214, Teko + Source Sans 3).
Live site: https://expanse-docs.sdsc.edu/
The site will move to its own address, expanse-docs.sdsc.edu, once the
DNS change lands; the github.io address will keep redirecting.
The site ships with full-text search in the navbar (@easyops-cn/docusaurus-search-local): a fully offline search index built at deploy time, no external service (no Algolia account or crawler needed). The index covers all 14 guide pages.
All 14 sections of the original guide, organized by topic:
| Area | Pages |
|---|---|
| Overview | Technical Summary |
| Getting Started | System Access, Account Management |
| Software Environment | Modules, Compiling Codes |
| Running Jobs | Job Charging, Running Jobs, Using GPU Nodes |
| Data & Storage | Data Movement, Storage |
| Advanced Resources | Expanse AI Resource, Composable Systems, Software |
| Reference | Citations & Publications |
| Path | What it is |
|---|---|
docs/ |
The guide content, one Markdown file per page |
src/theme/SearchPage/ |
Ejected search-page component (see Maintenance) |
.github/workflows/ |
CI: build, broken-links, Lighthouse, deploy, PR previews |
docusaurus.config.js |
Site configuration: branding, search, last-updated stamps |
lighthouserc.json |
Lighthouse CI assertions (accessibility held at 100) |
URL_MIGRATION.md |
Mapping from the old guide's anchors to the new pages |
old-page-redirect.html |
Redirect script for the old guide page |
Every page has an Edit this page on GitHub button that opens the source file
for editing. Content fixes are welcome; the source lives in docs/.
Pull requests need one approving review from a repository admin (see CODEOWNERS) and must pass the three required checks: build, broken-links and Lighthouse, with accessibility asserted at 100.
npm install
npm run start # dev server at http://localhost:3000
npm run build # production build in build/
npm run serve # serve the production build locallyPushing to main triggers the deploy workflow
which builds the site and publishes it to the gh-pages branch (served by
GitHub Pages). A separate Lighthouse workflow
audits every page for accessibility (all pages currently score 100).
External links are guarded by the broken-links workflow (lychee): it runs on changes to the docs, weekly on a Monday-morning schedule, and on demand.
Every pull request automatically gets a temporary preview at
https://expanse-docs.sdsc.edu/pr-preview/pr-<number>/, posted
as a comment on the PR. The preview updates on each push and is removed when
the PR is closed or merged (preview workflow).
Preview removal does not wait for the GitHub Pages build (it would race with
the main-branch deploy triggered by the same merge).
src/theme/SearchPage/is an ejected copy of the search plugin's page component: the plugin's version has no<main>landmark, which fails the accessibility gate. It is a frozen fork, so when@easyops-cn/docusaurus-search-localis upgraded, re-run the swizzle (npm run swizzle @easyops-cn/docusaurus-search-local SearchPage -- --eject --danger) and re-apply the landmark and the import rewrites; the file header documents the details.- The
overridesblock inpackage.jsonpinsserialize-javascript,tinypool,qsand (scoped undersockjs)uuid: those advisories had no in-range fix at the pinned Docusaurus version, so the overrides clear them directly. Remove an override only once the upstream dependency range covers the fixed version. - Dependencies are updated weekly by Dependabot (npm and actions). GitHub Actions are pinned to commit SHAs with the version tag in a trailing comment, which Dependabot maintains.
The original guide is a single page, https://www.sdsc.edu/systems/expanse/user_guide.html, addressed by 14 anchors. URL_MIGRATION.md maps every old URL to its new page (the mapping was verified in both directions), and old-page-redirect.html is the ready-to-paste script that reads the anchor on the old page and forwards to the matching new page; unknown or empty anchors fall back to the site root. The script is deployed on the old page once the custom domain is serving.
Please report security issues privately; see SECURITY.md.
The documentation content in this repository is licensed under the Creative Commons Attribution 4.0 International license; see LICENSE for the full text.