File tree Expand file tree Collapse file tree 5 files changed +22
-1
lines changed
Expand file tree Collapse file tree 5 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 99* .css.map
1010deployment-report.json
1111build /
12+ venv /
Original file line number Diff line number Diff line change @@ -115,3 +115,12 @@ To inspect the contents of the deb archive you can run:
115115/usr/share/doc/hndocsnext/README.md
116116/usr/share/doc/hndocsnext/changelog.gz
117117```
118+
119+ ## Build as PDF
120+
121+ To build the documentation as a single PDF file, run the following command:
122+ ```
123+ bin/build_pdf
124+ ```
125+
126+ The built PDF will then be in ` docs/_build/pdf/ ` .
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ pushd docs
6+ make pdf
7+ echo " pdf located at $( realpath _build/pdf/Python.pdf) "
8+ popd
Original file line number Diff line number Diff line change 2121# -- Project information -----------------------------------------------------
2222
2323project = "Docs"
24- copyright = "2023 , Hypernode"
24+ copyright = "2024 , Hypernode"
2525author = "Hypernode"
26+ version = "https://docs.hypernode.com/"
2627
2728# The full version, including alpha/beta/rc tags
2829release = "dev"
4748 "hypernode.sphinx.extensions.meta_robots" ,
4849 "hypernode.sphinx.extensions.github_actions_logging" ,
4950 "sphinxcontrib.mermaid" ,
51+ "rst2pdf.pdfbuilder" ,
5052]
5153
5254# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ sphinx-notfound-page==0.8.3
1111sphinx-sitemap==2.4.0
1212GitPython==3.1.30
1313sphinxcontrib-mermaid==0.7.1
14+ rst2pdf==0.99
1415
1516# hypernode/ requirements
1617beautifulsoup4==4.11.1
You can’t perform that action at this time.
0 commit comments