This is from the official Sphinx documentation. If you have pdfTex tool installed in your machine, all you need is:

$ make latexpdf

Then, the generated pdf file(s) will be under _build/latex/<PROJECT-NAME>.pdf

So, the complete process from scratch would be as follows:

$ pip install -U sphinx # install the package
$ sphinx-quickstart # create a new project (answer the questions)
$ make latexpdf # compile and generate pdf file

Note that you may also "optionally" install whatever extensions needed by editing the file config.py

NOTE: This answer assumes LaTeX engine is installed on your machine.

Answer from Aziz Alto on Stack Overflow
🌐
Readthedocs
sphinx-simplepdf.readthedocs.io
Sphinx-SimplePDF — Sphinx-SimplePDF documentation
This Sphinx extension provides an easy way to build beautiful PDFs based on CSS rules.
🌐
Sphinx
sphinx-doc.org › en › master › usage › quickstart.html
Getting started — Sphinx documentation
Sphinx is a documentation generator ... is, if you have a directory containing a bunch of reStructuredText or Markdown documents, Sphinx can generate a series of HTML files, a PDF file (via LaTeX), man pages and much more....
🌐
GitHub
github.com › iSOLveIT › sphinx-pdf-generate
GitHub - iSOLveIT/sphinx-pdf-generate: A Sphinx extension to generate individual PDF files for each documentation page. · GitHub
Sphinx-PDF-Generate extension generates separate PDF files from each HTML page derived from your Sphinx RST files page in your Sphinx documentation using WeasyPrint.
Author: iSOLveIT
🌐
Sphinx
sphinx-doc.org › _ › downloads › en › master › pdf pdf
Sphinx Documentation Release 9.1.1 the Sphinx developers Jun 15, 2026
August 30, 2023 - turedText or Markdown documents, Sphinx can generate a series of HTML files, a PDF file (via LaTeX), man pages
Starred by 54 users
Forked by 29 users
Languages: Python 63.5% | SCSS 28.9% | HTML 4.2% | Makefile 2.7% | CSS 0.7%
🌐
GitHub
gist.github.com › alfredodeza › 7fb5c667addb1c6963b9
pdf output from sphinx with rst2pdf · GitHub
how can i add button or link to generate pdf, in sphinx generated document instead of using terminal
🌐
Read the Docs
media.readthedocs.org › pdf › sphinx › master › sphinx.pdf pdf
Sphinx Documentation Release 9.1.1 the Sphinx developers Aug 06, 2026
July 22, 2026 - turedText or Markdown documents, Sphinx can generate a series of HTML files, a PDF file (via LaTeX), man pages
Find elsewhere
🌐
PyPI
pypi.org › project › sphinx-pdf-generate
sphinx-pdf-generate · PyPI
May 17, 2023 - A Sphinx extension to generate individual PDF files for each documentation page.
      » pip install sphinx-pdf-generate
    
Published: Feb 28, 2024
Version: 0.0.4
🌐
KarChunT
karchunt.com › blog › convert-sphinx-to-pdf
Convert Sphinx Documentation to PDF | KarChunT
September 23, 2025 - But trust me, this method is a bit troublesome. ... This method is more straightforward and user-friendly. The sphinx-simplepdf extension simplifies the process of generating PDFs from Sphinx documentation.
🌐
Google Groups
groups.google.com › g › sphinx-users › c › r4ahhcagNK0
New PDF builder: Sphinx-SimplePDF
Hi all, just wanted to let you know that a new PDF builder is available, which hopefully makes some stuff easier regarding PDF generation: Sphinx-SimplePDF.
🌐
Readthedocs
sphinx-test-docs.readthedocs.io › en › latest › sphinxTut › render_pdf.html
Render PDF from RST — sphinxDoc 0.0.1 documentation
$ sudo apt install latexmk $ pdflatex project_name · Generate latex: $ sphinx-build -b latex sourcedir builddir/latex or, $ make latexpdf · $ sudo pip install rst2pdf or, $ sudo easy_install rst2pdf · Add an extension and pdf_documents to conf.py · extensions = ['rst2pdf.pdfbuilder'] pdf_documents = [('index', u'pdf name', u'Sample doc Title', u'author name')] Generate PDF ·
🌐
Readthedocs
sphinx-simplepdf.readthedocs.io › en › latest › _downloads › b7f58750273e059215e38486bce6e343 › Sphinx-SimplePDF.pdf pdf
Sphinx-SimplePDF Version 1.7.0 The simple PDF builder for Sphinx.
January 20, 2023 - For PDF/HTML specific content, use the if-builder directive. ... Sphinx-SimplePDF is based on WeasyPrint, which is not so easy to get installed on Windows.
Starred by 19 users
Forked by 6 users
Languages: Python 82.9% | SCSS 13.3% | Batchfile 2.1% | Makefile 1.7%
🌐
Conjuring Arts
store.conjuringarts.org › home › books › ebooks by instant download › magazines › phoenix › the ultimate sphinx pdf
The Ultimate Sphinx PDF - Conjuring Arts
The Ultimate Sphinx PDF - The complete file of The Sphinx. A fantastic resource! Vast quantities of information from magic’s Golden Age, 17,330 pages in color, fully text-searchable, with an electronic index - all at an exceptional value!
Price: $49.99
🌐
Sphinx
sphinx-doc.org › en › master › faq.html
Sphinx FAQ — Sphinx documentation
Read the Docs is a documentation hosting service based around Sphinx. They will host sphinx documentation, along with supporting a number of other features including version support, PDF generation, and more.
🌐
PyPI
pypi.org › project › sphinx-simplepdf
sphinx-simplepdf · PyPI
A Sphinx extension to build easily PDFs from a Sphinx project.
      » pip install sphinx-simplepdf
    
Published: Dec 02, 2025
Version: 1.7.0
🌐
Scribd
scribd.com › document › 425435095 › sphinx-pdf
Sphinx PDF | PDF | Python (Programming Language) | Linux Distribution
sphinx.pdf - Free download as PDF File (.pdf), Text File (.txt) or read online for free.
🌐
jmbhughes
jmbhughes.com › blog › auto-sphinx-pdf
jmbhughes • Automatically building Sphinx PDF in a GitHub Action
name: Documentation PDF Generation on: push: jobs: texlive: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.13' - name: Install Python dependencies run: | python -m pip install --upgrade pip pip install ".[docs]" - name: Install Node.js uses: actions/setup-node@v4 with: node-version: '20' - name: Install mermaid-cli run: npm install -g @mermaid-js/mermaid-cli - name: Build docs run: | sudo apt-get update sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk cd docs/ make latexpdf - name: Upload PDF uses: actions/upload-artifact@v4 with: name: documentation path: docs/_build/latex/*.pdf