From b23cae7aed4767f43812c768da5e19103683bfbd Mon Sep 17 00:00:00 2001 From: ravindk89 Date: Thu, 20 May 2021 18:34:46 -0400 Subject: [PATCH] Adding lightboxed images, fixing typo --- requirements.txt | 3 ++- source/concepts/erasure-coding.rst | 2 +- source/conf.py | 9 ++++++++- source/reference/minio-server/minio-server.rst | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 89d78bfe..c148083d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ git+https://github.com/ravindk89/sphinx-tabs recommonmark == 0.6.0 sphinx-markdown-tables == 0.0.15 Sphinx-Substitution-Extensions == 2020.9.30.0 -sphinx-togglebutton === 0.2.3 \ No newline at end of file +sphinx-togglebutton === 0.2.3 +sphinxcontrib-images === 0.9.3 \ No newline at end of file diff --git a/source/concepts/erasure-coding.rst b/source/concepts/erasure-coding.rst index 594c9aab..4d114863 100644 --- a/source/concepts/erasure-coding.rst +++ b/source/concepts/erasure-coding.rst @@ -232,7 +232,7 @@ MinIO provides the following two storage classes: You can configure the ``REDUCED_REDUNDANCY`` storage class parity using either: - - The :envvar:`MINIO_STORAGE_CLASS_REDUCED` environment variable, *or* + - The :envvar:`MINIO_STORAGE_CLASS_RRS` environment variable, *or* - The :mc:`mc admin config` command to modify the ``storage_class.rrs`` configuration setting. diff --git a/source/conf.py b/source/conf.py index 9265f4b1..95ca69bb 100644 --- a/source/conf.py +++ b/source/conf.py @@ -44,7 +44,8 @@ extensions = [ 'sphinx_markdown_tables', 'sphinx-prompt', 'sphinx_substitution_extensions', - 'sphinx_togglebutton' + 'sphinx_togglebutton', + 'sphinxcontrib.images', ] # -- External Links @@ -80,6 +81,12 @@ exclude_patterns = ['includes/*.rst'] copybutton_selector = "div.copyable pre" +# sphinxcontrib-images customization + +images_config = { + 'override_image_directive' : True +} + # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for diff --git a/source/reference/minio-server/minio-server.rst b/source/reference/minio-server/minio-server.rst index 3a7915d0..26caaf2f 100644 --- a/source/reference/minio-server/minio-server.rst +++ b/source/reference/minio-server/minio-server.rst @@ -340,7 +340,7 @@ refers to the specific storage tier on which to store a given object. Defaults to ``4``. -.. envvar:: MINIO_STORAGE_CLASS_REDUCED +.. envvar:: MINIO_STORAGE_CLASS_RRS The number of :ref:`parity blocks ` to create for objects with the reduced redundancy storage class. MinIO uses the ``EC:N``