diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8eadd382398089..b750d8728f65c8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,10 +15,12 @@ on: paths: - 'llvm/docs/**' - 'clang/docs/**' + - 'lldb/docs/**' pull_request: paths: - 'llvm/docs/**' - 'clang/docs/**' + - 'lldb/docs/**' jobs: check-docs-build: @@ -47,6 +49,8 @@ jobs: - 'llvm/docs/**' clang: - 'clang/docs/**' + lldb: + - 'lldb/docs/**' - name: Setup Python env uses: actions/setup-python@v4 with: @@ -58,15 +62,21 @@ jobs: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y cmake ninja-build + # swig and graphviz are lldb specific dependencies + sudo apt-get install -y cmake ninja-build swig graphviz - name: Build LLVM docs if: steps.docs-changed-subprojects.outputs.llvm_any_changed == 'true' run: | - cmake -B llvm-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_SPHINX=ON -DSPHINX_OUTPUT_HTML=ON -DSPHINX_OUTPUT_MAN=ON ./llvm + cmake -B llvm-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_SPHINX=ON ./llvm TZ=UTC ninja -C llvm-build docs-llvm-html docs-llvm-man - name: Build Clang docs if: steps.docs-changed-subprojects.outputs.clang_any_changed == 'true' run: | - cmake -B clang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_SPHINX=ON -DSPHINX_OUTPUT_HTML=ON -DSPHINX_OUTPUT_MAN=ON ./llvm + cmake -B clang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_SPHINX=ON ./llvm TZ=UTC ninja -C clang-build docs-clang-html docs-clang-man + - name: Build LLDB docs + if: steps.docs-changed-subprojects.outputs.lldb_any_changed == 'true' + run: | + cmake -B lldb-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;lldb" -DLLVM_ENABLE_SPHINX=ON ./llvm + TZ=UTC ninja -C lldb-build docs-lldb-html docs-lldb-man diff --git a/lldb/docs/index.rst b/lldb/docs/index.rst index 2fff25b27b974e..8c1a455168d5b9 100644 --- a/lldb/docs/index.rst +++ b/lldb/docs/index.rst @@ -3,6 +3,8 @@ The LLDB Debugger ================= +Just testing + Welcome to the LLDB documentation! LLDB is a next generation, high-performance debugger. It is built as a set of