Skip to content

sftpplus/sftpplus-docs

Repository files navigation

docs.sftpplus.com

https://licensebuttons.net/l/by-nc-sa/3.0/88x31.png

The documentation for the SFTPPlus product.

There is an update-docs.sh script that should be called, while the chevah/server repo is checkout at the release branch.

$ bash update-docs.sh ../PATH/TO/PRODUCT-REPO

You should push the changes on the main branch. The main branch will be always updated with the latest release. You should also create a version dedicated branch with the format v4-18-0 and push the changes for that version.

To build the documentation you need a Python3.12 (or newer) environment.:

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
sphinx-build -b html src/doc_source/ deploy

To test the docs for any errors and view in a browser:

sphinx-build -b html -W --keep-going src/doc_source/ deploy
python -m http.server -d deploy/
firefox http://localhost:8000

Generate PDF file

Update doc_source/conf.py to load local theme files:

html_theme = 'sphinx_rtd_theme'

Generate a single HTML page and then from a browser "print" it as PDF.:

sphinx-build -b singlehtml doc_source/ deploy