mkdocs: Improve site part2#860
Conversation
There was a problem hiding this comment.
@kenjis has a warning due to the use of dotenv. It seems that the solution is not to use dotenv or write a plugin for highlight or use class nohighlight. Not sure how to fix it now. We continue with the same conditions.
WARN: Could not find the language 'dotenv', did you forget to load/include a language module?
There was a problem hiding this comment.
It seems ```dotenv is not supported by highlight.js.
There was a problem hiding this comment.
Yes, exactly, the solution is to write a plugin(like what was done for curl) or reject an interpreter with class nohighlight.
There was a problem hiding this comment.
How about removing dotenv in the markdown?
There was a problem hiding this comment.
By removing dotenv, language it will be set to ini. This is not correct.
But we will use it temporarily. what do you think?
There was a problem hiding this comment.
Change to ```text.
ini is not correct, because it is not a ini file.
|
@datamweb How can I run mkdocs? $ mkdocs serve
ERROR - Config value 'theme': Unrecognised theme name: 'material'. The available installed themes are: mkdocs, readthedocs
ERROR - Config value 'markdown_extensions': Failed to load extension 'pymdownx.superfences'.
ModuleNotFoundError: No module named 'pymdownx'
Aborted with 2 configuration errors! |
|
Resolved. $ pip3 install mkdocs
$ pip3 install mkdocs-material
$ pip3 install mkdocs-git-revision-date-localized-plugin |

Description
https://datamweb.github.io/shield
See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
You need
pip3 install mkdocs-git-revision-date-localized-plugin.Checklist: