Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Fix nested panel issue in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz-jbleclere committed Mar 25, 2022
1 parent 2933512 commit b46bcc3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
27 changes: 23 additions & 4 deletions deployment/azure-pipelines-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ trigger:
pr: none

variables:
cacheDir: $(Agent.TempDirectory)/.pipeline_cache
${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}:
releaseChannel: stable
${{ if ne(variables['Build.SourceBranch'], 'refs/heads/master') }}:
Expand All @@ -44,19 +45,37 @@ stages:
displayName: Update documentation
steps:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
addToPath: true
architecture: 'x64'
displayName: Get Python

- task: Cache@2
inputs:
key: 'cache | "$(Agent.OS)"'
path: $(cacheDir)
displayName: Cache packages and CCache

- script: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends doxygen g++ libcurl4-openssl-dev libjsoncpp-dev make pkg-config
pip install -U --upgrade-strategy=eager --disable-pip-version-check breathe cython sphinx_rtd_theme
sudo apt-get -q update
sudo apt-get -q install -y --no-install-recommends ccache doxygen g++ libcurl4-openssl-dev libjsoncpp-dev make pkg-config
pip install -q --disable-pip-version-check breathe cython sphinx_rtd_theme wheel
pip --disable-pip-version-check list
echo "##vso[task.prependpath]/usr/lib/ccache"
displayName: Install dependencies
env:
PIP_CACHE_DIR: $(cacheDir)/.pip_packages
- script: |
pip list
mkdir build_doc
cd build_doc
cmake -DPYTHON3=ON -DDOC=ON ..
make -s -j
displayName: Build documentation
env:
CCACHE_DIR: $(cacheDir)/.ccache
- task: AWSCLI@1
displayName: Publish documentation
Expand Down
1 change: 1 addition & 0 deletions deployment/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ trigger:
- LICENSE
- deployment/README.md
- deployment/release.py
- deployment/azure-pipelines-docs.yml

pr: none

Expand Down

0 comments on commit b46bcc3

Please sign in to comment.