# Contributing to Documentation

## Screenshots Guidelines

* Take screenshots from the latest version of Varbase.
* For consistency use this screen resolution when taking a screenshot: 1366 x 768.\
  You can use the [Window Resizer Chrome Extension](https://chrome.google.com/webstore/detail/window-resizer/hgjfanlllikpfpaadggdbchdpcbiaeei/related?hl=en) to help you set the window size.
* Use [Awesomescreenshot](https://www.awesomescreenshot.com/) to help you out.
  * Only use the visible part option, no need to take the whole page, and crop it.
  * Use annotations (Arrows, Steps numbers, Highlights, Rectangles ...etc.) to annotate the screenshot. Always use the red color.

    <img src="/files/-Mk7jxv6fUVg_50GHfUo" alt="" data-size="original">\
    \
    Example annotated screenshot:

    <img src="/files/FJhNtRgR9bK6xqz4yjAA" alt="" data-size="original">
* Make sure screenshots are displayed in a good resolution, not pixilated.
* Always add a caption to screenshots or images in the documentation page. Captions must be following APA title case style. Use [capitalizemytitle.com](https://capitalizemytitle.com/) for help.
* Take screenshots from real content on Varbase website and not from other sites.

## Writing Style

### Naming Standards and Capitalization

* Always capitalize the word Varbase when mentioning it.
* Use [Grammarly](https://www.grammarly.com/) to check on proper grammar and punctuation.&#x20;
* All titles (H1, H2, H3) must use APA title case style. Use [capitalizemytitle.com](https://capitalizemytitle.com/) for help.
* All modules and component names must use APA title case style.

### Headings

* All titles (H1, H2, H3) must use APA title case style. Use [capitalizemytitle.com](https://capitalizemytitle.com/) for help.
* Use descriptive headings and titles because they help a user navigate their browser and the page. It's easier to jump between pages and sections of a page if the headings and titles are unique.
* When possible, use -ing verb form in title to indicate present participle or gerund. Example: "Managing Menu Items"

### Text Styling

* Whenever a module or component name is mentioned, it should be **bold**. \
  Example: Varbase uses the **Layout Builder** module.<br>
* Divide each documentation page with hierarchical titles starting with H1, then H2, then H3. This will reflect in the "CONTENTS" side bar.<br>
* When explaining a path to the user, use bold trail of links separated by backslash (\\) making the last item (where the user should land) in italics.\
  Example: Navigate to **Administration** \ **Configuration** \ **Search and metadata** \ ***Metatag.***<br>
* When a line of code or command is needed, highlight the text and use **<>** option from the tooltip. \
  Example: `cd /path/to/webserver_directory`  <br>
* To make your documentation nice to read, you can add blocks of hints and notes with nice icons by clicking on it, then change it to the desired one. \
  Example:&#x20;

{% hint style="info" %}
See Platform.sh documentation on developing with Drupal and Varbase as an example.\
See <https://docs.platform.sh/frameworks/drupal8/developing-with-drupal.html>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.varbase.vardot.com/9.0.x/contributing/contributing-to-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
