Crates.io | ultdocs |
lib.rs | ultdocs |
version | 0.1.1 |
source | src |
created_at | 2022-01-23 02:56:46.589104 |
updated_at | 2022-01-23 02:56:46.589104 |
description | (Experimental) Static site generator for API's, Postman and markdown documents |
homepage | |
repository | |
max_upload_size | |
id | 519470 |
size | 230,956 |
Currently in experimentation phase
This will eventually be a static site generator with interactive code for three uses cases:
Publishing Postman collection is the first priority as there isn't a great alternative.
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.
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 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.:
/home/alice/.config/ultdocs/config.yaml
/Users/Alice/Library/Application Support/ultdocs/config.yaml
C:\Users\Alice\AppData\Roaming\ultdocs\config.yaml