Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.
/ dokugen Public archive

Easy and fast API documentation website generator & server written in Deno

Notifications You must be signed in to change notification settings

thatmarcel/dokugen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokugen

Easy and fast API documentation website generator & server written in Deno

Example

Running

  1. Install Deno (instructions) and make sure you are using the newest version
  2. Create 2 folders, one called routes and one called meta
  3. Create a new file in meta, name it site-name and type the title of your API docs
  4. Run deno run --allow-read --allow-net --unstable --reload https://src.dokugen.co/dokugen.ts
  5. Access the server at port 8000 or the value of the PORT environment variable if set

Alternatively, you can run dokugen with the following one-liner. This script installs Deno if needed, creates the 2 folders and then starts dokugen.

curl -fsSL https://run.dokugen.co | sh

Defining API endpoints

API endpoints are defined in the routes folder. Take a look at the contents of that folder in this repo to understand the folder structure and file definition format.

About

Easy and fast API documentation website generator & server written in Deno

Topics

Resources

Stars

Watchers

Forks