Next.js Pod

Summary

  • id: dendron.json
  • coverage
    • βœ… export

Export

Running this pod will create the following files in dest.

- .env.production
- data
    * dendron.json
    * fuse.json
    * meta/
        - *.json
        - 403.json
        - root.json
    * notes/
        - *.html
        - *.md
    * notes.json
    * tree.json
- public
    - assets/
    - data/   # this is a copy of whats in `data`

References

.env.production

This is used to pass variables to next template. If assetsPrefix is set, it is set in here as NEXT_PUBLIC_ASSET_PREFIX

dendron.json

This is a JSON version of dendron.yml. It's used to enable/disable various language features

fuse.json

This is a compiled version of Dendron's search index. It is used for search

meta/{id}.json

These files contain metadata for a note (Private). It contains everything excet the note body

notes/{id}.html

These files contain the HTML rentered note bodies.

notes/{id}.md

These files contain the Markdown note bodies.

notes.json

Used to generate the navbar and other components of the final site

export type NoteData = {
  /**
   * All notes that are published
   */
  notes: NotePropsDict;
  /**
   * All top level domains that are published
   */
  domains: NoteProps[];
  /**
   * The note for the home page
   */
  noteIndex: NoteProps;
  /**
   * All vaults in the workspace
   */
  vaults: DVault[];
};

Backlinks