ultdocs

Crates.ioultdocs
lib.rsultdocs
version0.1.1
sourcesrc
created_at2022-01-23 02:56:46.589104
updated_at2022-01-23 02:56:46.589104
description(Experimental) Static site generator for API's, Postman and markdown documents
homepage
repository
max_upload_size
id519470
size230,956
Jack Clayton (jackos)

documentation

README

Ultdocs

Currently in experimentation phase

Intro

This will eventually be a static site generator with interactive code for three uses cases:

  • Postman Collection
  • Markdown Documents
  • OpenAPI

Publishing Postman collection is the first priority as there isn't a great alternative.

Static Site

Uses Svelte, TailwindCSS and Vite to generate the website and allow for hot reloading, folders and requests have classes applied to them, and the styling is controlled for the classes via Tailwind directives in the app.css file.

Configuration

config.yaml at the root of this repo can be changed to allow retrieval of remote Postman collections via the Postman API e.g.

Get your Postman API key

Get your collection ID by clicking the three dots next to its name and clicking settings

collection_from_api: true
postman_api_key: "XXXXX-XXXXX-XXXXX-XXXX"
collection_id: "XXXXXXX-XXXXXXXXX-XXXXXXXXX-XXXXXX"

You can override the base config.yaml by putting a new file in your config folder e.g.:

  • Linux /home/alice/.config/ultdocs/config.yaml
  • MacOS /Users/Alice/Library/Application Support/ultdocs/config.yaml
  • Windows C:\Users\Alice\AppData\Roaming\ultdocs\config.yaml
Commit count: 0

cargo fmt