docutils.parsers.rst.languages.fa module

Persian-language mappings for language-dependent features of reStructuredText.

directives = {'احتیاط': 'caution', 'اخطار': 'warning', 'بلوک-خط': 'line-block', 'بلوک-کد': 'code', 'تاریخ': 'date', 'تذکر': 'admonition', 'ترکیب': 'compound', 'تصویر': 'image', 'تلفظ-پردازش-شده': 'parsed-literal', 'توجه': 'attention', 'جایگزین': 'replace', 'جدول': 'table', 'جدول-csv': 'csv-table', 'جدول-لیست': 'list-table', 'خام': 'raw', 'خطا': 'error', 'خطر': 'danger', 'راهنما': 'hint', 'ریاضی': 'math', 'سر-فصل': 'rubric', 'سرآیند': 'header', 'شامل': 'include', 'شماره-فصل': 'sectnum', 'شماره\u200cگذاری-فصل': 'sectnum', 'شکل': 'figure', 'ظرف': 'container', 'عنوان': 'title', 'قانون': 'role', 'قانون-پیش\u200cفرض': 'default-role', 'متا': 'meta', 'محتوا': 'contents', 'مهم': 'important', 'موضوع': 'topic', 'نقل-قول': 'pull-quote', 'نوار-کناری': 'sidebar', 'نکات-برجسته': 'highlights', 'نکته': 'tip', 'پاصفحه': 'footer', 'کتیبه': 'epigraph', 'کد': 'code', 'کد-منبع': 'code', 'کلاس': 'class', 'یادداشت': 'note', 'یادداشت-هدف': 'target-notes', 'یونیکد': 'unicode'}

Persian name to registered (in directives/__init__.py) directive name mapping.

roles = {'rfc-reference (translation required)': 'rfc-reference', 'uri': 'uri-reference', 'url': 'uri-reference', 'بالانویس': 'superscript', 'تاکید': 'emphasis', 'خام': 'raw', 'ریاضی': 'math', 'زیرنویس': 'subscript', 'سرنام': 'acronym', 'شاخص': 'index', 'عنوان': 'title-reference', 'قوی': 'strong', 'لفظی': 'literal', 'مخفف': 'abbreviation', 'منبع-uri': 'uri-reference', 'منبع-جایگزینی': 'substitution-reference', 'منبع-ناشناس': 'anonymous-reference', 'منبع-نام\u200cگذاری': 'named-reference', 'منبع-نقل\u200cفول': 'citation-reference', 'منبع-پانویس': 'footnote-reference', 'نیرو': 'pep-reference', 'هدف': 'target', 'کد': 'code'}

Mapping of Persian role names to canonical role names for interpreted text.