Code with Docs

Summary

Using Dendron with Code Docs

Details

Dendron's code base is a monorepo. Documentation is sorted in the docs/ folder. The docs folder represent a dendron workspace. Note that this is a separate git repo. When a user opens up the dendron workspace using vscode, dendron recognizes the dendron.yml file under docs and pulls down remote vaults (in this case, https://github.com/dendronhq/dendron-docs.git)

The dendron monorepo is available on github

Layout

.
├── lerna.json
└── ...
    └── docs/
        └── dendron.yml

dendron.yml

...
workspace:
    vaults:
        -
            fsPath: dendron-docs
            name: dendron.docs
            selfContained: true
            siteUrl: https://docs.dendron.so
            remote:
                type: git
                url: https://github.com/dendronhq/dendron-docs.git