apenwarr / apenwarr/mkdocs-exclude

Plugin doesn't exclude folders

未关闭
#13 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
95
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

Hello, I am trying to exclude a virtual environment within a subfolder by this plugin, but it doesn't work. My project structure looks like:

```
├── docs
│   ├── index.md
│   ├── ingest
│   ├── qag
│   ├── search
│   └── theme
├── eapl_ingest
│   ├── app
│   ├── Dockerfile
│   ├── docs
│   ├── mkdocs.yml
│   ├── README.md
│   ├── requirements.txt
│   ├── site
│   ├── src
│   └── venv
├── eapl_qag
│   ├── app
│   ├── docker-compose.yml
│   ├── Dockerfile
│   ├── docs
│   ├── mkdocs.yml
│   ├── rabbitmq.conf
│   ├── README.md
│   ├── requirements.txt
│   ├── src
│   ├── tests
│   └── venv
├── eapl_search
│   ├── app
│   ├── Dockerfile
│   ├── docs
│   ├── mkdocs.yml
│   ├── README.md
│   ├── requirements.txt
│   └── src
├── mkdocs.yml
├── README.md
├── requirements.txt
└── venv
├── bin
├── etc
├── include
├── lib
├── lib64 -> lib
├── pyvenv.cfg
└── share
```

I wish to exclude ```venv``` folder within ```eapl_ingest```. Hence, in my parent folder's mkdocs file, I've mentioned:

```
plugins:
- exclude:
glob:
- "eapl_ingest/venv/*"
```

But this isn't working. And as mkdocs is trying to load everything, I'm getting an error due to this virtual environment. Am I doing it correctly? If not, what should be done. Thanks!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。