# Public documentation: readable without a login, unlike admin/ and the API.
Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Convenience alias for the index that agents read. llms.php is the
    # canonical address and everything links to that, so this rule is optional:
    # a server without mod_rewrite loses nothing but the shorter name.
    RewriteRule ^llms\.txt$ llms.php [L]
</IfModule>

# The parent .htaccess denies .md and .json outright. Both are served through
# PHP here (index.php, llms.php, openapi.php), so the denial stays in place and
# content/ plus openapi.json remain unreachable directly.
