Skip to content

Commit

Permalink
Issue IMCMS-522: Add and update documentation by RB-6
Browse files Browse the repository at this point in the history
- Update warnings
  • Loading branch information
VictorPavfurious committed Oct 19, 2020
1 parent 550f3ee commit 6fc5c6b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ In this article:
- `Introduction`_
- `Use API`_

.. warning::
This init instance over Imcms.getServices().getCommonContentService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getCommonContentService() working from 10 version

Introduction
------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ In this article:
- `The most important setters/getters for Document`_


.. warning::
This init instance over Imcms.getServices().getDocumentService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getDocumentService() working from 10 version

Introduction
------------
Expand Down
3 changes: 1 addition & 2 deletions docs/API-documentation/service-beans/documentUrlService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ DocumentUrlService
==================


.. warning::
This init instance over Imcms.getServices().getDocumentUrlService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getDocumentUrlService() working from 10 version

Init or get instance DocumentUrlService over global Imcms.getServices ``Imcms.getServices().getDocumentUrlService();``

Expand Down
4 changes: 2 additions & 2 deletions docs/API-documentation/service-beans/imageFileService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In order to init ImageFileService need to use - ``Imcms.getServices().getManage

Use API
-------
.. code-block:: java
.. code-block:: jsp
List<ImageFileDTO> saveNewImageFiles(String folder, List<MultipartFile> files) throws IOException;
Expand All @@ -18,7 +18,7 @@ Use API
Description how convert file to MockMultipartFile
"""""""""""""""""""""""""""""""""""""""""""""""""

.. code-block:: java
.. code-block:: jsp
String name = "testFile";
String originalName = "img-test.jpg";
Expand Down
3 changes: 1 addition & 2 deletions docs/API-documentation/service-beans/imageService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ In this article:
- `Description fields imageDTO`_


.. warning::
This init instance over Imcms.getServices().getImageService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getImageService() working from 10 version

Use API
-------
Expand Down
3 changes: 1 addition & 2 deletions docs/API-documentation/service-beans/loopService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ In this article:
- `Example usages loopService API`_


.. warning::
This init instance over Imcms.getServices().getLoopService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getLoopService() working from 10 version

Use API
-------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ TextDocumentTemplateService

Init or get instance TextDocumentTemplateService over global Imcms.getServices ``Imcms.getServices().getTextDocumentTemplateService();``

.. warning::
This init instance over Imcms.getServices().getTextDocumentTemplateService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getTextDocumentTemplateService() working from 10 version

Use API
-------
Expand Down
3 changes: 1 addition & 2 deletions docs/API-documentation/service-beans/userService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ UserService

Init or get instance UserService over global Imcms.getServices ``Imcms.getServices().getUserService();``

.. warning::
This init instance over Imcms.getServices().getUserService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getUserService() working from 10 version

.. code-block:: jsp
Expand Down
3 changes: 1 addition & 2 deletions docs/API-documentation/service-beans/versionService.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ VersionService

Init or get instance VersionService over global Imcms.getServices ``Imcms.getServices().getVersionService();``

.. warning::
This init instance over Imcms.getServices().getVersionService() working from 10 version
.. warning:: This init instance over Imcms.getServices().getVersionService() working from 10 version

.. code-block:: jsp
Expand Down

0 comments on commit 6fc5c6b

Please sign in to comment.