From 20a2a83e6944e4d3371b851679e5d6c06636d370 Mon Sep 17 00:00:00 2001 From: The-EDev Date: Wed, 6 Oct 2021 13:34:37 +0300 Subject: [PATCH] added getting_started URL redirection --- .drone.yml | 4 ++-- mkdocs.yml | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f2cde1673..d26513394 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,7 +20,7 @@ steps: - export COVERALLS_PULL_REQUEST=$DRONE_PULL_REQUEST - apt-get -y update - apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev - - pip3 install mkdocs-material pyyaml --no-input + - pip3 install mkdocs-material mkdocs-redirects pyyaml --no-input - git clone https://github.com/CrowCpp/cpp-coveralls.git - cd cpp-coveralls - pip3 install . --no-input @@ -114,7 +114,7 @@ steps: - export TRAVIS_JOB_ID=$DRONE_BUILD_NUMBER - apt-get -y update - apt-get -y install libboost-all-dev doxygen mkdocs graphviz zlib1g-dev gcc clang make cmake python3 python3-pip git openssl libssl-dev - - pip3 install mkdocs-material pyyaml --no-input + - pip3 install mkdocs-material mkdocs-redirects pyyaml --no-input - git clone https://github.com/CrowCpp/cpp-coveralls.git - cd cpp-coveralls - pip3 install . --no-input diff --git a/mkdocs.yml b/mkdocs.yml index 58db35231..0e25b47d9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -69,7 +69,12 @@ extra: link: https://github.com/crowcpp/crow - icon: fontawesome/brands/gitter link: https://gitter.im/crowfork/community - + +plugins: + - redirects: + redirect_maps: + 'getting_started/setup/': 'getting_started/setup/linux.md' + extra_css: - 'stylesheets/colors.css' - 'stylesheets/latofonts.css'