An open API service indexing awesome lists of open source software.

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!

Awesome Lists containing this project

README

          

![enhance-type](https://user-images.githubusercontent.com/76308/224389400-07b39e01-68c1-4471-aca1-9beb58f146dd.svg)

# 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