Compare commits
9 Commits
switch-doc
...
docker_d11
Author | SHA1 | Date | |
---|---|---|---|
8c20417af9 | |||
ac817f296b | |||
622ad9ff18
|
|||
f0e4eacac5
|
|||
acc737feb2 | |||
c9281a3760
|
|||
cc97c7f82d
|
|||
a3b102c0d0
|
|||
5dd4f15b39 |
automation
@ -7,7 +7,10 @@ RUN apt-get --yes upgrade
|
|||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping python3 pip doxygen graphviz rsync
|
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping python3 pip doxygen graphviz rsync
|
||||||
|
|
||||||
RUN python3 -m pip install sphinx breathe
|
# This should also install Sphinx
|
||||||
|
COPY docs/requirements.txt .
|
||||||
|
RUN python3 -m pip install -r requirements.txt
|
||||||
|
RUN python3 -m pip install breathe
|
||||||
|
|
||||||
RUN git clone https://github.com/catchorg/Catch2.git && \
|
RUN git clone https://github.com/catchorg/Catch2.git && \
|
||||||
cd Catch2 && \
|
cd Catch2 && \
|
||||||
|
12
automation/Jenkinsfile
vendored
12
automation/Jenkinsfile
vendored
@ -87,10 +87,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Documentation') {
|
stage('Documentation') {
|
||||||
when {
|
when {
|
||||||
branch 'development'
|
anyOf {
|
||||||
|
branch 'development';
|
||||||
|
branch pattern: 'development-doc-deployment*'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'pip install -r docs/requirements.txt'
|
|
||||||
dir(DOCDDIR) {
|
dir(DOCDDIR) {
|
||||||
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
|
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
|
||||||
sh 'make Sphinx'
|
sh 'make Sphinx'
|
||||||
@ -107,10 +109,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Master Documentation') {
|
stage('Master Documentation') {
|
||||||
when {
|
when {
|
||||||
branch 'master'
|
anyOf {
|
||||||
|
branch 'master';
|
||||||
|
branch pattern: 'master-doc-deployment*'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'pip install -r docs/requirements.txt'
|
|
||||||
dir(DOCDDIR) {
|
dir(DOCDDIR) {
|
||||||
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
|
sh 'cmake -DFSFW_BUILD_DOCS=ON -DFSFW_OSAL=host ..'
|
||||||
sh 'make Sphinx'
|
sh 'make Sphinx'
|
||||||
|
Reference in New Issue
Block a user