Skip to content

Commit

Permalink
optimize demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebabarus committed Sep 10, 2020
1 parent ad12f50 commit e69972a
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 53 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two ./venv/bin/python -msphinx
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SPHINXBUILD ?= ./venv/bin/python -msphinx
SOURCEDIR = source
BUILDDIR = build

Expand Down
60 changes: 8 additions & 52 deletions docs/source/extension/demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,56 +88,12 @@ Keep in mind that during this demo session the local disk of application server
* downloadable products attachments are stored in Amazon S3, private bucket


Catalog product image
---------------------

Update catalog product image directly in Minio - compatible with S3 API media storage service.

.. image:: _static/gif/catalog-product-photo.gif
:height: 300px
:alt: Catalog product edit

Resized images are served on demand directly from storage service, without checking application local disk.

.. image:: _static/gif/product-resized-image-cache.gif
:height: 300px
:alt: Catalog product edit


Downloadable attachments on products
------------------------------------

Downloadable product attachments are saved in Amazon S3 storage service, in a private bucket.

.. image:: _static/gif/downloadable-products.gif
:height: 300px
:alt: Downloadable product files


Products CMS content
---------------------

See the direct url of the image saved in Mino storage service, and the relative path used in admin panel.

.. image:: _static/gif/product-cms.gif
:height: 300px
:alt: Product cms images


CMS pages content
-----------------

Images in CMS pages are only saved in storage service, and served using the public URL of the storage service.

.. image:: _static/gif/cms-pages-images.gif
:height: 300px
:alt: Cms pages images


CMS blocks content
------------------

.. image:: _static/gif/cms-blocks.gif
:height: 300px
:alt: Cms blocks images
.. toctree::
:caption: Find more demo here

demo/1
demo/2
demo/3
demo/4
demo/5

15 changes: 15 additions & 0 deletions docs/source/extension/demo/1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

Catalog product image
---------------------

Update catalog product image directly in Minio - compatible with S3 API media storage service.

.. image:: ./../_static/gif/catalog-product-photo.gif
:height: 300px
:alt: Catalog product edit

Resized images are served on demand directly from storage service, without checking application local disk.

.. image:: ./../_static/gif/product-resized-image-cache.gif
:height: 300px
:alt: Catalog product edit
10 changes: 10 additions & 0 deletions docs/source/extension/demo/2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@


Downloadable attachments on products
------------------------------------

Downloadable product attachments are saved in Amazon S3 storage service, in a private bucket.

.. image:: ./../_static/gif/downloadable-products.gif
:height: 300px
:alt: Downloadable product files
11 changes: 11 additions & 0 deletions docs/source/extension/demo/3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


Products CMS content
---------------------

See the direct url of the image saved in Mino storage service, and the relative path used in admin panel.

.. image:: ./../_static/gif/product-cms.gif
:height: 300px
:alt: Product cms images

10 changes: 10 additions & 0 deletions docs/source/extension/demo/4.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

CMS pages content
-----------------

Images in CMS pages are only saved in storage service, and served using the public URL of the storage service.

.. image:: ./../_static/gif/cms-pages-images.gif
:height: 300px
:alt: Cms pages images

8 changes: 8 additions & 0 deletions docs/source/extension/demo/5.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

CMS blocks content
------------------

.. image:: ./../_static/gif/cms-blocks.gif
:height: 300px
:alt: Cms blocks images

0 comments on commit e69972a

Please sign in to comment.