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

Info documentation #270

Open
DSMasterson opened this issue Oct 21, 2024 · 1 comment
Open

Info documentation #270

DSMasterson opened this issue Oct 21, 2024 · 1 comment
Labels
discussion Should it be converted to Discussions?

Comments

@DSMasterson
Copy link

What is the EAsk standard for building Info documentation for your Emacs package??

It seems the standard for packages built by Eask is to use README files in Markdown style. This is not the standard for Emacs which has used Texinfo for decades. As such, for new people to Emacs, package documentation will be hidden in the package directory. Providing a .info file and a dir file will integrate the documentation into the Info tree automatically on package installation which will make the documentation readily available to new Emacs users.

Perhaps rules should be included in EAsk to generate an Info file from a Markdown file using Pandoc. Of course, this is simplistic and does nothing to ensure that the style of the document is in keeping with the Emacs style guide. In fact, I would suggest making Org files the standard for documentation as there is a Texinfo export backend included in Org as well as a Markdown export backend. Pandoc could also convert your Markdown files to Org files.

What do you think?

@jcs090218
Copy link
Member

Thanks for opening this issue! The community usually needs more interest in discussing document-related topics. 🤔

There has yet to be a standard way to build documents for packages in Eask. However, I've implemented the docs command in #82, but that isn't intended to be the "standard". In case you are curious about the docs command, it uses el2org and generates both Org and HTML formats from Elisp source files.

Ideally, I would support as many modern documentation standards as possible so users can choose according to their tastes. I would also make Texinfo the default option.

@jcs090218 jcs090218 added the discussion Should it be converted to Discussions? label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Should it be converted to Discussions?
Projects
None yet
Development

No branches or pull requests

2 participants