How to Contribute
The ADL documentation is open source and lives alongside the project on GitHub. Whether you want to fix a typo, clarify a confusing section, or write an entirely new guide, your contributions are welcome.
This page walks you through the entire process --- from setting up your local environment to submitting a pull request.
Before You Startโ
Read our Code of Conduct before contributing. We expect all contributors to follow it.
Familiarize yourself with the project's documentation standards by reading the Documentation Guide and Style Guide. These will save you revision cycles during review.
Ways to Contributeโ
There are many ways to help, and not all of them require writing new pages:
- Fix typos and broken links --- small fixes are always appreciated
- Improve existing guides --- add missing steps, clarify confusing instructions, update outdated commands
- Report documentation issues --- open a GitHub Issue describing what is wrong or missing
- Write new guides --- cover a topic that the documentation does not address yet
- Add screenshots --- annotated screenshots help visual learners
- Test instructions --- follow a guide on your own device and report whether it works as written
GitHub Workflowโ
1. Fork the Repositoryโ
Go to the ADL repository on GitHub and click the Fork button in the top-right corner. This creates your own copy of the repository.
2. Clone Your Forkโ
git clone https://github.com/YOUR-USERNAME/ADL.gitReplace YOUR-USERNAME with your actual GitHub username.
3. Create a Branchโ
Always create a new branch for your changes. Use a descriptive name that reflects what you are working on.
cd ADLgit checkout -b docs/fix-termux-setup-typoBranch naming conventions:
docs/add-bluetooth-guide--- for new documentationdocs/fix-termux-setup-typo--- for fixing existing contentdocs/update-xfce-screenshots--- for updating visuals or media
4. Make Your Changesโ
Edit or create files in the docs/ directory. See the Documentation Guide for page structure and component usage.
5. Test Locallyโ
Before submitting, always verify your changes look correct in the browser. See the Local Development section below.
6. Commit and Pushโ
git add docs/git commit -m 'docs: fix typo in Termux setup guide'git push origin docs/fix-termux-setup-typoUse descriptive commit messages. Prefix documentation commits with docs:.
7. Open a Pull Requestโ
Go to your fork on GitHub and click Compare & pull request. In your PR description:
- Summarize what you changed and why
- Link to any related GitHub Issues
- Note if you tested the instructions on a specific device
Local Developmentโ
Prerequisitesโ
You need Node.js (version 18 or later) and npm installed on your machine.
Install Dependenciesโ
npm installStart the Development Serverโ
npm startThis launches a local server at http://localhost:3000 with hot reloading. Changes you make to documentation files will appear in the browser immediately.
Build for Productionโ
To verify that your changes build without errors:
npm run buildUsing Componentsโ
ADL documentation uses custom MDX components that are globally available. You do not need to import them. Here are the most common ones:
Callout Componentsโ
Use callouts to highlight important information:
<Warning>This action cannot be undone.</Warning>
<Tip>You can press Ctrl+C to cancel at any time.</Tip>
<Note>This feature requires Android 10 or later.</Note>
Copyable Commandsโ
Use CopyCommand for any command the reader should run:
<CopyCommand command="pkg update && pkg upgrade -y" />
Terminal Outputโ
Use Terminal to show a command alongside its expected output:
<Terminal command="proot-distro list" output="ubuntu - Ubuntu 22.04" />
Best Practices and Common Mistakesโ
<BestPractice>Always update packages before installing new ones.</BestPractice>
<CommonMistake>Do not run Termux commands inside the Ubuntu proot environment.</CommonMistake>
For the full component reference, see the Documentation Guide.
Writing Guidelines Summaryโ
These are the key points. See the Style Guide for the full reference.
- Write in the second person. Address the reader as "you."
- Use active voice. Write "Run the command" instead of "The command should be run."
- Be specific. Write "Tap the three-dot menu in the top-right corner" instead of "Open the menu."
- Test every command. If you include a command, verify that it works.
- One idea per paragraph. Keep paragraphs short and focused.
- Use components. Prefer
CopyCommandover plain code blocks for commands the reader should run.
Pull Request Review Processโ
After you submit a pull request:
- A maintainer will review your changes, usually within a few days
- You may receive feedback requesting changes --- this is normal and constructive
- Make any requested changes by pushing additional commits to the same branch
- Once approved, a maintainer will merge your pull request
Reporting Issuesโ
If you find a problem but do not have time to fix it, open a GitHub Issue. Include:
- The page URL or file path
- What is wrong (broken command, outdated information, confusing instructions)
- What device and Android version you are using, if relevant
- The expected behavior or correct information, if you know it
Getting Helpโ
If you are unsure about anything, open a GitHub Issue with your question. The maintainers and community are happy to help you get started.
Next Stepsโ
- Read the Documentation Guide for page structure and component details
- Read the Style Guide for writing conventions
- Browse the Page Templates for a starting point when writing new pages