Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bleonheart committed Apr 30, 2024
1 parent 49b4e6c commit 5571055
Show file tree
Hide file tree
Showing 17 changed files with 187 additions and 967 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
path: lilia
path: skeleton

- uses: leafo/[email protected]
with:
Expand All @@ -75,11 +75,11 @@ jobs:
run: luarocks make

- name: Build docs
working-directory: lilia
working-directory: skeleton
run: ldoc . --fatalwarnings

- name: Copy assets
working-directory: lilia
working-directory: skeleton
run: |
cp -v docs/css/* docs/html
cp -v docs/js/* docs/html
Expand All @@ -89,7 +89,7 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: lilia/docs/html
publish_dir: skeleton/docs/html

sync:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'LiliaFramework/Lilia' && success()
Expand Down
5 changes: 0 additions & 5 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
exclude_files = {
"lilia/modules/utilities/logging/logs.lua",
"lilia/gamemode/libraries/thirdparty/**/*.lua",
"lilia/lilia.txt",
"docs/*.lua",
"docs/**/*.lua",
}
15 changes: 3 additions & 12 deletions config.ld
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
file = {
"docs/hooks",
"lilia",
exclude = {"lilia/gamemode/libraries/thirdparty"}
}

module_file = {
Character = "lilia/gamemode/libraries/meta/character.lua",
Entity = "lilia/gamemode/libraries/meta/entity.lua",
Inventory = "lilia/gamemode/libraries/meta/inventory.lua",
Item = "lilia/gamemode/libraries/meta/item.lua",
Player = "lilia/gamemode/libraries/meta/player.lua"
"skeleton",
}

dir = "docs/html"
Expand Down Expand Up @@ -52,9 +42,10 @@ custom_display_name_handler = function(item, default_handler)
return default_handler(item)
end


new_type("hooks", "Hooks", true)
new_type("configurations", "Configurations", true)
new_type("panel", "Panels", true)
new_type("factions", "Factions", true)
tparam_alias("inventory", "Inventory")
tparam_alias("item", "Item")
tparam_alias("date", "date")
Expand Down
49 changes: 0 additions & 49 deletions docs/hooks/class.lua

This file was deleted.

61 changes: 0 additions & 61 deletions docs/hooks/faction.lua

This file was deleted.

Loading

0 comments on commit 5571055

Please sign in to comment.