unverbuggt / mkdocs-encryptcontent-plugin

A MkDocs plugin that encrypt/decrypt markdown content with AES
https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/
MIT License
123 stars 15 forks source link

Patch for mkdocs-material 9.5.2 not working #56

Closed deponovo closed 9 months ago

deponovo commented 9 months ago

I did not track this down in detail, but it seems the patch for at least mkdocs-material 9.5.2 is no longer correct. The most similar path I found in the current structure of mkdocs-material is src/templates/assets/javascripts/browser/request instead of src/assets/javascripts/browser/request . I made the change and am still facing errors... this tipe of development is far from my range of (current) knowledge and that's why I can't provide better input or even propose a PR. Anyway, this is the error I got after making the modifications to the path mentioned above:

$ patch -p 0 < material_browser_request9.patch
(Stripping trailing CRs from patch; use --binary to disable.)
patching file src/templates/assets/javascripts/browser/request/index.ts
Hunk #1 FAILED at 26.
Hunk #2 FAILED at 75.
2 out of 2 hunks FAILED -- saving rejects to file src/templates/assets/javascripts/browser/request/index.ts.rej
deponovo commented 9 months ago

Did some research. Project structure changes to mkdocs-material were carried out on the 20.09.2023. The immediate release after that was 9.4.0. Will provide a PR with the patch for mkdocs-material 9.4.0+