Skip to content

enhance-dev/enhance.dev

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

enhance-type

Enhance.dev Website

Powered by HTML + cloud functions (Enhance and Architect) and Markdown (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:

@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