Skip to content

Commit

Permalink
Update .travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakercp committed Jul 25, 2019
1 parent 8b87b5b commit ba28cc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ jobs:
# Install a more recent version of Doxygen.
- 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 ../..
# Prepare docs in root directory.

# Remove docs/ prefix from all .md files for linking.
- sed -i'.bak' -e 's|docs/||g' *.md
# Convert any ./src/ style links to the fully qualified URL.
- sed -i'.bak' -e 's|[(]\.\(\.*/\)|(https://github.com/'"$TRAVIS_REPO_SLUG"/tree/master'\1|g' *.md
# Move into the docs directory.
- cd docs/
# Get the docs from the root directory.
- cp ../*.md
# Remove docs/ prefix from all .md files for linking.
- ls -la
# Fix any links to the Github pages.
- sed -i'.bak' -e 's|../..|https://github.com/'"$TRAVIS_REPO_SLUG"'|g' *.md;
# Generate the documentation.
Expand Down

0 comments on commit ba28cc8

Please sign in to comment.