Forgejo with AsciiDoc support https://forgejo.org
Go to file
Marko Korhonen 7f27dd42eb
Some checks failed
/ build_image (push) Failing after 27s
Setup buildx
2024-02-24 13:20:09 +02:00
.forgejo/workflows Setup buildx 2024-02-24 13:20:09 +02:00
.dockerignore Add dockerignore 2022-06-11 15:20:28 +03:00
Dockerfile Bump release 2023-11-26 19:48:57 +02:00
README.adoc [CI SKIP] Add my AsciiDoc configuration for Forgejo in the README 2023-06-17 14:20:07 +03:00

Forgejo with AsciiDoc support

status

The official Forgejo Docker image does not support AsciiDoc rendering, so I wanted to create an image which has support out of the box.

Pull from my Forgejo instance

Visit the Packages section for more information. The server is running behind 4G broadband so it might be a bit slow to download. Consider pulling the other layers first from the official image to speed up the download.

Configuration

In addition to pulling this image instead of the official one, you need to configure the renderer. You can follow the official docs to achieve that.

My configuration on this Forgejo instance
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
RENDER_COMMAND = "asciidoctor -s -a skip-front-matter -a showtitle -a source-highlighter=rouge --out-file=- -"
IS_INPUT_FILE = false

Updates

This image is based on the latest official Forgejo image. I will update it whenever I notice the Forgejo team update their image and I have the time to do it.

Support

This image comes with no support whatsoever. The Dockerfile is based on the official Forgejo image and it is literally 2 lines long so there is not much to go wrong here. If, for whatever reason you feel that there must be something wrong with my image, you can email me at forgejo@functionalhacker.korhonen.cc