Loading jobs/mkdocs/mkdocs.yml +2 −13 Original line number Diff line number Diff line Loading @@ -11,19 +11,8 @@ mkdocs: variables: MKDOCS_OUTPUT_PATH: 'documentation_build/' script: - apk add bash - bash # Create an associative array to manage dependencies - declare -A MYMAP - MYMAP["git-revision-date-localized"]=mkdocs-git-revision-date-localized-plugin==0.7.2 - MYMAP["macros"]=mkdocs-macros-plugin==0.5.0 # For each dependencie, verify if we need to install it - for K in "${!MYMAP[@]}"; do - if [ ! $(grep -c $K mkdocs.yml) -eq 0 ]; then - pip3 install ${MYMAP[$K]} - fi - done - pip3 install mkdocs-git-revision-date-localized-plugin==0.7.2 - pip3 install mkdocs-macros-plugin==0.5.0 artifacts: when: always expose_as: "Mkdocs build" Loading Loading
jobs/mkdocs/mkdocs.yml +2 −13 Original line number Diff line number Diff line Loading @@ -11,19 +11,8 @@ mkdocs: variables: MKDOCS_OUTPUT_PATH: 'documentation_build/' script: - apk add bash - bash # Create an associative array to manage dependencies - declare -A MYMAP - MYMAP["git-revision-date-localized"]=mkdocs-git-revision-date-localized-plugin==0.7.2 - MYMAP["macros"]=mkdocs-macros-plugin==0.5.0 # For each dependencie, verify if we need to install it - for K in "${!MYMAP[@]}"; do - if [ ! $(grep -c $K mkdocs.yml) -eq 0 ]; then - pip3 install ${MYMAP[$K]} - fi - done - pip3 install mkdocs-git-revision-date-localized-plugin==0.7.2 - pip3 install mkdocs-macros-plugin==0.5.0 artifacts: when: always expose_as: "Mkdocs build" Loading