Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include AsciiDoc files as website input sources #12

Open
rlenferink opened this issue Oct 7, 2021 · 3 comments
Open

Include AsciiDoc files as website input sources #12

rlenferink opened this issue Oct 7, 2021 · 3 comments
Labels
help wanted Denotes an issue that needs help from a contributor.

Comments

@rlenferink
Copy link
Member

rlenferink commented Oct 7, 2021

Right now in the Celix source tree there are 2 different input formats: Markdown and AsciiDoc. The Markdown files are already processed by Hugo but the AsciiDoc files are not.

It seems that Hugo is able to handle AsciiDoc as input files as well, see https://gohugo.io/content-management/formats/#list-of-content-formats

Test whether this works and whether the output is available on the website.

AsciiDoc input sources:

PR apache/celix#363 adds another AsciiDoc file for PushStreams, when merged that file should preferabbly be checked as well.

@rlenferink rlenferink added the help wanted Denotes an issue that needs help from a contributor. label Oct 7, 2021
@pnoltes
Copy link
Contributor

pnoltes commented Feb 13, 2022

Note that GitHub also supports view of asciidoc.

I think it would be nice to align the Celix documentation to 1 format: markdown or asciidoc and because asciidoc is more flexible I would prefer asciidoc.

Also note that the CLion / IntelliJ asciidoc plugin support transformation of markdown to asciidoc, which should make aligning the documentation format more easy .. if we move to asciidoc.

@rlenferink
Copy link
Member Author

I think it would be nice to align the Celix documentation to 1 format: markdown or asciidoc

I agree

and because asciidoc is more flexible I would prefer asciidoc.

Just for my information: what functionality do we want for Celix that AsciiDoc is better at than Markdown?

It seems that Hugo supports AsciiDoc (see https://gohugo.io/content-management/formats/#list-of-content-formats ) when AsciiDoc is installed, but I would suggest to do some testing upfront to ensure that things will continue working

@PengZheng
Copy link
Contributor

PengZheng commented Jul 16, 2023

Just for my information: what functionality do we want for Celix that AsciiDoc is better at than Markdown?

I quote the following from a comprehensive article Compare AsciiDoc to Markdown:

AsciiDoc isn’t stuck in a game of whack-a-mole trying to satisfy publishing needs like Markdown. Rather, the AsciiDoc syntax was explicitly designed with the needs of publishing in mind, both print and web.

An extra little advantage of using AsciiDoc is its inline plantuml support. Unfortunately, GitHub does not support plantuml
natively. We need some extra setup to workaround this: https://docs-as-co.de/news/plantuml-markdown-code-gitlab-github-integration/

Either AciiDoc + Plantuml or Github flavored Markdown + Mermaid, I am not sure which one we should pick. @pnoltes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor.
Projects
None yet
Development

No branches or pull requests

3 participants