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

About excluding directories #50

Open
W1ndys opened this issue Apr 10, 2024 · 7 comments
Open

About excluding directories #50

W1ndys opened this issue Apr 10, 2024 · 7 comments

Comments

@W1ndys
Copy link

W1ndys commented Apr 10, 2024

Is it possible to exclude certain directories? Some Markdown files need to indicate some content, but the content format conforms to the soft coding format, but I don’t want it to be associated with my yaml configuration file. Is there a way to exclude certain directories?

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

Maybe my question is similar to this one.
#21

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

I switched to version 0.1.7, but it didn't work.

@rosscdh
Copy link
Owner

rosscdh commented Apr 10, 2024 via email

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

hi there thanks for your interest and use in the lib! i could probably add a check for a .ignore file in a folder? regards ross

On Wed, 10 Apr 2024 at 22:48, W1ndys @.> wrote: I switched to version 0.1.7, but it didn't work. — Reply to this email directly, view it on GitHub <#50 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADA6MS7D3CN7RIX6244M4DY4UYI7AVCNFSM6AAAAABGAK37V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGQ2TCNBXHE . You are receiving this because you are subscribed to this thread.Message ID: @. com>

I look forward to your update, but I think these methods are more effective. If there are {{}} in two places in the same Markdown file, it may be a new problem if one needs to be excluded and the other does not need to be excluded.

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

#24
I think this is quite good.

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

#24 I think this is quite good.

I think it is best to set the exclusion directory and solve the problem mentioned above.

@W1ndys
Copy link
Author

W1ndys commented Apr 10, 2024

I'll give you a concrete example. For example, there is an env configuration in the following file, which will be recognized by the plug-in and lead to an error.

https://github.com/Wcowin/Mkdocs-Wcowin/blob/94dbf6531e593b478b709174f1e7653a8fd05432/docs/blog/Mkdocs/mkdocs1.md?plain=1#L121

But in fact, I don't want him to be explained by the plug-in

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

2 participants