- Create
public/<year>/MM-DD_<topic>.mdwith frontmatter and a title:The first tag is the topic key with--- tags: [life-languages, travel, shandong] summary: One line on what the note covers. --- # ___2021 - 11 - 14 Title___ ***
-(life-languagesforlife_languages). - Add the note's path prefix (e.g.
"2021/11-14_shandong") to its topic inTOPICSinindex/build_index.py. - Optional: hand-pick its Related links in
RELATEDinindex/build_related.py; otherwise they are computed. - Run
index/update.sh.
- Delete the file.
- Remove its prefix from
TOPICSinindex/build_index.py, and fromRELATEDinindex/build_related.py(as a key or a link). - Run
index/update.sh.
Don't hand-edit them; index/update.sh rewrites all of them.
python3 index/build_related.py --write # "# Related" section at the end of each note
python3 index/build_index.py # index/*.md topic indexes
cd public && python3 2017/folder_toc.py # writes public/README.md