___________________________________________________________________________________________________________________________
ApiBrowser acts as a central area for gathering Rift related API documentation. It is however not limited to the in-game Rift API and supports extension by other third party libraries or tools for which documentation can be provided by their authors.
LibWiki is the actual powerhorse behind building, linking and displaying the individual pages. ApiBrowser provides the content and a UI for it.
By default it comes shipped with the documentation for Rift (using Inspect.Documentation), zlib and LibAnimate, LibString, LibWiki since it depends on those.
/api
/api path
/api library path
Both path
and library
are case sensitive and must match exactly.
ApiBrowser is self-documenting as it provides the documentation for its own API inside itself.
In order for your library to support this system make ApiBrowser an optional dependency of your library and then invoke the necessary functions to add your library documentation to ApiBrowser. The easiest way is to structure your documentation the same way Rift does and use ApiBrowser.AddLibraryWithRiftLikeCatalogIndex
.
Tipp: Use (one or more) separate files containing your documentation and check for the existence of the global "ApiBrowser" object at the beginning of the file. If it doesn't exist "return" from the file so normal end users are spared the unnecesary loading time and memory consumpation. You can check ApiBrowser/doc/Example.lua
for an idea of how such a typical documentation source file might look like.
About Project
Created: September 21st 2023
Updated: September 21st 2023
Project ID: 41678
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
September 21st 2023
__________________________________________
Recent File
September 21st 2023
__________________________________________
Members
__________________________________________
Report