docs: wire DevLog into Obsidian daily notes and Dataview
This commit is contained in:
@@ -8,6 +8,16 @@ Rust is learned through English, English through Rust.
|
||||
- **Commit messages in English** — Conventional Commits format forces short, structured sentences.
|
||||
- **DevLog entry** (10 min, last step of every session): 3–5 sentences about what you did,
|
||||
in English. Don't translate from Russian in your head — describe the code, not the feelings.
|
||||
Obsidian **Daily notes** is wired to this habit: folder `docs/devlog`, filename `YYYY-MM-DD`,
|
||||
template `TMP/DevLog.md` — open today's note via the ribbon calendar icon or the command
|
||||
palette ("Daily notes: Open today's daily note"). The config lives in `.obsidian/`
|
||||
(gitignored), so re-create it manually on a new machine.
|
||||
- Each DevLog auto-renders a **"Files touched today" table** (Dataview community plugin, v0.5.70,
|
||||
installed in `.obsidian/plugins/dataview/`). The query filters by `file.mtime` inside the day
|
||||
taken from the note's own filename, so every past entry shows its own day, not "today".
|
||||
Caveat: `mtime` shows the *last* touch — a note edited again later moves to the newer day's
|
||||
table. For the true change history of code files (`.rs` is not indexed by Dataview) use git:
|
||||
`git log --since="00:00" --name-only --pretty=format:`.
|
||||
- **Read error messages and docs in English only.** Never switch the compiler or Rust Book to Russian.
|
||||
|
||||
## Weekly habits
|
||||
|
||||
Reference in New Issue
Block a user