<commit_before>Menu Management
===============

In this article:
    - `Introduction`_
    - `Add Menu Item`_

------------
Introduction
------------

This section describes how manage menu - add menu item, sorting and ordering existing menu items, etc.

-------------
Add Menu Item
-------------

ImCMS Menu Editor provide several way for adding document to menu:

    1. From search box that located in the left-bottom corner of menu-editor. When required document had been found click on
     the green button with text *Add*.


    .. image:: menu/_static/01-AddMenuItemFromSearchBox.png


    2. From search dialog. To open search dialog click on marked button (figure below).


    .. image:: menu/_static/02-OpenSearchDialogButton.png


     In opened window type document name, and from presented result select required document and then click *Add selected* button.


     .. image:: menu/_static/03-SearchDialog.png


    3. From new document. To create new document from menu editor consider :doc:`Base Document Management <content-management\document\base>` section.


----------------
Order Menu Items
----------------

ImCMS menu has tree-structure. Each item can include several sub-item and can be included to another parent item.


.. image:: menu/_static/04-MenuEditorItemStructure.png<commit_msg>update base docs management, category management, add menu menegement info<commit_after>Menu Management
===============

In this article:
    - `Introduction`_
    - `Add Menu Item`_

------------
Introduction
------------

This section describes how manage menu - add menu item, sorting and ordering existing menu items, etc.

-------------
Add Menu Item
-------------

ImCMS Menu Editor provide several way for adding document to menu:

    1. From search box that located in the left-bottom corner of menu-editor. When required document had been found click on the green button with text *Add*.


    .. image:: menu/_static/01-AddMenuItemFromSearchBox.png


    2. From search dialog. To open search dialog click on marked button (figure below).


    .. image:: menu/_static/02-OpenSearchDialogButton.png


     In opened window type document name, and from presented result select required document and then click *Add selected* button.


    .. image:: menu/_static/03-SearchDialog.png


    3. From new document. To create new document from menu editor consider :doc:`Base Document Management <content-management\document\base>` section.


----------------
Order Menu Items
----------------

ImCMS menu has tree-structure. Each item can include several sub-item and can be included to another parent item.


.. image:: menu/_static/04-MenuEditorItemStructure.png
{'fraction_non_alphanumeric': 0.1318435754189944, 'fraction_numerical': 0.00819366852886406, 'mean_word_length': 2.7830985915492956, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1663781', 'n_tokens_mistral': 675, 'n_tokens_neox': 623, 'n_words': 298}