emanote icon indicating copy to clipboard operation
emanote copied to clipboard

Combining multiple notebooks

Open srid opened this issue 2 years ago • 2 comments

Being able to combine multiple (otherwise disparate) notebooks is useful, such as to render documentation coming from different projects (à la https://community.flake.parts/modules). What does it take to do this in Emanote?

Sub-tasks

  • [x] Ambiguous notes https://github.com/srid/emanote/pull/498
    • For eg., multiple projects may have guide/index.md (or guide.md). If one project links to it as [[guide]], how do we know to resolve the ambiguity here in the combined notebook?
      • One approach: automatically choose the note with the most recent common ancestor
  • [x] Support folder1/index.md (in addition to folder1.md) for folder note. #512
    • @vcavallo, @kouloumos (https://github.com/srid/emanote/discussions/107) and @zimbatm (https://github.com/srid/emanote/discussions/203) have asked for this in the past
  • [x] unionmount should support "mount at" folder feature. https://github.com/srid/emanote/pull/523
    • This enables us to avoid the manual cp to subdir hack
    • And it can enable including sub-notebooks in live server CLI invocation (which can't do the cp hack)
    • Furthermore, it will address the edit URL problem automatically. https://github.com/flake-parts/community.flake.parts/issues/20

Stretch

  • [ ] Slug resolution
    • This one's tricky; we could probably get by with just not supporting slug transformation in version 1.
  • [ ] Hierarchical site title (https://github.com/flake-parts/community.flake.parts/issues/4)

srid avatar Jan 12 '24 15:01 srid

Ambiguous note resolution works now.

Now on to index routes support ...

srid avatar Feb 09 '24 15:02 srid

index.md for folder notes are now supported: https://emanote.srid.ca/folder-note#index

One more thing to do: allowing layers to be mounted at a subfolder.

srid avatar Feb 10 '24 06:02 srid