You will need a JDK (17+) and a Python (3.10+) installation.
Run pip install -r requirements.txt
You can run the server by running mvn compile exec:java -Dexec.mainClass=io.github.freya022.mkdocs.MkDocsLauncherKt -Dexec.args='mkdocs serve'
,
either in your terminal (if you have Maven installed),
or in your IDE (press CTRL
twice in IntelliJ to open the command bar).
If you wish to contribute to the link server, you can instead run the main method of LinkServer
from your IDE,
and then start MkDocs with mkdocs serve
.
{{ wiki_stub }}
creates an admonition about wiki stubs, which are here for feature discovery, but have little to no content
[[ClassRef]]
creates a link to the documentation of the referenced class[[ClassRef#functionRef]]
creates a link to the documentation of the referenced function[[ClassRef#propertyRef]]
creates a link to the documentation of the referenced property[[functionRef]]
creates a link to the documentation of the referenced top-level function (extension functions are top level)[[propertyRef]]
creates a link to the documentation of the referenced top-level property (extension properties are top level)
Class references use simple names (only the class's name, no package)
Member references only use the member's name (such as BotCommands#create
)
- A PostgreSQL database
- Your bot token
Duplicate the config-template
folder as dev-config
,
and edit the config.json
, with your bot token, prefixes, owner ID and the database details.
You can then run the Main
class.