Skip to content

Allow use of .. in docs_dir and site_dir #56

Open

Description

@squidfunk

Description

The docs_dir and site_dir should be allowed to be hosted outside of the project directory. However, we need to make sure that we do not open the gates for traversal attacks. Use cases:

  • configuration file in a .config folder next to docs_dir
  • _build next to the project directory

Tip

Subscribe to this issue to get notified when the status of this item changes, or this functionality becomes available.

Activity

  1. locked and limited conversation to collaborators on Nov 19, 2025
  2. changed the title [-]Allow use of `..`in `docs_dir` and `site_dir`[/-] [+]Allow use of `..` in `docs_dir` and `site_dir`[/+] on Nov 19, 2025
  3. moved this to Accepted in Backlogon Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions