GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - alloverse/alloverse.github.io: Alloverse documentation

BranchesTags
Open more actions menu

Latest commit

 

History

119 Commits
119 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Licenses
Licenses
 
 
_generation
_generation
 
 
_includes
_includes
 
 
_posts
_posts
 
 
_sass
_sass
 
 
assets
assets
 
 
classes
classes
 
 
community
community
 
 
components
components
 
 
concepts
concepts
 
 
examples
examples
 
 
hig
hig
 
 
hosting
hosting
 
 
modules
modules
 
 
protocol-reference
protocol-reference
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
404.html
404.html
 
 
CNAME
CNAME
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
favicon.bak
favicon.bak
 
 
favicon.ico
favicon.ico
 
 
getstarted-csharp.md
getstarted-csharp.md
 
 
index.md
index.md
 
 

Repository files navigation

Generating api docs

  1. Install luarocks
  • brew install luarocks
  1. Install ldoc
  • luarocks install ldoc
  1. Shallow init submodules to latest remote commit wheil skipping LFS files, that we want to make docs for
  • GIT_LFS_SKIP_SMUDGE=1 git submodule update --init --remote
  1. Delete the allonet bindeps folder that contains deps we don't want to generate deps for
  • rm -rf _generation/libs/allonet/bindeps
  1. Use Ruby 2.7 for ldoc
  • rvm use 2.7
  1. Run ldoc
  • ~/.luarocks/bin/ldoc -l _generation -x .md -f markdown _generation/libs
  1. Preview locally
  • bundle exec jekyll serve --livereload

ldoc Errors

ldoc templating is sadly exposing a tiny subset of lua methods so proper error handling is insanely hard. This leads to very hard debugging. Here's hints for some common errors.

Missing @param

If you get an error similar to this, with line numbers close to the ones here, you have probably documented a lua function but not put a @param or @tparam for one or more of its parameters in the MODULE_NAME module.

template failed for <MODULE_NAME>: [string "TMP"]:232: attempt to index a function value (field '?')
stack traceback:
	[string "TMP"]:232: in local 'f'
	[string "TMP"]:49: in global 'map'
	[string "TMP"]:229: in global 'method'
	[string "TMP"]:159: in global 'module'
	[string "TMP"]:315: in function <[string "TMP"]:1>
	[C]: in function 'xpcall'

About

Alloverse documentation

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.