https://github.com/enhance-dev/enhance.dev
Docs website for Enhance!
https://github.com/enhance-dev/enhance.dev
css fwa html html-first html-framework javascript nodejs
Last synced: 12 months ago
JSON representation
Docs website for Enhance!
- Host: GitHub
- URL: https://github.com/enhance-dev/enhance.dev
- Owner: enhance-dev
- Created: 2022-03-07T15:23:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-02T17:08:28.000Z (over 1 year ago)
- Last Synced: 2025-01-02T18:20:17.789Z (over 1 year ago)
- Topics: css, fwa, html, html-first, html-framework, javascript, nodejs
- Language: JavaScript
- Homepage: https://enhance.dev
- Size: 62.8 MB
- Stars: 76
- Watchers: 3
- Forks: 19
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Enhance.dev Website
Powered by HTML + cloud functions ([Enhance](https://enhance.dev) and [Architect](https://arc.codes)) and Markdown ([Arcdown](https://github.com/architect/arcdown)).
## Writing docs
All documentation content lives in `src/views/docs/md`.
Navigation data is stored in `src/views/docs/nav-data.mjs`.
## Development
Recommended prefs.arc:
```arc
@sandbox
livereload true
```
### Main site
Currently redirects to the Enhance documentation at "/docs/".
### Docs engine
The main "/docs/*" route lives in `app/api/docs/$$.mjs`.
This route uses the path (accounting for trailing slashes) to look up a .md document and render it to HTML with Arcdown. This document HTML is combined with `nav-data` and passed as state to Enhance to render the full view.
### Tutorial
WIP
### Playground
WIP