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

Use a documentation generator software #3

Closed
1 task done
modir opened this issue Sep 23, 2024 · 2 comments
Closed
1 task done

Use a documentation generator software #3

modir opened this issue Sep 23, 2024 · 2 comments
Assignees

Comments

@modir
Copy link

modir commented Sep 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Offending URL

https://mithril.js.org/

Issue description

I already worked on several documentations for open source projects and in helped me to use a software like e.g. https://www.mkdocs.org/ to generate the documentation. A lot of things (e.g. code highlighting, search) is already included or available as plugins.

I don't know in what direction you want to go but at least write in the README how you want to generate the documentation in the future. (How does the automatic process look like etc.

@dead-claudia
Copy link
Member

For the foreseeable future, I don't see us switching to anything else. No need to replace what isn't broken. I will document the current local dev process, though, so it's easier for people to get started.

Docs generators aren't really suitable for us, for a couple big reasons:

  1. Docs generators focus on methods and functions, which is fantastic for traditional libraries, and some small embedded DSLs can get away with that, but they tend to fall apart for larger embedded DSLs like ours.
  2. The core API is relatively small, but the amount of detail we go into is exceptionally high. There would be so much documentation in code comments, it'd make the core code itself difficult to follow.

@dead-claudia
Copy link
Member

Added the contributing guide in 099898e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants