File tree 2 files changed +37
-1
lines changed
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ project = ' Laravel Helper'
2
+ title = ' Laravel Helper Documentation'
3
+ description = ' An opinionated Neovim plugin for Laravel development'
4
+ format = ' markdown'
5
+ dir = ' doc/luadoc'
6
+ file = {' lua/' }
7
+ sort = true
8
+ no_space_before_args = true
9
+ all = true
10
+ not_luadoc = true
11
+ readme = ' README.md'
12
+
13
+ topics = {
14
+ ' ./README.md' ,
15
+ ' ./CONTRIBUTING.md' ,
16
+ }
17
+
18
+ -- vim-specific settings
19
+ custom_tags = {
20
+ { ' mod' , title = ' Module' },
21
+ { ' brief' , title = ' Brief' },
22
+ { ' usage' , title = ' Usage' },
23
+ }
24
+
25
+ custom_display_name_handler = function(item, default_handler)
26
+ -- handle vim module names like " laravel-helper.config"
27
+ if item.name:find(" %." ) then
28
+ return item.name
29
+ else
30
+ return default_handler(item)
31
+ end
32
+ end
Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ format:
45
45
# Generate documentation
46
46
docs :
47
47
@echo " Generating documentation..."
48
- @[ -x " $$ (command -v ldoc)" ] && ldoc $(LUA_PATH ) -d $(DOC_PATH ) -c .ldoc.cfg || echo " ldoc not installed. Skipping documentation generation."
48
+ @if command -v ldoc > /dev/null 2>&1 ; then \
49
+ ldoc $(LUA_PATH ) -d $(DOC_PATH ) -c .ldoc.cfg || true ; \
50
+ else \
51
+ echo " ldoc not installed. Skipping documentation generation." ; \
52
+ fi
49
53
50
54
# Clean generated files
51
55
clean :
You can’t perform that action at this time.
0 commit comments