GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ZOrbit/CLAUDE.md at main · combwizard/ZOrbit

Expand file tree

/

CLAUDE.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
75 lines (66 loc) · 6.11 KB
/

CLAUDE.md

Copy path

File metadata and controls

75 lines (66 loc) · 6.11 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

ZOrbit

A radial brush menu for ZBrush on Windows. README.md says what it does, CONTRIBUTING.md how to set up a checkout and run it.

Keep the docs in step with the code

The user docs are the Markdown pages in docs/. Every push to main that touches them publishes them to https://zorbit.lol/docs/, so they describe main, not the last release.

  • A change a user can see or do updates its docs page in the same commit. That covers settings, screens, buttons, item types, hotkeys, defaults, file names and locations, log files, messages, requirements and install steps. A new feature is documented where a user would look for it; a removed one is taken out of every page that mentions it.
  • Add a line to CHANGELOG.md under ## [Unreleased] (create the section if the top one is a released version).
  • Check README.md when the change touches install, requirements, first steps or the feature list.
  • Pictures: the Studio and browser screenshots are made by python tools/docs_shots.py (headless Edge on the mock UI, recorded from a fresh install; --record re-records after a UI or API change, and the SHOTS table says what each picture shows). When a change alters a screen that has a picture, retake it and look it over before committing. The pictures show no version (the script takes the chip at the top out, and the update dialog in the mock stays at the 0.18.0 to 0.18.1 example), so a release retakes nothing; retake only the pictures of screens that changed. The ring pictures and GIFs (ring.png, fan.png, looks.png and the rest of the SHOTS table in the script, which says what each shows) are made by python tools/ring_shots.py from the real renderer in the starter menus. When a change alters how the ring looks, run it and look the pictures over before committing.
  • Build the docs after editing them: mkdocs build --strict (pip install -r requirements-docs.txt first). It fails on a broken link or anchor. Link between pages with relative .md links so they work on GitHub too. It does not look inside raw HTML, where MkDocs leaves paths as they are, so write pictures and links in Markdown (tests/test_docs.py checks).
  • The pre-commit hook (tools/hooks/pre-commit) stops a commit that changes zorbit/ or bridge/ without touching docs/ or README.md. When there really is nothing to document (a refactor, an internal fix, a bug fix that restores what the docs already say), commit with ZORBIT_NO_DOCS=1 and say in the reply that you did.

Where each part is documented:

Code Page in docs/
studio.py, webapi.py, studio_ui/ (Studio screens and settings) studio.md, plus the page for the feature
config.py, expand.py, default_menus.json (menus, item types, submenus, fans) menus.md
usage.py (auto slots, recent picks) menus.md, browser.md, profiles.md
profiles.py (profiles, the profile in use, switching, files from an older version, format.json) profiles.md, files.md
tags.py, tag colours in ring.py tags.md, appearance.md
popout.py, studio_ui/popout.html, assets.py, brushes.py (browser, libraries) browser.md
radiald.py (hotkeys, pick modes, picks mid-stroke) hotkeys.md
ring.py (look, size, colours, labels, animations) appearance.md
looks.py, shapes.py (named looks, slot shapes) appearance.md
layout.py (where slots go, full rings) menus.md, appearance.md
menushare.py (Export menu, Import menu) menus.md, files.md
theme.py, zbrush_colors.py (the theme, Match ZBrush) appearance.md, studio.md
report.py (Copy report on Status) studio.md, troubleshooting.md, files.md, and the bug form
commands.py, the _command methods in radiald.py (commands from other programs) hotkeys.md, troubleshooting.md, plus browser.md and profiles.md for their options
main.py (command-line options) building.md, browser.md
win32.py (Windows calls) None of its own; the page for the feature that uses it
bridge/, zscript_bridge.py (bridge modes, bridge key, the Zplugin palette) bridge.md
paths.py, fsutil.py, import and export, logs files.md
installs.py, onboarding.py, activity.py, packaging/ (install, Setup screen) install.md, getting-started.md
webview2.py (the WebView2 runtime check and its message) install.md (requirements), troubleshooting.md
toast.py, the MSG_ texts in radiald.py (the message near the cursor) troubleshooting.md, bridge.md
capture.py, fileitem.py (Capture, Tool and Project items: the folder, the file name, the file) menus.md, troubleshooting.md
tray.py (the notification-area icon and its menu) studio.md, getting-started.md
winframe.py (window frame, placement and drag regions of Studio and the browser) studio.md, browser.md
zbp.py (brush pictures read from .zbp files) browser.md, troubleshooting.md (slots that show letters)
changelog.py, CHANGELOG.md (Studio's What's new) studio.md; the summary paragraph rule in building.md
selftest.py (--selftest) building.md
tests/ building.md, CONTRIBUTING.md
tools/ring_shots.py (the ring pictures and GIFs) appearance.md, menus.md, and the picture rules above
A new way for something to fail, or a new log line worth reading troubleshooting.md
packaging/build.ps1, tools/ building.md, CONTRIBUTING.md

The blog is in docs/blog/ (posts in docs/blog/posts/, see "Release notes" in CONTRIBUTING.md). Posts are in the first person and personal, but without the landing page's jokes; run the humanizer over them.

Write like the existing pages: plain, short, concrete sentences, British spelling (colour, behaviour, licence), UI labels and keys in bold, no em dashes, no marketing words.

The docs theme is in docs-theme/ and docs/stylesheets/extra.css. It copies the landing page, which lives on the orphan site branch; .github/workflows/pages.yml (one copy on each branch) deploys both together.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.