Skip to content

Commit b64657e

Browse files
authored
Merge pull request #238 from CrowCpp/mkdocs_redirect
added getting_started URL redirection
2 parents 41468b0 + 20a2a83 commit b64657e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020
- export COVERALLS_PULL_REQUEST=$DRONE_PULL_REQUEST
2121
- apt-get -y update
2222
- apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev
23-
- pip3 install mkdocs-material pyyaml --no-input
23+
- pip3 install mkdocs-material mkdocs-redirects pyyaml --no-input
2424
- git clone https://github.com/CrowCpp/cpp-coveralls.git
2525
- cd cpp-coveralls
2626
- pip3 install . --no-input
@@ -114,7 +114,7 @@ steps:
114114
- export TRAVIS_JOB_ID=$DRONE_BUILD_NUMBER
115115
- apt-get -y update
116116
- apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev
117-
- pip3 install mkdocs-material pyyaml --no-input
117+
- pip3 install mkdocs-material mkdocs-redirects pyyaml --no-input
118118
- git clone https://github.com/CrowCpp/cpp-coveralls.git
119119
- cd cpp-coveralls
120120
- pip3 install . --no-input

mkdocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ extra:
6969
link: https://github.com/crowcpp/crow
7070
- icon: fontawesome/brands/gitter
7171
link: https://gitter.im/crowfork/community
72-
72+
73+
plugins:
74+
- redirects:
75+
redirect_maps:
76+
'getting_started/setup/': 'getting_started/setup/linux.md'
77+
7378
extra_css:
7479
- 'stylesheets/colors.css'
7580
- 'stylesheets/latofonts.css'

0 commit comments

Comments
 (0)