foysavas / enhance.dev

Docs website for Enhance!

Home Page:https://enhance.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Docs website for Enhance!

https://enhance.dev


Languages

Language:JavaScript 97.7%Language:CSS 2.1%Language:Arc 0.2%Language:HTML 0.0%