Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow docs to be in the root directory #3519

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Allow docs to be in the root directory #3519

wants to merge 3 commits into from

Commits on Dec 15, 2023

  1. Fix edge cases in validation of docs_dir/site_dir

    Fix bypassing it when:
    
    * a non-absolute config_file_path is passed on the command line
    * the directory is not an *exact* parent of the other one, but is instead a "grandparent".
    
    Also validate it in `mkdocs serve` because why reserve the check only to `mkdocs build`.
    oprypin committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    aa3bba5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf6de0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6804532 View commit details
    Browse the repository at this point in the history