Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@benrob0329
Last active December 8, 2023 03:40
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benrob0329/df3ced15dc5a2d5402010be709452f27 to your computer and use it in GitHub Desktop.
Save benrob0329/df3ced15dc5a2d5402010be709452f27 to your computer and use it in GitHub Desktop.
Minetest-Docs Project Proposal

The Minetest-Docs Project Proposal

Current Team Members

  • appguru / LMD

  • benrob0329

  • erlehmann

  • exe_virus

  • GreenXenith

  • ROllerozxa / Sublayer plank

  • j45

  • josiah_wi

  • wsor

Goals

These goals are intended to be accomplished in no particular time frame, however they are listed here roughly by priority.

  1. Document the entire Lua API, it’s parameters, and return types consistently and in an easy to understand manner

  2. Provide snippets for the recommended way to use non-trivial API componenets in as simple a manner as is practical

  3. Cross reference engine source code (C++ and Lua) for ease of access

  4. Cross reference existing documentation where more applicable (such as the Modding Book for tutorials, and the MTE repo for engine internals)

  5. Host larger examples for more complex behavior and recommended API usage

  6. Document engine limitations and known issues where applicable

  7. Cover APIs other than the modding API, such as the menu API

Repository Requirements

We request the following from celeron55:

Repository Policies

  • All proposed changes must have 1 or more approvals from a Minetest-Docs team member other than the proposer, so as long as said approval is not also contested by another Minetest-Docs team member

Documentation Requirements

  1. To clearly show and explain the Minetest Lua API

  2. To show and explain Lua examples for said API

  3. To be linkable from The Web for ease of reference

  4. To be accessible to any reader, regardless of skill level

  5. To be accessible offline (not including hyperlinks to external resources)

  6. To be able to be parsed by tooling, bots, and IDE plugins

Through these requirements, the following necessary features have been deduced:

  • Basic text, source code (preferably with syntax highlighting), tables, section links

  • The ability to convert to HTML for static site hosting

  • Macros or other meta features to assist with custom styling and constructs

  • Notifiers (Info: and Warning:) as a nice-to-have

  • Data output, library availability, or good consistency for easy parsing by tools

Through a loose vote (and some bikeshedding) we have concluded that AsciiDoc is our format of choice.

@Zweihorn
Copy link

Zweihorn commented Jan 1, 2023

Don't want to bother but would like to make you aware of my MT core PR #13077 on the doc README improvement

Keep on the good work and prosper.

@nininik0
Copy link

maybe we can put some docs from minetest itself, also maybe we can write some.

@appgurueu
Copy link

The plan of this project was to write new, higher-quality docs, but unfortunately activity eventually ceased.

@nininik0
Copy link

nininik0 commented Dec 8, 2023

oh, welp im kinda good at writing stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment