diff --git a/docs/Gemfile b/docs/Gemfile index 5123d1c66..dd82d07a0 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -29,3 +29,7 @@ gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform? #gem "kramdown-parser-gfm" gem "webrick", "~> 1.8" + +# render realtive link by plugin +# https://github.blog/news-insights/product-news/relative-links-for-github-pages/ +gem 'jekyll-relative-links' diff --git a/docs/_config.yml b/docs/_config.yml index 58aa4d08b..053efc650 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -29,6 +29,11 @@ kramdown: remote_theme: rundocs/jekyll-rtd-theme@v2.0.10 plugins: - jekyll-remote-theme + - jekyll-relative-links + +relative_links: + enabled: true + collections: true # Exclude from processing. # The following items will not be processed, by default. Create a custom list