Contributing to Documentation
Clear, accurate documentation is essential for the Varbase community. Whether you are fixing a typo, improving an explanation, or writing new content, your documentation contributions help all Varbase users.
How to Contribute
Submitting Pull Requests
The Varbase documentation is maintained in a Git repository. To contribute:
Fork the documentation repository on GitHub.
Clone your fork to your local machine.
Create a new branch for your changes (e.g.,
fix/typo-content-managementoradd/webform-advanced-guide).Make your changes to the relevant Markdown files.
Commit your changes with a clear, descriptive commit message.
Push your branch to your fork on GitHub.
Submit a pull request to the main documentation repository.
Provide a description of your changes in the pull request, including:
What was changed and why.
Any relevant context or issue references.
Reporting Issues
If you find an error or gap in the documentation but are unable to fix it yourself:
Open an issue in the documentation repository on GitHub.
Describe the problem clearly, including:
The page or section affected.
What is incorrect or missing.
What the correct information should be (if known).
Documentation Format
The Varbase documentation is written in GitBook-compatible Markdown. Follow these formatting guidelines:
File Structure
Each section has a
README.mdfile that serves as the section's landing page.Sub-topics are individual Markdown files within the section's directory.
File names use lowercase letters and hyphens (e.g.,
create-content.md,url-aliases.md).
Markdown Conventions
Headings: Use
#for the page title (H1),##for main sections (H2),###for subsections (H3), and so on. Each page should have exactly one H1 heading.Bold text: Use
**bold**for UI element names, field labels, and emphasis.Inline code: Use backticks for paths, URLs, commands, and code (e.g.,
/admin/content,drush cr).Code blocks: Use triple backticks for multi-line code or command examples.
Lists: Use
-for unordered lists and1.for ordered lists.Links: Use relative links for internal documentation pages (e.g.,
[Content Management](../content-management/)).Tables: Use Markdown table syntax for tabular data.
Content Guidelines
Write in a clear, professional tone.
Use the second person ("you") when addressing the reader.
Be concise. Avoid unnecessary filler words.
Provide step-by-step instructions for procedural topics.
Use consistent terminology throughout the documentation.
Do not include screenshots or images unless specifically coordinated with the documentation maintainers.
Page Structure
Each documentation page should follow this general structure:
Title (H1): The topic name.
Introduction: A brief paragraph explaining what the page covers and why it matters.
Main content: Step-by-step instructions, explanations, or reference information, organized with H2 and H3 headings.
Tips: Optional section with helpful best practices or additional notes.
Review Process
After submitting a pull request:
A documentation maintainer will review your changes.
You may receive feedback or requests for revisions.
Address any feedback by updating your branch and pushing the changes.
Once approved, your changes will be merged into the main documentation.
What to Contribute
The following types of contributions are always welcome:
Typo and grammar fixes: Correct spelling, grammar, or formatting errors.
Clarifications: Improve unclear explanations or add missing context.
New content: Write documentation for features or topics that are not yet covered.
Updates: Update existing documentation to reflect changes in new Varbase releases.
Reorganization: Suggest improvements to the documentation structure for better navigation and discoverability.
Resources
Varbase Documentation Repository: Check the Vardot GitHub organization at https://github.com/Vardot.
GitBook Markdown Reference: https://docs.gitbook.com/
Drupal Documentation Guide: https://www.drupal.org/docs/documentation-guide
Last updated