mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Allow YouTube video demo links to be added to appropriate pgAdmin documentation. #5563
This commit is contained in:
parent
45aa274a9e
commit
cbea043ca1
3
.github/workflows/check-doc-build.yml
vendored
3
.github/workflows/check-doc-build.yml
vendored
@ -32,5 +32,8 @@ jobs:
|
|||||||
- name: Install sphinx
|
- name: Install sphinx
|
||||||
run: pip install sphinx
|
run: pip install sphinx
|
||||||
|
|
||||||
|
- name: Install sphinx youtube
|
||||||
|
run: pip install sphinxcontrib-youtube
|
||||||
|
|
||||||
- name: Check the documentation
|
- name: Check the documentation
|
||||||
run: make docs
|
run: make docs
|
||||||
|
1
Make.bat
1
Make.bat
@ -247,6 +247,7 @@ REM Main build sequence Ends
|
|||||||
|
|
||||||
ECHO Building docs...
|
ECHO Building docs...
|
||||||
CALL pip install sphinx || EXIT /B 1
|
CALL pip install sphinx || EXIT /B 1
|
||||||
|
CALL pip install sphinxcontrib-youtube || EXIT /B 1
|
||||||
MKDIR "%BUILDROOT%\docs\en_US\html"
|
MKDIR "%BUILDROOT%\docs\en_US\html"
|
||||||
CD "%WD%\docs\en_US"
|
CD "%WD%\docs\en_US"
|
||||||
CALL "%TMPDIR%\venv\Scripts\python.exe" build_code_snippet.py || EXIT /B 1
|
CALL "%TMPDIR%\venv\Scripts\python.exe" build_code_snippet.py || EXIT /B 1
|
||||||
|
@ -206,6 +206,7 @@ virtual environment. This can be installed with the pip package manager:
|
|||||||
```bash
|
```bash
|
||||||
$ source venv/bin/activate
|
$ source venv/bin/activate
|
||||||
(venv) $ pip install Sphinx
|
(venv) $ pip install Sphinx
|
||||||
|
(venv) $ pip install sphinxcontrib-youtube
|
||||||
```
|
```
|
||||||
|
|
||||||
The docs can then be built using the Makefile in *$PGADMIN4_SRC*, e.g.
|
The docs can then be built using the Makefile in *$PGADMIN4_SRC*, e.g.
|
||||||
|
@ -36,7 +36,7 @@ import config
|
|||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = []
|
extensions = ["sphinxcontrib.youtube"]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
@ -47,3 +47,9 @@ Use the **Stop Process** button to stop the Backup process.
|
|||||||
.. note:: If you are running *pgAdmin* in *Server Mode* you can click on the |sm_icon| icon in the process watcher window to open the file location in the Storage Manager. You can use the :ref:`Storage Manager <storage_manager>` to download the backup file on the client machine .
|
.. note:: If you are running *pgAdmin* in *Server Mode* you can click on the |sm_icon| icon in the process watcher window to open the file location in the Storage Manager. You can use the :ref:`Storage Manager <storage_manager>` to download the backup file on the client machine .
|
||||||
|
|
||||||
.. |sm_icon| image:: images/sm_icon.png
|
.. |sm_icon| image:: images/sm_icon.png
|
||||||
|
|
||||||
|
Watch the demo
|
||||||
|
*********************
|
||||||
|
.. youtube:: jjP6O_xuHxE
|
||||||
|
:align: center
|
||||||
|
:width: 800
|
@ -155,6 +155,7 @@ want to build an installer.
|
|||||||
python -m venv venv
|
python -m venv venv
|
||||||
pip install -r web\regression\requirements.txt
|
pip install -r web\regression\requirements.txt
|
||||||
pip install sphinx
|
pip install sphinx
|
||||||
|
pip install sphinxcontrib-youtube
|
||||||
|
|
||||||
You should now be able to run the pgAdmin Python application, or build the
|
You should now be able to run the pgAdmin Python application, or build the
|
||||||
desktop runtime.
|
desktop runtime.
|
||||||
|
Loading…
Reference in New Issue
Block a user