Skip to content

Commit ba28cc8

Browse files
committed
Update .travis.
1 parent 8b87b5b commit ba28cc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ jobs:
2222
# Install a more recent version of Doxygen.
2323
- 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 ../..
2424
# Prepare docs in root directory.
25+
26+
# Remove docs/ prefix from all .md files for linking.
2527
- sed -i'.bak' -e 's|docs/||g' *.md
28+
# Convert any ./src/ style links to the fully qualified URL.
2629
- sed -i'.bak' -e 's|[(]\.\(\.*/\)|(https://github.com/'"$TRAVIS_REPO_SLUG"/tree/master'\1|g' *.md
2730
# Move into the docs directory.
2831
- cd docs/
2932
# Get the docs from the root directory.
3033
- cp ../*.md
31-
# Remove docs/ prefix from all .md files for linking.
34+
- ls -la
3235
# Fix any links to the Github pages.
3336
- sed -i'.bak' -e 's|../..|https://github.com/'"$TRAVIS_REPO_SLUG"'|g' *.md;
3437
# Generate the documentation.

0 commit comments

Comments
 (0)