From 9c7f4b5cbd638c9d1b9f9f62969b5f85600f5d6d Mon Sep 17 00:00:00 2001 From: Suren Gabrielyan Date: Tue, 16 Jan 2024 13:21:42 +0400 Subject: [PATCH] docs(common): Added package requirements.txt for esp-docs --- .github/workflows/publish-docs-component.yml | 4 ++-- docs/requirements.txt | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 docs/requirements.txt diff --git a/.github/workflows/publish-docs-component.yml b/.github/workflows/publish-docs-component.yml index 0dc1a8ba18f..b215c6897d3 100644 --- a/.github/workflows/publish-docs-component.yml +++ b/.github/workflows/publish-docs-component.yml @@ -17,7 +17,7 @@ jobs: name: Publish Tag, Release, Docs, Component runs-on: ubuntu-latest # Skip running on forks since it won't have access to secrets - if: github.repository == 'espressif/esp-protocols' +# if: github.repository == 'espressif/esp-protocols' steps: - name: Checkout esp-protocols uses: actions/checkout@v3 @@ -48,7 +48,7 @@ jobs: run: | sudo apt-get update sudo apt-get -y install doxygen clang python3-pip - python -m pip install breathe recommonmark esp-docs==1.4.1 + python -m pip install -r docs/requirements.txt for comp in `ls components`; do if [[ -d $GITHUB_WORKSPACE/docs/${comp} ]]; then cd $GITHUB_WORKSPACE/docs/${comp} diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000000..b9ebcce17cc --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,8 @@ +sphinxcontrib-applehelp==1.0.4 +sphinxcontrib_devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-qthelp==1.0.3 +breathe +recommonmark +esp-docs==1.7.1