Closed Enonya closed 1 year ago
I've read the document of mkdocs, and change the mkdocs.yml to be like this:
plugins:
search: {}
encryptcontent:
password_button: True
And change the metatag in markdown file like this:
---
password: CwoI2022
---
I don't know why but it works!
My mkdocs.yml was like this:
I'm sure that I have installed the plugin, but when I try to test it locally, mkdocs said:
But if I write like this:
Then the pages can be built, but there's no password request when I write like this in my markdown files:
It will be like this:
full mkdocs.yml is here(can be built) and here(cannot be built)
Can anyone help me?