Skip to content

Hidden directories are not working in static_templates #1738

@gabriel-naressi

Description

@gabriel-naressi

I am uploading a mkdocs site to Gitlab Pages with CI building and publication process.

Now I wish to use my own domain with SSL enabled with a Let's Encrypt certificate following this tutorial:
https://about.gitlab.com/2016/04/11/tutorial-securing-your-gitlab-pages-with-tls-and-letsencrypt/

But I need to create a fixed html page under .well-known/ folder to enable Let's Encrypt verify my domain, and I have not found how to do it with mkdocs. When I try to expose a .directory, a can't retrieve my index.html page:

image

My config in mkdocs.yml is:

static_templates:
    - .teste/index.html

It is possible to create a html page in a "hidden" directory with mkdocs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions