This is my public endpoint for all the notes that i expose to the world, It operates with mkdocs and every piece of knowledge that i wish to public from my second-brain-private project would reside here.
https://rohanbatrain.github.io/knowledge-base/
Most of the steps are sourced from mkdocs-material documentation
- Installed mkdocs and mkdocs-material
- Yaml updation
theme:
name: material
- Installed YAML extention from redhat, then opened settings
ctrl + ,
> settings > search for json > Edit in settings.json > replace the content with the following one:
{
"yaml.schemas": {
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
},
"yaml.customTags": [
"!ENV scalar",
"!ENV sequence",
"tag:yaml.org,2002:python/name:materialx.emoji.to_svg",
"tag:yaml.org,2002:python/name:materialx.emoji.twemoji",
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
]
}
- Added custom js
extra_javascript:
- javascripts/extra.js