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 9
9
* .css.map
10
10
deployment-report.json
11
11
build /
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:
115
115
/usr/share/doc/hndocsnext/README.md
116
116
/usr/share/doc/hndocsnext/changelog.gz
117
117
```
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 21
21
# -- Project information -----------------------------------------------------
22
22
23
23
project = "Docs"
24
- copyright = "2023 , Hypernode"
24
+ copyright = "2024 , Hypernode"
25
25
author = "Hypernode"
26
+ version = "https://docs.hypernode.com/"
26
27
27
28
# The full version, including alpha/beta/rc tags
28
29
release = "dev"
47
48
"hypernode.sphinx.extensions.meta_robots" ,
48
49
"hypernode.sphinx.extensions.github_actions_logging" ,
49
50
"sphinxcontrib.mermaid" ,
51
+ "rst2pdf.pdfbuilder" ,
50
52
]
51
53
52
54
# 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
11
11
sphinx-sitemap==2.4.0
12
12
GitPython==3.1.30
13
13
sphinxcontrib-mermaid==0.7.1
14
+ rst2pdf==0.99
14
15
15
16
# hypernode/ requirements
16
17
beautifulsoup4==4.11.1
You can’t perform that action at this time.
0 commit comments