From ecbe2a78b06467e9006ddcf115944b834c1845e1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Tosca Villanueva Date: Thu, 13 Jun 2024 15:22:02 -0400 Subject: [PATCH] Adds functionality to accordions --- docs/Sphinx-guides/requirements.txt | 11 +++++++---- docs/Sphinx-guides/source/conf.py | 2 +- .../source/developerGuide/localEnvironment.md | 11 +++++++++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/Sphinx-guides/requirements.txt b/docs/Sphinx-guides/requirements.txt index d50ebce..ae19a73 100755 --- a/docs/Sphinx-guides/requirements.txt +++ b/docs/Sphinx-guides/requirements.txt @@ -3,11 +3,14 @@ Sphinx==7.2.6 # inline icons sphinx-icon==0.1.2 +# Cloud theme +sphinx-book-theme==1.1.2 + +# Sphinx design +sphinx_design==0.6.0 + # Markdown support myst-parser==2.0.0 # tabs -sphinx-tabs==3.4.5 - -# Cloud theme -sphinx-book-theme==1.1.2 +sphinx-tabs==3.4.5 \ No newline at end of file diff --git a/docs/Sphinx-guides/source/conf.py b/docs/Sphinx-guides/source/conf.py index deec359..843acda 100644 --- a/docs/Sphinx-guides/source/conf.py +++ b/docs/Sphinx-guides/source/conf.py @@ -14,7 +14,7 @@ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ["myst_parser"] +extensions = ["myst_parser", "sphinx_design"] templates_path = ['_templates'] exclude_patterns = [] diff --git a/docs/Sphinx-guides/source/developerGuide/localEnvironment.md b/docs/Sphinx-guides/source/developerGuide/localEnvironment.md index c6efce3..bd1cd15 100644 --- a/docs/Sphinx-guides/source/developerGuide/localEnvironment.md +++ b/docs/Sphinx-guides/source/developerGuide/localEnvironment.md @@ -44,13 +44,20 @@ Follow the on-screen instruction for the one time installation. More information Database: ojs ``` - OAI settings and beacon defaults are good. - ![Sample installation settings](/img/ojs-installation-settings.png) + +```{dropdown} Sample installation settings +[![Sample installation settings](/img/ojs-installation-settings.png)](/img/ojs-installation-settings.png) +``` + ## Post install tasks After the initial installation of OJS, we need to create a basic OJS configuration to start using the system. Create a journal. OJS supports multiple journals within a single installation. We need to create one journal. -- [Sample journal settings](/img/ojs-create-journal.png) + +```{dropdown} Sample journal settings +[![Sample journal settings](/img/ojs-create-journal.png)](/img/ojs-create-journal.png) +``` Enable the PPR plugins. These are disabled by default. - To enable the PPR plugin => ``Website > Plugins > Generic Plugins > IQSS Peer Pre-Review Program Plugin``