Skip to content

Commit cdcfd96

Browse files
committed
list available previewers, explain where they come from #10506
1 parent d4b9b5b commit cdcfd96

File tree

1 file changed

+17
-1
lines changed
  • doc/sphinx-guides/source/container/running

1 file changed

+17
-1
lines changed

doc/sphinx-guides/source/container/running/demo.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,23 @@ Dataverse supports multiple Persistent ID (PID) providers. The ``compose.yml`` f
195195
File Previewers
196196
+++++++++++++++
197197

198-
By default, all available file previewers are enabled (see :ref:`file-previews` in the User Guide for details). If you want to specify fewer previewers, you can edit the ``compose.yml`` file. Look for the "INCLUDE_PREVIEWERS" line.
198+
By default, all available file previewers are enabled (see :ref:`file-previews` in the User Guide for details). Specifically, we enable all the previewers that are available in the `trivadis/dataverse-previewers-provider <https://hub.docker.com/r/trivadis/dataverse-previewers-provider>`_ image (`code <https://github.com/TrivadisPF/docker-register-dataverse-previewers>`_). You can run the following command to see a list of available previewers:
199+
200+
``docker run trivadis/dataverse-deploy-previewers:latest previewers``
201+
202+
You should expect to see output like this:
203+
204+
.. code-block:: text
205+
206+
name description
207+
----------------------------
208+
text Read the text file.
209+
html View the html file.
210+
...
211+
212+
If you want to specify fewer previewers, you can edit the ``compose.yml`` file. Uncomment "INCLUDE_PREVIEWERS" and list the previewers you want, separated by commas, like this:
213+
214+
``INCLUDE_PREVIEWERS=text,html,pdf,csv``
199215

200216
Next Steps
201217
----------

0 commit comments

Comments
 (0)