summary refs log tree commit diff
path: root/bin/man1/htagml.1
blob: 1899609283ae2a69a471b42822f26ce9aaa74228 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.Dd January 12, 2021
.Dt HTAGML 1
.Os
.
.Sh NAME
.Nm htagml
.Nd format tagged file as HTML
.
.Sh SYNOPSIS
.Nm
.Op Fl ipx
.Op Fl f Ar tagsfile
.Ar file
.
.Sh DESCRIPTION
The
.Nm
utility formats a file tagged with
.Xr ctags 1
as HTML.
Tags are output as fragment hyperlinks
with the class
.Qq tag .
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl f Ar tagsfile
Read the tag descriptions from a file called
.Ar tagsfile .
The default behavior is
to read them from a file called
.Pa tags .
.It Fl i
Assume
.Ar file
has been pre-formatted
on standard input,
such as by a syntax highlighter.
Only tag hyperlinks are added.
.It Fl p
Wrap the output in a
.Sy pre
element.
.It Fl x
Instead produce an index of tags
ordered by their occurrence in
.Ar file .
The index is formatted as a
.Sy ul
element with the class
.Qq index .
.El
.
.Sh FILES
.Bl -tag -width Ds
.It Pa tags
default input tags file
.El
.
.Sh EXAMPLES
.Bd -literal -offset indent
ctags htagml.c && htagml htagml.c
.Ed
.
.Sh SEE ALSO
.Xr ctags 1
text instead: * cgit_print_http_headers() * cgit_print_docstart() * cgit_print_pageheader() Remove context parameter from all commands Drop the context parameter from the following functions (and all static helpers used by them) and use the global context instead: * cgit_get_cmd() * All cgit command functions. * cgit_clone_info() * cgit_clone_objects() * cgit_clone_head() * cgit_print_plain() * cgit_show_stats() In initialization routines, use the global context variable instead of passing a pointer around locally. Remove callback data parameter for cache slots This is no longer needed since the context is always read from the global context variable. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-16auth: have cgit calculate login addressJason A. Donenfeld This way we're sure to use virtual root, or any other strangeness encountered. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16auth: lua string comparisons are time invariantJason A. Donenfeld By default, strings are compared by hash, so we can remove this comment. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16authentication: use hidden form instead of refererJason A. Donenfeld This also gives us some CSRF protection. Note that we make use of the hmac to protect the redirect value. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld This leverages the new lua support. See filters/simple-authentication.lua for explaination of how this works. There is also additional documentation in cgitrc.5.txt. Though this is a cookie-based approach, cgit's caching mechanism is preserved for authenticated pages. Very plugable and extendable depending on user needs. The sample script uses an HMAC-SHA1 based cookie to store the currently logged in user, with an expiration date. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16t0111: Additions and fixesLukas Fleischer * Rename the capitalize-* filters to dump.* since they also dump the arguments. * Add full argument validation to the email filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer