Skip to content

docs: add complete static user documentation - #291

Open
WilliamWang1721 wants to merge 73 commits into
Kuddev:mainfrom
WilliamWang1721:docs/complete-user-guide-20260924
Open

WilliamWang1721 wants to merge 73 commits into
Kuddev:mainfrom
WilliamWang1721:docs/complete-user-guide-20260924

Conversation

@WilliamWang1721

@WilliamWang1721 WilliamWang1721 commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Title

docs: add complete static user documentation

Description

Summary

Add a complete, fully static user documentation website for Pebrel, designed around the current Pebrel 1.9.1 experience.

The documentation is written from a user-first perspective: where to go, what to click, what to enter, and what result to expect, rather than explaining internal implementation details.

What’s included

  • 51 task-oriented guides covering:
    • Installation and first launch
    • Terminal basics
    • Shells and WSL
    • Tabs, panes, layouts, and workspaces
    • SSH connections, authentication, host management, and SSH config
    • SFTP and remote file operations
    • Local and remote file editing
    • Git, conflict handling, and SVN
    • Markdown and document viewing/editing
    • AI CLI workflows and session history
    • Appearance, themes, fonts, and backgrounds
    • Lua configuration and practical configuration examples
    • Updates, migration, privacy, networking, and troubleshooting
  • A polished responsive documentation UI with:
    • Light and dark themes
    • Local full-text search
    • Keyboard navigation
    • Rich Markdown rendering
    • Syntax-highlighted code blocks with copy actions
    • Table of contents and heading anchors
    • Image zoom
    • Mobile navigation
    • Reduced-motion support
    • Print-friendly styles
  • GitHub Pages support with completely static output and relative URLs.

Documentation style

The documentation was rewritten to behave like a product guide rather than an implementation note.

Instructions now focus on concrete user actions and expected results, with technical details included only where they help explain behavior or resolve a problem.

The landing page was also simplified by removing unnecessary introductory labels and descriptive copy.

Screenshots

Existing Pebrel screenshots are reused where appropriate.

The site also includes an unchanged macOS screenshot captured by Pebrel’s official 1.9.1 release workflow, with its source recorded in the documentation metadata.

Validation

  • The current source already has a no-JavaScript mobile sidebar fallback and a browser check that opens a navigation link.
  • This update adds stale-output cleanup, output-path protection, and regression coverage; package examples now use the documented 1.9.1 asset names.
  • Synced upstream main at 77e6470 in merge commit 920079e; the contributor guide now matches main's full five-platform Draft/Ready CI policy.
  • For head d67436a, PR size (36435819923), Architecture contracts (36435820050), User documentation (36435820051) and Full native tests (36435820598) are queued. No post-sync checks have completed; no local build or tests were run. PR size · Architecture contracts · User documentation · Full native tests.

Scope

This PR only adds documentation and documentation-site infrastructure.

It does not modify Pebrel desktop runtime behavior or application dependencies.

AI assistance: GPT-6 Luna (max).

@WilliamWang1721
WilliamWang1721 force-pushed the docs/complete-user-guide-20260924 branch from de7f79d to 5aba1a1 Compare September 25, 2026 04:38
@WilliamWang1721
WilliamWang1721 force-pushed the docs/complete-user-guide-20260924 branch from 7468caf to 3455dcc Compare September 25, 2026 05:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved moderate findings affect navigation, generated output, copied content, and installation guidance.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)
What changed in this PR

Adds a static Chinese Pebrel 1.9.1 documentation site with task-oriented guides, responsive UI, search, validation, and GitHub Pages support.

Changes:

  • Adds 53 Markdown documentation pages.
  • Adds static generation, themes, navigation, search, and browser checks.
  • Adds provenance metadata, licensing notices, and deployment workflow.

Review findings:

  • Moderate findings remain for no-JavaScript mobile navigation, stale build output, unresolved copy-page image tokens, and installation filenames.
  • Nit findings remain for the documented page count and a typo.
File Summary
docs/​site/​third-party-notices.txt Pygments licensing notice
docs/​site/​test_site.py Structural and link validation
docs/​site/​template.html Shared HTML template
docs/​site/​site.json Navigation and metadata
docs/​site/​screenshots.json Screenshot provenance
docs/​site/​requirements.txt Build dependencies
docs/​site/​README.md Build and deployment instructions
docs/​site/​content/​wsl.md WSL usage guide
docs/​site/​content/​workspace.md Tabs and panes guide
docs/​site/​content/​vcs.md Git and SVN workflows
docs/​site/​content/​updates.md Update procedures
docs/​site/​content/​troubleshooting.md Troubleshooting guidance
docs/​site/​content/​themes.md Theme customization
docs/​site/​content/​terminal-basics.md Terminal fundamentals
docs/​site/​content/​svn.md SVN operations
docs/​site/​content/​ssh.md SSH connections
docs/​site/​content/​ssh-routing.md Proxies and jump hosts
docs/​site/​content/​ssh-library.md SSH host management
docs/​site/​content/​ssh-config.md SSH configuration
docs/​site/​content/​ssh-auth.md SSH authentication
docs/​site/​content/​shells.md Shell configuration
docs/​site/​content/​sftp.md SFTP transfers
docs/​site/​content/​settings.md Settings index
docs/​site/​content/​sessions.md Session persistence
docs/​site/​content/​send-to-chat.md Sending terminal output to AI
docs/​site/​content/​runtime.md Runtime automation
docs/​site/​content/​remote-edit.md Remote file editing
docs/​site/​content/​readme.md Project overview
docs/​site/​content/​quickstart.md First-use walkthrough
docs/​site/​content/​quick-terminal.md Quick terminal behavior
docs/​site/​content/​privacy.md Data handling
docs/​site/​content/​palette.md Command palette
docs/​site/​content/​notifications.md Notifications
docs/​site/​content/​network.md Network proxy settings
docs/​site/​content/​navigation.md Quick navigation
docs/​site/​content/​migration.md Backup and migration
docs/​site/​content/​markdown-editing.md Markdown editing
docs/​site/​content/​layouts.md Layout recipes
docs/​site/​content/​keyboard.md Shortcut reference
docs/​site/​content/​interaction.md Interaction settings
docs/​site/​content/​installation.md Platform installation
docs/​site/​content/​index.md Documentation landing page
docs/​site/​content/​images.md Image workflows
docs/​site/​content/​hooks.md Agent integrations
docs/​site/​content/​git-conflicts.md Conflict resolution
docs/​site/​content/​fonts.md Font configuration
docs/​site/​content/​files.md File browsing
docs/​site/​content/​documents.md Document viewing
docs/​site/​content/​contributing.md Contributor workflows
docs/​site/​content/​configuration.md Lua configuration
docs/​site/​content/​config-examples.md Lua examples
docs/​site/​content/​completions.md Command completion
docs/​site/​content/​commands.md Saved commands
docs/​site/​content/​clipboard.md Clipboard operations
docs/​site/​content/​broadcast.md Broadcast input
docs/​site/​content/​backgrounds.md Background settings
docs/​site/​content/​appearance.md Appearance settings
docs/​site/​content/​ai-start.md AI CLI workflows
docs/​site/​content/​ai-history.md AI session history
docs/​site/​content/​agent-worktrees.md Isolated AI worktrees
docs/​site/​check_browser.py Browser smoke checks
docs/​site/​build.py Static site generation
docs/​site/​assets/​site.js Search, themes, navigation, and interactions
architecture/​notes/​docs/​site/​2026-09-24-static-user-guide.md Static-site architecture
.gitignore Documentation source allowlist
.github/​workflows/​docs-site.yml CI validation and Pages deployment

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/site/assets/site.css Resolved
Comment thread docs/site/build.py Resolved
Comment thread docs/site/content/installation.md Resolved
Comment thread docs/site/content/contributing.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants