Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bandantonio/antmarky
Static-site generator for Asciidoctor based on Node.js and EJS
https://github.com/bandantonio/antmarky
asciidoc asciidoctor asciidoctor-js documentation-generator fastify nodejs starred static-site-generator typescript
Last synced: about 1 month ago
JSON representation
Static-site generator for Asciidoctor based on Node.js and EJS
- Host: GitHub
- URL: https://github.com/bandantonio/antmarky
- Owner: bandantonio
- License: mit
- Created: 2021-12-22T21:44:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T20:25:52.000Z (about 1 year ago)
- Last Synced: 2024-10-14T12:58:22.711Z (2 months ago)
- Topics: asciidoc, asciidoctor, asciidoctor-js, documentation-generator, fastify, nodejs, starred, static-site-generator, typescript
- Language: TypeScript
- Homepage: https://mister-gold.pro/antmarky/
- Size: 1.13 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.adoc
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
== Antmarky
Antmarky is a static-site generator for https://docs.asciidoctor.org/asciidoc/latest[`Asciidoctor`^] based on Node.js and EJS.
https://github.com/bandantonio/antmarky/actions/workflows/antmarky.yml[image:https://github.com/bandantonio/antmarky/actions/workflows/antmarky.yml/badge.svg?branch=main[antmarky]^]
https://coveralls.io/github/bandantonio/antmarky?branch=main[image:https://coveralls.io/repos/github/bandantonio/antmarky/badge.svg?branch=main[Coverage
Status]^]
image:https://img.shields.io/docker/pulls/bandantonio/antmarky[Docker
Pulls]
https://github.com/standard/semistandard[image:https://img.shields.io/badge/code%20style-semistandard-f7df1e.svg[js-semistandard-style]^]The main idea behind creating Antmarky was to have a generator with _zero configuration_ that can serve your Asciidoctor files
in the documentation directory.Consider Antmarky as a lightweight alternative to https://docs.antora.org/antora/latest/[Antora^].
Currently, Antmarky flattens out the directory structure and displays all the files at the root level under the
corresponding directory.=== Features
* Zero configuration
* Fully responsive layout
* Fully static (doesn't require a web server to work)
* No language frameworks included
* Support of major Asciidoctor features:
** https://docs.asciidoctor.org/asciidoc/latest/directives/include/[Includes^]
** https://docs.asciidoctor.org/asciidoc/latest/directives/conditionals/[Conditionals^]
** https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/[Tables^]
** https://docs.asciidoctor.org/asciidoc/latest/blocks/admonitions/[Admonitions^]
* xref:features.adoc#fontawesome[FontAwesome]
* Copy code block=== Quickstart
==== Prerequisites
* https://docs.docker.com/get-docker/[Docker^]
==== Serve content
[source,sh]
----
docker run --rm \
--name antmarky-ssg \
-v ${PWD}/docs:/antmarky/docs \
-p 8000:8000 \
bandantonio/antmarky
----Local server will be launched at http://localhost:8000[^]
==== Build content
[source,sh]
----
docker run --rm \
--name antmarky-ssg \
-v ${PWD}/docs:/antmarky/docs \
-v ${PWD}/public:/antmarky/public \
bandantonio/antmarky build
----Website static files will be generated in the `public` directory.