https://github.com/ccamara/dendron-demo
https://github.com/ccamara/dendron-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ccamara/dendron-demo
- Owner: ccamara
- Created: 2022-09-15T18:41:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-17T17:32:31.000Z (almost 4 years ago)
- Last Synced: 2025-04-07T04:31:46.416Z (about 1 year ago)
- Homepage: https://ccamara.github.io/dendron-demo/
- Size: 2.46 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dendron-demo
This is to test dendron publishing a site locally and then pushing it to a github repo without CI and accessing the webpage from gh-pages.
## Step by step
1. Use the following settings in `dendron.yml`:
```yaml
publishing:
siteUrl: https://ccamara.github.io
siteRootDir: docs
assetsPrefix: /dendron-demo
```
2. Run `npx dendron publish build`
3. Export notes `npx dendron publish export`
4. Copy exports to repo `cp -r .next/out docs`