-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
Just a warning to anyone who might want to change their project build directory to the root of the project, with a .yml file like this:
site_name: My Docs
site_dir: /
pages:
- Home: index.md
theme: materialIt won't do what you think it will. If you run mkdocs build --clean you will have it recursively delete everything it can from your system root folder until it runs into a file it can't delete without sudo. You will lose the entire contents of your home folder as well as your Ubuntu profile, and do unknown damage to your system.
Time to reformat. :D
hscasn and sujuka99