File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed
Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change 1919 include :
2020 - stage : Deploy Documentation
2121 script :
22- - pwd
23- - ls -la
24-
25- # Install a more recent version of Doxygen.
26- - git clone --depth=1 --branch Release_1_8_15 https://github.com/doxygen/doxygen.git; cd doxygen; mkdir build; cd build; cmake -G "Unix Makefiles" ..; make -s && sudo make install; cd ../..
27-
28- - pwd
29- - ls -la
30-
31- # Prepare docs in root directory.
32- - pwd
33- - ls -la
34-
35- # Remove docs/ prefix from all .md files for linking.
36- - sed -i'.bak' -e 's|docs/||g' *.md
37- # Convert any ./src/ style links to the fully qualified URL.
38- - sed -i'.bak' -e 's|[(]\.\(\.*/\)|(https://github.com/'"$TRAVIS_REPO_SLUG"/tree/master'\1|g' *.md
39- # Move into the docs directory.
40- - pwd
41- - ls -la
42- - cd docs/
43- # Get the docs from the root directory.
44- - cp ../*.md
45- - ls -la
46- # Fix any links to the Github pages.
47- - sed -i'.bak' -e 's|../..|https://github.com/'"$TRAVIS_REPO_SLUG"'|g' *.md;
48- # Generate the documentation.
49- - doxygen Doxyfile
50- # Github pages will discard files beginning w/ underscores without this.
51- - touch html/.nojekyll
22+ - source <(curl -SLs https://raw.githubusercontent.com/bakercp/ci/master/deploy_documentation.sh)
5223 deploy :
5324 provider : pages
5425 skip_cleanup : true
You can’t perform that action at this time.
0 commit comments