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

70 Commits

Author SHA1 Message Date
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
Delyan Angelov
90b9b9d755
v doc: small clean of Return to contents markdown link 2021-07-27 13:00:07 +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
yuyi
b0b4b8e65b
checker: fix missing check generic fn call args (fix #10649) (#10657) 2021-07-04 19:15:15 +03:00
Yuriy Zymlex
6736817bba
parser: fix rewind_scanner_to_current_token_in_new_mode (#10495) 2021-06-22 20:17:36 +03:00
Delyan Angelov
b6bd6d1d35
tests: add cmd/tools/vdoc/tests/vdoc_file_test.v, extract a v.util.diff module, cleanup 2021-06-22 18:52:34 +03:00
shadowninja55
984551227b
doc: allow pressing / to focus search bar (#10522)
* type / to focus search; rename unused variables

* use ev.preventDefault() instead of setTimeout()

* delete doc.js_
2021-06-20 05:16:50 +03:00
Anton Zavodchikov
9ee1d8c848
doc: decrease letter count for search to 2 (#10214) 2021-05-27 10:17:25 +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
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
Swastik Baranwal
0e254e0329
vdoc: support -os and show docs according to the platform (#9474) 2021-03-27 09:50:06 +01:00
Delyan Angelov
ae6420afc7
tools: fix substring in s usages, preventing v -W build-tools 2021-03-23 13:36:50 +02: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
f28e67d526
cmd/tools/v/vdoc: keep _ sep in numeric literals and highlight modules properly (#9358) 2021-03-18 15:06:16 +02:00
Ned Palacios
eccf707270
vdoc: improve error message for non-existing symbols (#9359) 2021-03-18 15:04:53 +02:00
Swastik Baranwal
2e84773ef1
cmd/tools/vdoc: highlight nested string quotes properly (#9341) 2021-03-17 09:50:22 +02:00
Delyan Angelov
0c620a78bf
vdoc: highlight keywords in bright_blue 2021-03-16 12:24:34 +02:00
Swastik Baranwal
0b0e96a8cd
vdoc: improve syntax highlighting (#9323) 2021-03-16 12:05:36 +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
Lukas Neubert
cfe9f6d5d3
help: remove http doc server options (#8839) 2021-02-21 16:18:50 +02:00
Lukas Neubert
901aa83e65
vdoc: hide README toc entry without readme (#8841) 2021-02-20 16:03:10 +02:00
Lukas Neubert
38d1eac7f5
vdoc: fix padding above heading (#8842) 2021-02-20 15:16:51 +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
Ned Palacios
ebb5305b27
vdoc: fix markdown toc link rendering (#8714) 2021-02-13 09:04:47 +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
Ned Palacios
d7d069adc4
vdoc: set max-width to img; do not stretch to page container (#8410) 2021-01-29 14:49:06 +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
Delyan Angelov
728344ff65
ci: fix v test-cleancode 2021-01-25 12:55:01 +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