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
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Alexander Medvednikov
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Delyan Angelov
8788512c4d
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
Nick Treleaven
2cd9c91e98
vdoc: highlight terminal examples for -comments -color (#13937) 2022-04-04 18:13:24 +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
fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
Delyan Angelov
c97f0c59d1
tools: generate index.html instead of .html for v doc -m -f html . 2022-01-06 04:06:33 +02:00
Delyan Angelov
32ea53960e
v doc: show a proper error message instead of panic on v doc -m file.v 2021-10-09 11:56:37 +03:00
yuyi
108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
Leo Developer
7bffabbce2
vdoc: add -comments and new comment merger (#11221) 2021-08-19 10:20:43 +03:00
yuyi
b0b4b8e65b
checker: fix missing check generic fn call args (fix #10649) (#10657) 2021-07-04 19:15:15 +03:00
Delyan Angelov
6e589e2ae8
vdoc: fix panic on running v doc -all -m vlib/ -f html -inline-assets two times in a row 2021-04-21 14:33:41 +03:00
Lukas Neubert
9427c5f526
vdoc: fix output folder creation (#9699) 2021-04-12 15:59:40 +03:00
Swastik Baranwal
0e254e0329
vdoc: support -os and show docs according to the platform (#9474) 2021-03-27 09:50:06 +01:00
Ned Palacios
1d42b4cf66
vdoc, v.doc: remove DocPos and use token.Position (#9429) 2021-03-23 09:07:09 +01:00
Ned Palacios
eccf707270
vdoc: improve error message for non-existing symbols (#9359) 2021-03-18 15:04:53 +02:00
Delyan Angelov
0c620a78bf
vdoc: highlight keywords in bright_blue 2021-03-16 12:24:34 +02:00
Swastik Baranwal
26138f98af
v doc: implement color highlighting for the stdout format, enable it by default (#9312) 2021-03-15 13:21:19 +02:00
spaceface
e9797c618a
all: implement error interfaces (#9291) 2021-03-13 18:13:50 +01:00
Ned Palacios
62458e3553
vdoc: remove local mode (#9282) 2021-03-13 07:49:03 +02:00
Ned Palacios
114a7db6e5
vdoc: fix symbol filtering (#9210) 2021-03-09 13:05:50 +02:00
Patrick Hintermayer
8f0ede34ad
v doc: add available output formats (#9180) 2021-03-08 17:21:40 +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
spaceface
b9a381f101
all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
Delyan Angelov
2516c07614
ci: fix v -W build-tools 2021-02-22 15:33:35 +02:00
Ned Palacios
ebb5305b27
vdoc: fix markdown toc link rendering (#8714) 2021-02-13 09:04:47 +02: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
Delyan Angelov
728344ff65
ci: fix v test-cleancode 2021-01-25 12:55:01 +02:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
zakuro
33694665f0
fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
Larpon
362c21de06
vdoc: remove http doc server (#7984) 2021-01-09 22:47:58 +01:00
Larpon
b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00
Larpon
30a2f125ef
doc: add comment example support (#7924) 2021-01-06 19:43:43 +01:00
hazohelet
a02de42450
vdoc: escape < and > before creating md (#7895) 2021-01-05 19:16:56 +01:00
Lukas Neubert
55d5b9e724
vdoc: include readme link in toc (#7871) 2021-01-05 01:40:21 +01:00
Lukas Neubert
4f5db46bc2
vdoc: prefix for head section id (#7866) 2021-01-04 20:00:18 +02:00
Delyan Angelov
90839a1b76
vdoc: fix markdown content indentation 2021-01-02 23:17:54 +02:00
Lukas Neubert
38c764f0ce
vdoc: fix toc Constants link (#7810) 2021-01-02 20:18:17 +02:00
Lukas Neubert
9980de39c3
vdoc: remove 's' between paragraphs (#7811) 2021-01-02 19:52:45 +02:00
NTBBloodbath
c8caf71282
vdoc: fix the indentation of the generated html file (#7802) 2021-01-02 11:11:34 +02:00
Daniel Däschle
7bd0c5bc03
vdoc: search fix titles (#7681) 2020-12-29 21:01:12 +02:00
Daniel Däschle
d69993a40e
vdoc: implement advanced search (beta) (#7630) 2020-12-29 13:51:24 +02:00
Daniel Däschle
5c4c5042b3
vdoc: fix scrollbar on mobile (#7614) 2020-12-27 16:14:16 +02:00
Lukas Neubert
06fdf34214
fmt: unwrap long single line ifs (#7608) 2020-12-27 14:20:30 +01:00
Daniel Däschle
929a002229
vdoc: move to it's own directory cmd/tools/vdoc/ (#7606) 2020-12-27 14:43:23 +02:00