Skip to content

docs: enrich command sections with tldr quick-reference admonitions - #4

Open
mtahle wants to merge 1 commit into
mainfrom
claude/fix-documentation-linking-X6ECF
Open

docs: enrich command sections with tldr quick-reference admonitions#4
mtahle wants to merge 1 commit into
mainfrom
claude/fix-documentation-linking-X6ECF

Conversation

@mtahle

@mtahle mtahle commented Jul 20, 2026

Copy link
Copy Markdown
Owner

No description provided.

Add collapsible `??? example "tldr: <command>"` admonitions sourced from
tldr-pages (https://tldr.sh) throughout the docs so readers can access
concise, practical command examples without leaving the page.

linux/troubleshooting-tools.md:
- ping, telnet, curl — admonition after each section heading
- New "Quick Reference (tldr)" subsection before Essential Network Commands
  with admonitions for: ip, ss, netstat, lsof, dig, nslookup, host,
  traceroute, mtr, iperf3, tcpdump, nmap, nc

linux/introduction.md:
- apt — after the Package Management distribution table
- systemctl — after the Service Management code block
- ssh, ssh-keygen — before the SSH Security code block

linux/web-hosting.md:
- ufw — before the Apache firewall configuration block

containers/introduction.md:
- docker — before the Docker Fundamentals section
- kubectl, helm — before the Docker Swarm section (in Orchestration)

containers/security.md:
- trivy — at the top of the page before Container Security Fundamentals

automation/introduction.md:
- git — at the top of the page before CI/CD Concepts

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.

Pull request overview

This PR enriches multiple documentation pages by adding collapsible “tldr” quick-reference admonitions for common DevOps/Linux/container/automation commands, improving scan-ability and making key commands easier to find alongside longer explanations.

Changes:

  • Add “tldr” quick-reference admonitions for core Linux commands (e.g., apt, systemctl, ssh) and networking tools (e.g., ping, telnet, curl, plus a broader “Quick Reference” section).
  • Add “tldr” command blocks for container and security tooling (e.g., docker, kubectl, helm, trivy).
  • Add a “tldr” block for git in the CI/CD & automation introduction.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
docs/linux/web-hosting.md Adds a ufw quick-reference block near the LAMP/Apache setup steps.
docs/linux/troubleshooting-tools.md Adds multiple network troubleshooting “tldr” blocks and a consolidated quick-reference section.
docs/linux/introduction.md Adds “tldr” blocks for apt, systemctl, ssh, and ssh-keygen in the Linux intro/security sections.
docs/containers/security.md Adds a “tldr” block for trivy to the container security page.
docs/containers/introduction.md Adds “tldr” blocks for docker, kubectl, and helm in the containers introduction.
docs/automation/introduction.md Adds a “tldr” block for git at the start of the CI/CD & automation section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/linux/web-hosting.md
Comment on lines +203 to +205
# Allow from a specific IP
sudo ufw allow proto tcp from 192.168.0.4 to any port 22

Comment on lines +132 to +133
systemctl status # Show all running services
systemctl status <unit> # Status of a specific service
Comment on lines +339 to +340
nc < file -l -p <port> # Send a file via listener
nc <host> <port> > out.file # Receive a file from a listener
Comment on lines +27 to +28
# Output as SARIF (for GitHub Code Scanning)
trivy image -f template -t "@sarif.tpl" -o report.sarif <image>
Comment on lines +134 to +138
systemctl start|stop|restart|reload <unit> # Manage a service
systemctl enable|disable <unit> # Enable/disable at boot
systemctl daemon-reload # Reload after unit file changes
systemctl is-active|is-enabled <unit> # Check service state
systemctl list-units --type service --state failed # List failed services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants