Commit graph

82 commits

Author SHA1 Message Date
Delyan Angelov
e5153e7be7
tools,v.doc: let https://modules.vlang.io use vlib/README.md as the index page. (#23480) 2025-01-16 03:15:16 +02:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547) 2024-10-17 11:04:23 +03:00
yuyi
51b471b060
all: replace enum field name 'xxx_' with 'xxx' (#22469) 2024-10-10 09:17:19 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Delyan Angelov
715dc31161
tools: fix v doc not converting <s> in plain code blocks into encoded html entities in its .html output 2024-09-11 19:42:44 +03:00
Delyan Angelov
9238dd6b31
tools: fix v doc truncating code blocks, that lack a specific language (fix #22017) 2024-09-05 16:41:13 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
cb42f32852
v.token: make is_assign() contain .decl_assign (#21805) 2024-07-05 12:52:54 +03:00
Alexander Medvednikov
4884396ee6 vdoc: fix multiline js string generation in search_index.js 2024-06-02 10:35:50 +03:00
Turiiya
f7e820cdeb
v: vet for empty string conditions (#21529) 2024-05-19 17:57:52 +03:00
Turiiya
8aa9314a99
vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
Turiiya
0b83ea77c9
vdoc: update merge_doc_comments so recent fixes extend to all output formats (#21289) 2024-04-15 18:16:27 +03:00
Turiiya
e387fcbdcb
vdoc: fix markdown lists in html (#21287) 2024-04-15 15:00:36 +03:00
Turiiya
183c199021
vdoc: improve creation of trimmed node descriptions, extend tests (#21281) 2024-04-15 14:54:06 +03:00
Turiiya
b44361344a
vdoc: fix regression on example comments (#21226) 2024-04-12 10:53:30 +03:00
Turiiya
313c3bc49d
vdoc: minor cleanup (#21258) 2024-04-12 10:34:13 +03:00
Turiiya
af4111b9de
vdoc: fix issues related to markdown codeblocks in vdoc generate (#21248) 2024-04-11 16:47:17 +03:00
Turiiya
4afeac316a
vdoc: fix character escape in code blocks in readme contents (#21230) 2024-04-09 07:31:54 +03:00
Turiiya
427b6dbcbb
vdoc: improve line merging for readme contents (#21224) 2024-04-08 18:45:51 +03:00
Turiiya
4e8d00d368
vdoc: minor cleanup (#21225) 2024-04-08 18:39:50 +03:00
Turiiya
6a3d8d28b5
vdoc: fix indentation in module readmes (#21220) 2024-04-08 12:48:01 +03:00
Delyan Angelov
a64b87204f
vdoc: make the vdoc html output less dense, and more easily diffable 2023-12-20 14:26:23 +02:00
Ned
0b2feefd87
vdoc: use markdown.default_html_transformer underneath, remove html_tag_escape (#19785) 2023-11-29 18:03:58 +02:00
Ned
782bf86555
vdoc: refactor html_highlight and handle strings with string interpolations (eg. ${a}.${b}.${c}) (#19784) 2023-11-28 15:37:10 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
09ed7d74aa
vlib, tools: make minor improvements, cleanup (#19950) 2023-11-21 17:45:45 +02:00
Swastik Baranwal
4458e49652
vdoc: fix syntax highlighting for symbols before ! and between ( and , (#19888) 2023-11-16 20:14:28 +02:00
Turiiya
59660746dd
vdoc: escape tags in highlighted html (#19731) 2023-11-02 20:58:50 +02:00
Daniel Däschle
1e80e47b79
doc: fix duplication in toc (#19726) 2023-11-02 12:52:34 +03:00
Delyan Angelov
cc1193f331
tools: use @VCURRENTHASH instead of @VHASH in vdoc 2023-11-01 14:15:17 +02:00
Delyan Angelov
c7e6a1c8fa
tools: make vdoc more robust to incomplete code in code examples (do not stop for errors in them) 2023-11-01 14:01:09 +02:00
Ned
6c83d9a205
vdoc: support for highlighting code in README's (#19725) 2023-11-01 13:11:37 +02:00
Turiiya
dac6f0b0c9
vdoc: improve html tag escape (#19266) 2023-09-06 09:42:18 +03:00
Turiiya
2fec2fad53
vdoc: make minor improvements to scrollspy and styles (#19128) 2023-08-14 10:14:36 +03:00
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