File tree Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,19 @@ jobs:
24
24
release_version=$(echo "${{ github.ref_name }}" | sed 's/llvmorg-//g')
25
25
echo "release-version=$release_version" >> "$GITHUB_OUTPUT"
26
26
27
+ - name : Checkout LLVM
28
+ uses : actions/checkout@v4
29
+
27
30
- name : Install Dependencies
28
31
run : |
29
32
sudo apt-get update
30
33
sudo apt-get install -y \
31
34
doxygen \
32
35
graphviz \
33
36
python3-github \
34
- python3-myst-parser \
35
- python3-sphinx \
36
37
ninja-build \
37
38
texlive-font-utils
38
- pip3 install --user sphinx-markdown-tables
39
-
40
- - name : Checkout LLVM
41
- uses : actions/checkout@v4
39
+ pip3 install --user -r ./llvm/docs/requirements.txt
42
40
43
41
- name : Create Release
44
42
run : |
Original file line number Diff line number Diff line change @@ -171,20 +171,12 @@ Generating the documentation
171
171
You can generate the HTML documentation from the sources locally if you want to
172
172
see what they would look like. In addition to the normal
173
173
`build tools <docs/GettingStarted.html >`_
174
- you need to install `Sphinx `_ and the
175
- `myst-parser <https://myst-parser.readthedocs.io/en/latest/ >`_ extension.
176
-
177
- On Debian you can install these with:
178
-
179
- .. code-block :: console
180
-
181
- sudo apt install -y sphinx-doc python3-myst-parser
182
-
183
- On Ubuntu use pip to get an up-to-date version of python3-myst-parser:
174
+ you need to install `Sphinx `_ and the necessary extensions
175
+ using the following command inside the ``llvm-project `` checkout:
184
176
185
177
.. code-block :: console
186
178
187
- sudo pip install sphinx myst-parser
179
+ pip install --user -r ./llvm/docs/requirements.txt
188
180
189
181
Then run cmake to build the documentation inside the ``llvm-project `` checkout:
190
182
Original file line number Diff line number Diff line change
1
+ sphinx
2
+ myst-parser
3
+ sphinx-markdown-tables
4
+ sphinx-automodapi
5
+ furo
Original file line number Diff line number Diff line change 11
11
#
12
12
# Required Packages:
13
13
# * Fedora:
14
- # * dnf install doxygen python3-sphinx texlive-epstopdf ghostscript \
14
+ # * dnf install doxygen texlive-epstopdf ghostscript \
15
15
# ninja-build gcc-c++
16
- # * pip install sphinx-markdown-tables
16
+ # * pip install --user -r ./llvm/docs/requirements.txt
17
17
# * Ubuntu:
18
- # * apt-get install doxygen sphinx-common python3-myst-parser \
18
+ # * apt-get install doxygen \
19
19
# ninja-build graphviz texlive-font-utils
20
- # * pip install sphinx-markdown-tables
20
+ # * pip install --user -r ./llvm/docs/requirements.txt
21
21
# ===------------------------------------------------------------------------===#
22
22
23
23
set -ex
You can’t perform that action at this time.
0 commit comments