Skip to content

Commit

Permalink
LDoc - Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteOne committed Aug 16, 2023
1 parent 96f34ff commit 72c8905
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 27 deletions.
21 changes: 17 additions & 4 deletions .github/custom_templates/ldoc.ltp
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Test LDoc</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="ldoc.css" type="text/css" />
<link rel="stylesheet" href="/assets/css/main.css" />
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
<title>BadRotations API Documentation</title>
</head>
<body>
$(content)
</body>
<header>
<h1>$(title)</h1>
</header>

<main>
$(body)
</main>

<footer>
<!-- Footer content -->
</footer>
</html>
22 changes: 0 additions & 22 deletions .github/custom_templates/ldoc.ltp.bku

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ldoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: luarocks install ldoc

- name: Build docs
run: ldoc --template .github/custom_templates/ldoc.ltp .
run: ldoc -l .github/custom_templates .

- name: List contents of docs directory
run: ls -al ./docs && cat ./docs/index.html
Expand Down

0 comments on commit 72c8905

Please sign in to comment.