> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/on-premises/ar/aliadadat/overleaf-toolkit/branding.md).

# العلامة التجارية

### الرأس <a href="#header" id="header"></a>

في هذا القسم، سنغطي كيفية تخصيص العناصر الرئيسية في مثيلك المحلي. يمكنك تخصيص عنوان الموقع، وروابط التنقل، والرأس، والتذييل، والشعار وفقًا لتفضيلاتك.

### عنوان الموقع <a href="#site-title" id="site-title"></a>

يمكن تخصيص عنوان شريط التنقل باستخدام `OVERLEAF_NAV_TITLE` متغير البيئة، ويُستخدم هذا النص في الزاوية العلوية اليسرى من شريط التنقل إذا لم يتم تعيين شعار.

```bash
# أضف إلى config/variables.env
OVERLEAF_NAV_TITLE=مثيل Overleaf الخاص بنا
```

## الشعار

يمكنك إضافة شعار مخصص بدلاً من استخدام النص عن طريق تعيين متغير البيئة `OVERLEAF_HEADER_IMAGE_URL`. يجب أن تشير هذه القيمة إلى ملف صورة مستضاف خارجيًا.

أضف إلى config/variables.env:

{% code title="config/variables.env" %}

```bash
# أضف إلى config/variables.env
OVERLEAF_HEADER_IMAGE_URL=https://mysite.somewhere.com/img/logo.png
```

{% endcode %}

## روابط التنقل في الرأس

يمكن إضافة عناصر تنقل إضافية إلى رأس التنقل عن طريق تعيين `OVERLEAF_HEADER_EXTRAS` متغير البيئة إلى مصفوفة JSON من الكائنات. على سبيل المثال:

{% code overflow="wrap" %}

```json
[\
  {\
    "text": "رابط ما",\
    "url": "http://example.com/somelink",\
    "class": "subdued",\
    "only_when_logged_out": true\
  },\
  {\
    "text": "مساعدة",\
    "class": "subdued",\
    "dropdown": [\
      {\
        "text": "الوثائق",\
        "url": "/learn"\
      },\
      {\
        "text": "اتصل بالمسؤول",\
        "url": "http://example.com/contact"\
      }\
    ]\
  }\
]
```

{% endcode %}

أضف صيغة JSON المُهربة إلى toolkit/variables.env:

{% code title="toolkit/variables.env" overflow="wrap" %}

```bash
# أضف إلى toolkit/variables.env
OVERLEAF_HEADER_EXTRAS=[{"text":"رابط ما","url":"http://example.com/somelink","class":"subdued","only_when_logged_out":true},{"text":"مساعدة","class":"subdued","dropdown":[{"text":"الوثائق","url":"/learn"},{"text":"اتصل بالمسؤول","url":"http://example.com/contact"}]}]
```

{% endcode %}

## التذييلات

يمكن تخصيص كلٍّ من التذييل الأيسر والتذييل الأيمن الأصغر (الموجود في صفحات مثل `/project`) باستخدام متغيرات البيئة `OVERLEAF_LEFT_FOOTER` و `OVERLEAF_RIGHT_FOOTER`. كلاهما يتوقع مصفوفة من كائنات JSON سيتم إدراجها.

. كلاهما يتوقع مصفوفة من JSON سيتم إدراجها.

```json
[\
  {\
    "text": "هذا مثال على إدخال نصي في التذييل!"\
  },\
  {\
    "text": "هذا مثال على رابط URL في التذييل!", "url" : "/my-first-link.htm"\
  }\
]
```

{% hint style="info" %}
عند استخدام `النص` فقط، يجب ألا يحتوي على HTML لأن القيمة ستُعرض كنص خام.
{% endhint %}

يجب أن تكون هذه البيانات JSON صالحًا للعمل، مع هروب علامات الاقتباس عند تمريرها عبر متغير بيئي.

{% code title="config/variables.env" overflow="wrap" %}

```bash
# أضف إلى config/variables.env
OVERLEAF_LEFT_FOOTER=[{"text": "هذا مثال على إدخال نصي في التذييل!"}]
OVERLEAF_RIGHT_FOOTER=["text": "هذا مثال على رابط URL في التذييل!", "url" : "/my-first-link.htm"]
```

{% endcode %}

{% hint style="info" %}
بالإضافة إلى `النص` و `رابط`، كما يقبل كائن JSON أيضًا الخصائص `الفئة` و `التسمية` لإجراء تخصيص إضافي.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/on-premises/ar/aliadadat/overleaf-toolkit/branding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
