FDU-MSC / forum

Official forum of FDU-MSC
https://fdu-msc.github.io/forum/
MIT License
4 stars 3 forks source link

Relative path and absolute path #9

Open ichn-hu opened 4 years ago

ichn-hu commented 4 years ago

The website is now hosted under fdu-msc.github.io/forum/, however the root path is fdu-msc.github.io, it means whenever we want to refer to a page within the website, we need to write [page](/forum/path/to/page), however this is not favorable because we could not be assure that we won't move the site to any other place, for example, if we buy a domain name in the future, or more essentially, when we are building and hosting the website locally, the path will be broken, and all these internal links will be 404.

This is a very critical problem, we need to find a solution as soon as possible.

Possible solution can be,

1.Thoroughly search for an exisiting solution

  1. Use base_url when write path
  2. Configue mkdocs
ichn-hu commented 4 years ago

This can be fixed by using relative path of the page file, for example [](build/CICD.md), see internal links for more details.