-
Notifications
You must be signed in to change notification settings - Fork 78
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
exclude_pages compatibility with awesome-pages #58
Comments
In addition, I think the plugin is not compatible with Would definitely like to see these add-ons supported in this plugin! 😃 |
Hi @ErikThorsell. Sorry for the late reply. The Please set. - with-pdf:
verbose: true
exclude_pages:
- a_folder/file_in_folder_1/
# - a_folder/file_in_folder_2/ and check logs:
|
Hi @orzih, thank you for getting back to me. I tested your proposal and it does indeed achieve the wanted result. However, in my actual use case I maintain ~10 projects, each project with directories like ( Would it be possible to extend the plugin to support ignoring directories (and the content of the directory)? If you are willing to point me in the right direction I can start a PR and help out with the implementation. |
The code related to this issue can be found here: mkdocs-with-pdf/mkdocs_with_pdf/generator.py Lines 43 to 53 in 65f36ba
and, Welcome to submit a PR. |
@ErikThorsell, PR Thanks. As a result of checking, it was not possible to support |
@orzih, I see good that you caught it. For the future, there are no tests anywhere that tests all combinations of settings, right? Regarding your change (using In the release notes for v0.9.0 you wrote Drop support for Python 3.5., but it seems like it should really be: Drop support for Python < 3.7. When I try to generate the .pdf-file with Python 3.6.10 I get the following error:
I skimmed through the src difference between 3.6 and 3.7 and they have added line 264 to 3.7: I leave to you to decide whether you want the plugin to drop support for 3.6 as well. |
@ErikThorsell Thank you for your reporting.
Yes. (...please anyone help ^^;) I fixed a runtime bug in Python 3.6.x in v0.9.2. |
@orzih, I verified 0.9.2 with 3.6.10, I think we can conclude this issue :) GG WP 🤜🤛 |
I have run into an issue which might be related to #46.
The problem is that I am unable to use
exclude_pages
together withawesome-pages
. Basically, if I use the...
in my mkdocs.yaml file, to have awesome-pages automatically add pages tonav
, theexclude_pages
functionality stops working.I have created MWE in this repository: https://github.com/ErikThorsell/mkdocs_with_pdf-exclude_pages-bug. The key thing is Line 26 in the mkdocs.yaml (link), please see the inline comment.
Please let me know if there's anything I can do to assist you further in debugging the issue.
The text was updated successfully, but these errors were encountered: