Contributing
Thank you for your interest in contributing! This guide explains how to submit your own guides, tutorials, and documentation improvements.
Related Repositories
Section titled “Related Repositories”| Repository | Purpose |
|---|---|
| dusklinux/dusky | Main Dusky dotfiles and configs |
| Shrujal00/dusky-docs | Documentation content (this repo) |
| Shrujal00/dusky-site | Astro/Starlight site builder |
Quick Start
Section titled “Quick Start”- Fork github.com/Shrujal00/dusky-docs
- Create a new branch
- Add your markdown file in the appropriate directory
- Submit a pull request
Repository Structure
Section titled “Repository Structure”dusky-docs/├── index.md # Homepage├── getting-started/ # Introduction and first steps├── arch-install/ # Arch Linux installation├── installation/ # Dusky installation├── post-install/ # Post-installation setup├── features/ # Dusky features├── configuration/ # App-specific configs├── dotfiles/ # Dotfiles management├── virtualization/ # VMs and containers├── guides/ # How-to tutorials├── reference/ # Package lists, cheatsheets└── troubleshooting/ # Common issuesWhere Should Your Guide Go?
Section titled “Where Should Your Guide Go?”| Content Type | Directory |
|---|---|
| First-time setup | getting-started/ |
| Installing Arch | arch-install/ |
| Installing Dusky | installation/ |
| System configuration | post-install/ |
| App-specific config | configuration/ |
| Backup & sync | dotfiles/ |
| VMs & containers | virtualization/ |
| How-to tutorials | guides/ |
| Quick reference | reference/ |
| Problem solving | troubleshooting/ |
File Structure
Section titled “File Structure”Every markdown file must start with frontmatter:
---title: Your Guide Titledescription: A brief one-line description---
Your content starts here...Optional Frontmatter
Section titled “Optional Frontmatter”---title: Advanced GPU Configurationdescription: Fine-tune your GPU settingssidebar: order: 2 # Position in sidebar (lower = higher) badge: New # Badge next to title---Markdown Syntax
Section titled “Markdown Syntax”Basic Formatting
Section titled “Basic Formatting”## Heading 2### Heading 3
**Bold** and *italic*
- Bullet list- Another item
1. Numbered list2. Second item
`inline code`
[Link text](https://example.com)Code Blocks
Section titled “Code Blocks”Always specify the language:
```bashsudo pacman -S package-name```
```ini[Section]Key=Value```Callouts
Section titled “Callouts”:::noteGeneral information.:::
:::tipHelpful suggestions.:::
:::cautionImportant warnings.:::
:::dangerCritical warnings.:::Example:
Tables
Section titled “Tables”| Column 1 | Column 2 ||:---------|:---------|| Data | More data |Internal Links
Section titled “Internal Links”See the [Hyprland config](/configuration/hyprland) guide.Style Guidelines
Section titled “Style Guidelines”- Be concise and get to the point
- Use code blocks for commands
- Explain “why”, not just “what”
- Test your commands work
- Use callouts for warnings/tips
- Include prerequisites
Don’ts
Section titled “Don’ts”- No emojis in headings
- No personal paths (use
~or$HOME) - Don’t assume prior knowledge
- No deprecated commands
- No copied content without attribution
Submitting
Section titled “Submitting”1. Fork and Clone
Section titled “1. Fork and Clone”git clone https://github.com/YOUR-USERNAME/dusky-docs.gitcd dusky-docs2. Create Branch
Section titled “2. Create Branch”git checkout -b add-my-guide3. Add Your Guide
Section titled “3. Add Your Guide”nvim guides/my-new-guide.md4. Commit and Push
Section titled “4. Commit and Push”git add .git commit -m "Add guide: My New Guide"git push origin add-my-guide5. Open Pull Request
Section titled “5. Open Pull Request”Go to your fork on GitHub and click “Compare & pull request”.
Local Preview
Section titled “Local Preview”git clone https://github.com/Shrujal00/dusky-site.gitcd dusky-sitenpm installcp -r /path/to/dusky-docs/* src/content/docs/npm run devOpen http://localhost:4321 to preview.
Questions?
Section titled “Questions?”- Open an issue on GitHub
- Main Dusky repo: github.com/dusklinux/dusky
Thank you for contributing!