Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Oct 9, 2024
1 parent 57b18ec commit 5a174db
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 370 deletions.
351 changes: 0 additions & 351 deletions doc/live-preview.txt

This file was deleted.

6 changes: 3 additions & 3 deletions scripts/gen_api_spec.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local l = require("live-preview")
local l = require("livepreview")

local function read_tags_file()
local uv_read_file = require("live-preview").utils.uv_read_file
local uv_read_file = require("livepreview").utils.uv_read_file
local tags_file = "doc/tags"
local tags = uv_read_file(tags_file)
return tags
Expand All @@ -22,7 +22,7 @@ end
local functions = extract_functions(read_tags_file())

local content = string.format([[
L = require("live-preview")
L = require("livepreview")
local functions = %s
describe("Testing API functions", function()
for _, func in ipairs(functions) do
Expand Down
Loading

0 comments on commit 5a174db

Please sign in to comment.