lukasgeiter / mkdocs-awesome-pages-plugin

An MkDocs plugin that simplifies configuring page titles and their order
MIT License
453 stars 35 forks source link

Cannot create web redirects with navigation items #12

Closed rieger-jared closed 4 years ago

rieger-jared commented 4 years ago

In vanilla mkdocs, you're able to define your mkdocs.ymal to have web pages that purely redirect to a link.

nav:
  - Home: 'index.md'
  - Stack Overflow: 'https://stackoverflow.com/'

This would create navigation that showed an item called Stack Overflow and allow it to be clickable. Therefore a page was not needed. Is there a way to configure this already with awesome-pages or would it need to be implemented?

rieger-jared commented 4 years ago

Solved. The meta mkdocs extensions can be used to insert a redirect url in the page.

https://squidfunk.github.io/mkdocs-material/extensions/metadata/#redirecting-to-another-page