Skip to content

Commit

Permalink
Merge pull request #9 from EDI-N/Kolya_ua
Browse files Browse the repository at this point in the history
много всего + перевод
  • Loading branch information
EDI-N committed Jun 12, 2019
2 parents 0e3dd62 + 5d8a95c commit 6e3cb0e
Show file tree
Hide file tree
Showing 21 changed files with 561 additions and 217 deletions.
2 changes: 1 addition & 1 deletion docs/Zakon/Zakonodavcha_baza.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Законы и НПА
Закони та НПА
====================================

Закони, підзаконні нормативно-правові акти, які регулюють питання електронного документообігу та електронних довірчих послуг
Expand Down
2 changes: 1 addition & 1 deletion docs/Zakon/law_general_list.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Закони та підзаконні нормативно-правові акти
##################
######################################################

.. toctree::
:maxdepth: 3
Expand Down
5 changes: 5 additions & 0 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
}
}

/* Navigation headers */
.wy-menu-vertical header,
.wy-menu-vertical p.caption {color: #32a55c}


/* Colors and text decoration.
For example, :black:`text in black` or :blink:`text blinking` in rST.
В общем сначала на странице прописываем руками роли а потом уже вызываем внутри текста, например :red:`красный текст`. Роли:
Expand Down
43 changes: 25 additions & 18 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

extensions = [
'sphinx.ext.autodoc',
'sphinxcontrib.contentui',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -120,31 +121,37 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# Пока закомментирую рабочий вариант:
#html_theme = 'sphinx_rtd_theme'

import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
else:
html_context = {
'css_files': [
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'_static/theme_overrides.css',
],
}
# Это самый рабочий вариант:
html_theme = 'sphinx_rtd_theme'

def setup(app):
app.add_stylesheet('theme_overrides.css')

# А это то, что я нагородил (не используй это):
# import os
# on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
#
# if not on_rtd: # only import and set the theme if we're building docs locally
# import sphinx_rtd_theme
# html_theme = 'sphinx_rtd_theme'
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# else:
# html_context = {
# 'css_files': [
# 'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
# 'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
# '_static/theme_overrides.css',
# ],
# }

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.

html_theme_options = {
'logo_only': True
'logo_only': True,
'display_version': False
}

# Add any paths that contain custom themes here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/general/Spravochnik_torgovyh_setej_Ukraina.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
####################################################
Справочник торговых сетей
Довідник торгових мереж
####################################################


Expand Down
2 changes: 1 addition & 1 deletion docs/general/Zapolnenie_Tovarnogo_spravochnika.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
####################################################
Заполнение Товарного Справочника (додати картинки)
Заповнення Товарного Довідника (додати картинки)
####################################################

.. contents:: Содержание:
Expand Down
2 changes: 1 addition & 1 deletion docs/integration/integration_list.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Интеграция
Інтеграція
###########

.. toctree::
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Интеграция 1C
Інтеграція 1C
###########

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/integration_2_0/integration_2_0_list.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Интеграция
Інтеграція
###########

.. toctree::
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-e git://github.com/ulrobix/sphinxcontrib-contentui.git#egg=sphinxcontrib-contentui
150 changes: 76 additions & 74 deletions docs/retail/Obmin_e_dokumentami_s_Meest_Express.rst

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,50 +1,53 @@
####################################################################################
Формирование документа «Инструкция по транспортировке» (IFTMIN) на платформе
####################################################################################
#############################################################################################################
Формування документа «Інструкція з транспортування» (IFTMIN) на платформі (додати картинки)
#############################################################################################################
---------

.. contents:: Содержание:
.. contents:: Зміст:
:depth: 6

---------

Введение
Вступ
====================================
Данная инструкция описывает порядок формирования и отправки документа «**Инструкция по транспортировке**» (IFTMIN).

Формирование документа «Инструкция по транспортировке» (IFTMIN)
Дана інструкція описує порядок формування та відправки документа «**Інструкція з транспортування**» (IFTMIN).

Формування документа «Інструкція з транспортування» (IFTMIN)
=====================================================================
Создание документа происходит на основании «**Заказа**».

Перейдите в раздел «**Входящие**», для удобства поиска выберите в фильтре необходимую сеть и тип документа «**Заказ**».
Створення документа відбувається на підставі «**Замовлення**».

Перейдіть в розділ «**Вхідні**», для зручності пошуку виберіть в фільтрі необхідну мережу і тип документа «**Замовлення**».

.. image:: pics_formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme/formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme_01.png
:align: center

В открытом документе, нажмите кнопку «**Сформировать**» и выберете из списка документ «**Инструкция по транспортировке**».
У відкритому документі, натисніть кнопку «**Сформувати**» і виберіть зі списку документ «**Інструкція з транспортування**».

.. image:: pics_formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme/formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme_02.png
:align: center

В окне появится **Форма** для заполнения необходимых реквизитов документа. Все поля, обозначены красной звёздочкой ***** обязательны для заполнения.
У вікні з'явиться **Форма** для заповнення необхідних реквізитів документа. Всі поля, позначені червоною зірочкою ***** обов'язкові для заповнення.

Заполнение документа (IFTMIN)
Заповнення документа (IFTMIN)
========================================================
#. **Номер** документа должен быть следующего формата **X_Y**, где:

- **Х - это порядковый номер машины, на поставку**
- **Y - это общее количество машин, на поставку**
#. **Номер** документа повинен бути наступного формату **X_Y**, де:

- **Х - це порядковий номер машини, на поставку**
- **Y - це загальна кількість машин, на поставку**

Важно, для каждой машины на поставку в один день должен быть индивидуальный номер машины. Две машины с одинаковым номером машины будут группироваться в одну
Важливо, для кожної машини на поставку в один день повинен бути індивідуальний номер машини. Дві машини з однаковим номером машини будуть групуватися в одну.

Минимальное к-во 1, максимальное - 99.
Х должен быть меньше или равно Y. *Например: 2_5*
Мінімальна к-ть 1, Максимальна - 99.
Х повинен бути менше або рівним Y. *Наприклад: 2_5*

2. **Дата** — фактическая дата отправки поставки
#. **Номер заказа** — подтягивается автоматически из заказа
#. **Фактическое кол-во паллет** — отгружаемое кол-во паллет в грузовой транспорт
#. **Максимальное кол-во паллет** — максимальная вместимость паллет в грузовой транспорт
#. **Грузоподъемность** — масса груза, на перевозку которого рассчитано транспортное средство
2. **Дата** - фактична дата відправки поставки
#. **Номер замовлення** - підтягується автоматично із замовлення
#. **Фактична кількість палет** - кількість палет, що відвантажується в вантажний транспорт
#. **Максимальна кількість палет** - максимальна місткість палет (вантажний транспорт)
#. **Вантажопідйомність** - маса вантажу, на перевезення якого розрахований транспортний засіб

.. image:: pics_formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme/formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme_03.png
:align: center
Expand All @@ -54,6 +57,6 @@
.. image:: pics_formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme/formirovanie_dokumenta_Instrukcija_po_transportirovke_IFTMIN_na_platforme_04.png
:align: center

Отправленный документ автоматически попадает в папку «**Отправленные**» и будет находится в цепочке документов вместе с заказом и подтверждением заказа.
Відправлений документ автоматично потрапляє в папку «**Відправлені**» і буде знаходиться в ланцюжку документів разом із **Замовленням** і **Підтвердженням замовлення**.

.. include:: kontakti.rst
2 changes: 1 addition & 1 deletion docs/retail/kontakti.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Служба Технической Поддержки
Служба Технічної Підтримки
****************************

* edi-n.com
Expand Down
4 changes: 2 additions & 2 deletions docs/retail/retail_list.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Формирование документов EDIN
#########
Формування документів EDIN
####################################

.. toctree::
:maxdepth: 1
Expand Down
4 changes: 2 additions & 2 deletions docs/retail_2.0/retail_2_0_list.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Формирование документов EDIN 2.0
#########
Формування документів EDIN 2.0
#############################################

.. toctree::
:maxdepth: 1
Expand Down
14 changes: 14 additions & 0 deletions sphinxcontrib/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
"""
sphinxcontrib
~~~~~~~~~~~~~
This package is a namespace package that contains all extensions
distributed in the ``sphinx-contrib`` distribution.
:copyright: Copyright 2007-2009 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""

__import__('pkg_resources').declare_namespace(__name__)

Binary file added sphinxcontrib/__pycache__/__init__.cpython-35.pyc
Binary file not shown.
132 changes: 132 additions & 0 deletions sphinxcontrib/contentui.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/*
* right column for sphinx_rtd_theme
*/
.clear {
clear: both;
}

@media screen and (min-width: 1300px) {
.wy-nav-content {
max-width: none;
}

.with-columns .wy-nav-content {
background: linear-gradient(90deg, #fcfcfc 52%, #eeeeee 52%);
}

.with-columns .wy-nav-content .wy-breadcrumbs ,
.with-columns .section > h1,
.with-columns .section > h2,
.with-columns .section > h3,
.with-columns footer {
width: 50%;
}

.with-columns .section {
clear: both;
}

.left-col.container {
float: left;
width: 50%;
margin-right: 4%;
}

.right-col.container {
float: left;
width: 45%;
}

/*
* tab selector fixed in top
*/
.with-columns .contenttab-selector.in-right-col {
display: block;
position: fixed;
top: 0;
right: 0;
width: calc(48% - 144px);
background: #444;
padding: 5px 10px;
}

}

/**
*
*/
.toggle-tab {
margin-bottom: 40px;
}

.toggle-header {
display: block;
clear: both;
cursor: pointer;
}
.toggle-header strong {color: #2980b9 }

.toggle-header:after {
content: " ▼";
}

.toggle-header.open:after {
content: " ▲";
}

.toggle-content {
display: none;
margin-bottom: 20px;
}

/*
* tab menu
*/
ul.contenttab-selector {
display:block;
list-style-type: none;
margin: 0 0 10px;
padding: 0;
line-height: normal;
overflow: auto;
}
ul.contenttab-selector li {
display: block;
cursor: pointer;
font-weight: bold;
margin: 0 5px 0 0;
padding: 5px 10px;
float: left;
background-color: #999;
color: #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-khtml-border-radius: 5px;
}
.rst-content .section ul.contenttab-selector,
.rst-content .toctree-wrapper ul.contenttab-selector,
article ul.contenttab-selector{
line-height: normal;
margin: 0 0 10px;
}
.rst-content .section ul.contenttab-selector li,
.rst-content .toctree-wrapper ul.contenttab-selector li,
article ul.contenttab-selector li{
margin-left: 0;
}
ul.contenttab-selector li:hover {
background-color: #777;
}
ul.contenttab-selector li.selected {
background-color: #2980b9;
}
ul.contenttab-selector li.selected:hover {
background-color: #333;
}
.content-tabs {
margin: 10px 0 20px 0;
}
.tab-content {
clear: both;
}

0 comments on commit 6e3cb0e

Please sign in to comment.