1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

48 Commits

Author SHA1 Message Date
Turiiya
6b978a6b5a
vdoc: refactor theme files (#19024) 2023-08-02 10:46:18 +03:00
Turiiya
490a014bf6
tools: support a toc for projects, with single exposing module, in v doc (#19001) 2023-07-29 15:21:15 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
Delyan Angelov
214f72ba03 tools: support VDOC_SORT=false ./v doc time 2023-03-30 14:35:54 +03:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Delyan Angelov
4da2908d63
vdoc: fix panic on empty // comment on v doc -f html file.v; turn expected code block after empty example to a warning 2022-05-03 00:02:12 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Nick Treleaven
7d8db1042d
vdoc: don't highlight less than expression as generic function (#13938) 2022-04-05 05:58:47 +03:00
Nick Treleaven
91b40304b7
vdoc: highlight .., ... as punctuation & postfix ops as operators (#13924) 2022-04-04 09:21:54 +03:00
Nick Treleaven
d10135e2c4
vdoc: HTML highlight generic function as function, not name (#13923) 2022-04-03 23:41:02 +03:00
Nick Treleaven
9c1981a309
vdoc: show // comment prefix and hide any \x01 character (#13880) 2022-03-31 20:00:06 +03:00
Nick Treleaven
a87cd9663e
vdoc: highlight inline examples for -f html (#13879) 2022-03-31 19:32:32 +03:00
Delyan Angelov
7ee93c8a20
docs: show the full information for deprecated functions 2022-03-29 15:17:55 +03:00
gcxfd
8b033c3993
tools: add a -theme-dir folder/ parameter to v doc (#13550) 2022-02-21 12:08:46 +02:00
Delyan Angelov
7f70493e1d
vdoc: show the V commit hash too, not just 0.2.4 2022-02-06 23:50:11 +02:00
Benjamin Stigsen
ceb05b163a
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) 2022-01-28 20:34:44 +02:00
Eragon
fb3a793a27
tools: add "skip to content" link for screan reader and tui browsers (#12571) 2021-11-25 02:53:02 +02:00
Daniel Däschle
12fb4655f5
vdoc: use nicer font (#11151) 2021-08-12 09:21:31 +03:00
Daniel Däschle
800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
Hunam
0f09228adb
vdoc: fix wrong escaping in HTML docs (#10638) 2021-07-30 12:00:03 +03:00
Daniel Däschle
78a41969f6
vdoc: fancier attributes (#10789) 2021-07-13 19:44:22 +03:00
shadowninja55
f4d4f56d97
doc: fix html doc closing tags (#10787) 2021-07-13 16:45:17 +03:00
shadowninja55
d1f1c5ae51
v doc: add attribute tags to v doc -f html (#10778) 2021-07-13 08:27:20 +03:00
Lukas Neubert
0eb59cf2bd
fmt: prevent possible trailing whitespace in wrapped infixes (#9573) 2021-04-03 18:30:25 +02:00
Alexander Medvednikov
7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
Ned Palacios
1d42b4cf66
vdoc, v.doc: remove DocPos and use token.Position (#9429) 2021-03-23 09:07:09 +01:00
Delyan Angelov
c76c69ec35
all: simplify return if ... constructs to make more code compatible with -autofree 2021-03-22 16:45:29 +02:00
Swastik Baranwal
0b0e96a8cd
vdoc: improve syntax highlighting (#9323) 2021-03-16 12:05:36 +02:00
spaceface
b712af56fd
all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Delyan Angelov
2516c07614
ci: fix v -W build-tools 2021-02-22 15:33:35 +02:00
Lukas Neubert
901aa83e65
vdoc: hide README toc entry without readme (#8841) 2021-02-20 16:03:10 +02:00
Nick Treleaven
4a0367a63c
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766) 2021-02-15 17:15:52 +02:00
Nick Treleaven
9e751f72c4
doc, fmt: use map{key: value} syntax for map literals (#8623) 2021-02-08 16:57:42 +02:00
Lukas Neubert
473cd1d416
fmt: single line ternary return (#8605) 2021-02-08 00:28:46 +01:00
Lukas Neubert
7f4c582f1a
fmt: unwrap long infix exprs inside parenthesis if necessary (#8609) 2021-02-07 23:10:39 +01:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Delyan Angelov
dbaccd4272
vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
Alexander Medvednikov
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Lukas Neubert
522eac200f
fmt: keep arr << if x {} else {} on a single line (#8289) 2021-01-24 08:02:35 +01:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Daniel Däschle
b4a542c51c
vdoc: implement advanced search on mobile layout (#8176) 2021-01-18 06:04:59 +01:00
Lukas Neubert
16c9cbce7c
fmt: correctly increase f.line_len for write_indent (#8174) 2021-01-18 06:02:29 +01:00
Daniel Däschle
53941c4a0a
fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
Uwe Krüger
5f95dd54bd
builtin: rename any_* -> *_literal - 2. part (#8032) 2021-01-11 22:58:15 +01:00
Larpon
362c21de06
vdoc: remove http doc server (#7984) 2021-01-09 22:47:58 +01:00
Larpon
78376a0250
vdoc: don't escape < and > in README, fixes #7951 (#7960) 2021-01-08 17:44:19 +01:00
Larpon
b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00