You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -282,16 +282,39 @@ Your configuration like this :
282
282
```
283
283
284
284
285
+
### Do not encrypt search index
286
+
287
+
Related to [issue #13](https://github.com/CoinK0in/mkdocs-encryptcontent-plugin/issues/13)
288
+
289
+
> :warning: **This feature is NOT SECURE and CAUSE DATA LEAK**
290
+
>
291
+
> The unencrypted content of each page is accessible through the search index.
292
+
> Not encrypting the search index means completely removing the protection provided by this plugin.
293
+
> You have been warned
294
+
295
+
You can set `decrypt_search: True` in your `mkdocs.yml` to disable the search index encryption process.
296
+
297
+
```yaml
298
+
plugins:
299
+
- encryptcontent:
300
+
decrypt_search: True
301
+
```
302
+
303
+
It becomes possible again to make searches on all the pages, even if the content of the page is encrypted.
304
+
305
+
If you still want to protect some pages, even though the search index is not encrypted, you can use [mkdocs-exclude-search](https://github.com/chrieke/mkdocs-exclude-search) to exclude parts or complete articles from the search index.
306
+
307
+
285
308
## Contributing
286
309
287
310
From reporting a bug to submitting a pull request: every contribution is appreciated and welcome.
311
+
288
312
Report bugs, ask questions and request features using [Github issues][github-issues].
313
+
289
314
If you want to contribute to the code of this project, please read the [Contribution Guidelines][contributing].
0 commit comments