Edit This Site¶
Use this page when you want to fix text, add a page, give someone access, or check why a change has not appeared online.
You do not need to use the command line for normal edits. GitHub’s web editor is enough.
First: Which Site Are You Editing?¶
| What you want to change | Where to edit | When it appears online |
|---|---|---|
| A docs page like this one | GitHub file under docs-book/ | After the docs deploy finishes |
| A new docs page | GitHub file under docs-book/, plus docs-book/myst.yml | After the docs deploy finishes |
| Lab roster, team data, or some public website text | Google Sheets or Google Drive | Usually within 5-15 minutes |
| Website layout, code, login, or deploy settings | GitHub code files | After the website deploy finishes |
| Give a new member docs access | Add their Google email to the roster/whitelist source | Usually within a few minutes |
| Give someone GitHub editing access | Add them to the GitHub repo or team | They can edit once GitHub access works |
| Check billing, domains, or deploy ownership | Website Admin Guide | Admin reference |
Main links:
Website: https://
reflexionlab .io
Older CNC domains should redirect to these links. Do not treat old domains as separate sites to edit.
What Is Public?¶
Only a small part of the docs is public:
The docs home page.
This edit guide.
Any page covered by a share link, share code, or project password.
Most docs pages require signing in with a lab-approved Google account. Admin pages require an admin-approved Google account.
Quick Admin Answers¶
New lab member access:
Open the
LabCatalogGoogle Sheet.Add the person to the
Peopletab with their Google email inEmail.Set
LabtoReflexion LaborCognitive & Neural Computation Lab.Ask them to sign in at
https://docs.reflexionlab.io.
Access-only email:
Open the same
LabCatalogGoogle Sheet.Add the Google email to the
AuthWhitelisttab, column A.Ask them to sign in at
https://docs.reflexionlab.io.
Notes:
The
Peopletab is what we mean by the lab roster.The
AuthWhitelisttab is for someone who needs docs access but should not appear as a roster/team member.The current access check does not filter by
End_Date; remove or block old emails when people should lose access.For urgent code-level access, add the email to
ALWAYS_ALLOWED_EMAILSinserver/services/authWhitelistService.js, commit, and deploy.
Admin access:
Add the person to full docs access first.
Add their email to the admin allowlist.
Admin pages live under
Admin/and require both normal docs sign-in and admin approval.
GitHub editing access:
Add them to the
CNClaboratory/cnclab_websiteGitHub repo or team.They do not need a paid Vercel seat for normal docs edits.
Their changes publish after they land on
masterandVercel Path Deploysucceeds.
If a GitHub edit does not go live, check Vercel Path Deploy for that commit. If GitHub says the job could not start because of payments, spending limits, or Actions minutes, the edit was saved but the site did not rebuild.
Edit an Existing Docs Page¶
Open the page on
docs.reflexionlab.io.Click the GitHub icon or pencil icon near the top of the page.
Edit the text in GitHub.
Choose Commit changes.
Wait for the
Vercel Path Deployworkflow to finish.Refresh the docs page.
GitHub saves your edit immediately. The public docs site changes only after the deploy finishes.
Add a New Docs Page¶
Create a Markdown file in the right folder under
docs-book/.Add the page to
docs-book/myst.ymlso it appears in the sidebar.Commit both files.
Wait for the docs deploy.
Common folders:
| Folder | Use it for |
|---|---|
Getting-Started/ | Onboarding, accounts, training |
Research/ | Protocols, experiments, data |
Compute/ | HPC and storage setup |
Lab-Operations/ | Travel, conferences, everyday lab logistics |
Resources/ | Style guides and reusable reference material |
Members/ | Member-only information |
Admin/ | Admin setup, access, deploy, and ownership notes |
Example myst.yml entry:
- title: "Getting Started"
children:
- title: "Welcome"
file: Getting-Started/01-Welcome.md
- title: "New Page Title"
file: Getting-Started/06-New-Page.mdThe sidebar order comes from myst.yml, not from the filename.
Check Whether Your Edit Is Live¶
Open the commit or pull request in GitHub.
Open the Actions tab for that commit.
Look for
Vercel Path Deploy.If it is green, refresh the public page.
If it failed or never started, send the workflow link to an admin.
If GitHub shows a message about failed payments, spending limits, or a job that never starts, your text was saved but the site did not rebuild. That is a GitHub Actions runner/billing problem, not a problem with your edit.
Admins should check the Website Admin Guide.
Do Not Edit Generated Files Directly¶
Some pages are copied or generated from another source. If you edit the generated copy, your change may be overwritten later.
Before editing a page, look for a note near the top that says it is mirrored from another file. If you see that note, edit the source file named in the note.
When in doubt, open an issue and ask where the source lives:
https://
Writing Guidelines¶
Use short headings.
Put the action first.
Avoid unexplained acronyms.
Link to the source system when someone needs to leave the docs.
Say what happens next after each step.
For more writing guidance, see Documentation Writing Guide.