Skip to content

Contributing

Thank you for your interest in contributing! This guide explains how to submit your own guides, tutorials, and documentation improvements.

RepositoryPurpose
dusklinux/duskyMain Dusky dotfiles and configs
Shrujal00/dusky-docsDocumentation content (this repo)
Shrujal00/dusky-siteAstro/Starlight site builder
  1. Fork github.com/Shrujal00/dusky-docs
  2. Create a new branch
  3. Add your markdown file in the appropriate directory
  4. Submit a pull request
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 issues
Content TypeDirectory
First-time setupgetting-started/
Installing Archarch-install/
Installing Duskyinstallation/
System configurationpost-install/
App-specific configconfiguration/
Backup & syncdotfiles/
VMs & containersvirtualization/
How-to tutorialsguides/
Quick referencereference/
Problem solvingtroubleshooting/

Every markdown file must start with frontmatter:

---
title: Your Guide Title
description: A brief one-line description
---
Your content starts here...
---
title: Advanced GPU Configuration
description: Fine-tune your GPU settings
sidebar:
order: 2 # Position in sidebar (lower = higher)
badge: New # Badge next to title
---
## Heading 2
### Heading 3
**Bold** and *italic*
- Bullet list
- Another item
1. Numbered list
2. Second item
`inline code`
[Link text](https://example.com)

Always specify the language:

```bash
sudo pacman -S package-name
```
```ini
[Section]
Key=Value
```
:::note
General information.
:::
:::tip
Helpful suggestions.
:::
:::caution
Important warnings.
:::
:::danger
Critical warnings.
:::

Example:

| Column 1 | Column 2 |
|:---------|:---------|
| Data | More data |
See the [Hyprland config](/configuration/hyprland) guide.
  • 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
  • No emojis in headings
  • No personal paths (use ~ or $HOME)
  • Don’t assume prior knowledge
  • No deprecated commands
  • No copied content without attribution
Terminal window
git clone https://github.com/YOUR-USERNAME/dusky-docs.git
cd dusky-docs
Terminal window
git checkout -b add-my-guide
Terminal window
nvim guides/my-new-guide.md
Terminal window
git add .
git commit -m "Add guide: My New Guide"
git push origin add-my-guide

Go to your fork on GitHub and click “Compare & pull request”.

Terminal window
git clone https://github.com/Shrujal00/dusky-site.git
cd dusky-site
npm install
cp -r /path/to/dusky-docs/* src/content/docs/
npm run dev

Open http://localhost:4321 to preview.

Thank you for contributing!