Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
817176c7
Commit
817176c7
authored
Dec 07, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue a warning that $Event documentation isn't emitted in .RST
Closes #2155
parent
ea4b77ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
vmodtool.py
lib/libvcc/vmodtool.py
+5
-0
vmod.vcc
lib/libvmod_debug/vmod.vcc
+3
-0
No files found.
lib/libvcc/vmodtool.py
View file @
817176c7
...
...
@@ -465,6 +465,11 @@ class s_event(stanza):
self
.
vcc
.
contents
.
append
(
self
)
def
rstfile
(
self
,
fo
,
man
):
if
len
(
self
.
doc
)
!=
0
:
sys
.
stderr
.
write
(
"NB: Not emitting .RST for $Event
%
s
\n
"
%
self
.
event_func
)
return
def
hfile
(
self
,
fo
):
...
...
lib/libvmod_debug/vmod.vcc
View file @
817176c7
...
...
@@ -35,6 +35,9 @@ of VMOD handling in Varnish.
$Event event_function
You are not supposed to be able to see this text in the .RST
$Function VOID panic(STRING_LIST)
Don't.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment