SSHScript Documentation
This gh-pages branch contains the source for SSHScript’s public documentation website. It is a documentation and publishing branch, not the primary source-code branch.
Published documentation
SSHScript 3.1.4 is the current Production/Stable release in the supported v3.1 line:
Open the SSHScript v3.1 documentation
Recommended entry points:
- Installation and Verification
- 5-Minute Quickstart
- Module API Tutorial
- Session and Console API Reference
- Production Checklist
- v3.1.4 on PyPI
About SSHScript
SSHScript is a Python automation library and .spy script runner for executing commands locally or over SSH. The regular Python Session API is the primary interface in v3.1. Dollar syntax is an optional shorthand for concise operational scripts.
Branch layout
| Path | Purpose |
|---|---|
v3a/ | Actively maintained SSHScript v3.1 website |
v1/, v2/, v3/ | Historical documentation; excluded from current navigation and search |
_config.yml | GitHub Pages and Just the Docs configuration |
tools/check_docs.py | Source-level documentation validation |
info.json | Published stable-version information |
New documentation work belongs under v3a/ unless a change explicitly targets branch-level publishing files such as this README or _config.yml.
Documentation policy
- Present the regular Python
SessionAPI first. - Treat Dollar syntax as an optional
.spyadd-on. - Maintain English as the published documentation language for the current phase.
- Keep examples generic and safe to publish.
- Keep unfinished placeholder pages in source and link them from their category index, but exclude them from sidebar navigation and search.
- Do not duplicate the sidebar with a manually maintained child-page table of contents.
- End each maintained v3a Markdown document with
Last Updated: YYYY-MM-DD HH:MM:SSand keep it equal to the file’s mtime.
Sidebar navigation
The site uses Just the Docs navigation. The front matter title must equal the document’s first H1. Child pages must use the exact parent title; third-level pages also declare grand_parent.
---
title: "Session and Console API Reference"
parent: "Reference"
grand_parent: "SSHScript v3.1 Documentation"
nav_order: 1
---
A category index declares has_children: true. Keep nav_order values stable and unique among visible siblings.
Additional project-specific sidebar rules are maintained in v3a/rules.txt.
Validation before publishing
Run the repository validator:
python3 tools/check_docs.py
python3 tools/check_docs.py --check-mtime
git diff --check
The documentation workflow repeats source validation and performs a Jekyll build for every pull request and push. It checks front matter, title/H1 equality, navigation relationships, internal links, placeholder visibility, release-truth guardrails, and Last Updated format. The local --check-mtime mode additionally enforces the filesystem timestamp rule; CI omits it because Git checkouts do not preserve source mtimes.
Before publishing, also review examples for current v3.1 behavior, credentials, internal infrastructure details, and unsafe defaults. Changes pushed to gh-pages become public through GitHub Pages.
Security
Never commit passwords, private keys, tokens, real host inventories, internal network addresses, or captured secrets to this branch. Use neutral example accounts and reserved example domains.
Source and license
SSHScript source code, releases, and issue tracking are available in the iapyeh/sshscript repository. SSHScript is released under the MIT License.
Last Updated: 2026-09-24 16:00:00