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

Plugin doesn't exclude folders #13

Open
LaxmanSinghTomar opened this issue Jul 4, 2022 · 0 comments
Open

Plugin doesn't exclude folders #13

LaxmanSinghTomar opened this issue Jul 4, 2022 · 0 comments

Comments

@LaxmanSinghTomar
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant