mkdocs
TO-DO
- Left side-bar
- [x] Decide whether use
navigation.tabs
or not
- [x] Show every items under selected tab
- The tab is actually a page, different with the folder, need to merge them
- [x] Right side TOC - cannot detect Heading level 1
- [ ] Enhance - always make the 1st level 1 header as most-top header, and other level 1 header with a tab
- [ ] Complete config of mkdocs
- [ ] Make a blog posts list layout like this - https://www.dirigible.io/blogs/2021/11/2/material-blogging-capabilities/
- [ ] https://github.com/vuquangtrong/mkdocs-material-blog/blob/main/overrides/partials/post-list.html
Code snippets
{% set split_title_list = nav_item.title.split(" ") %}
{% set split_title_last_code = split_title_list | last %}
{% if split_title_last_code|length == 32 %}
<div>{{nav_item.title | replace(" " ~ split_title_last_code, "")}}</div>