Commit graph

25 commits

Author SHA1 Message Date
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
Delyan Angelov
6bafc28855
fix long line in README.md 2023-11-28 14:55:06 +02:00
Delyan Angelov
39fe077941
vdoc: add a cmd/tools/vdoc/tests/testdata/output_formats/README.md, update the expected outputs 2023-11-28 14:39:49 +02:00
Delyan Angelov
20c9ef21e5
tests: fix quoted path bug in cmd/tools/vdoc/tests/vdoc_file_test.v, that effectively disabled most of the tests there 2023-11-28 14:38:21 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
fb9382833c
v.doc: fix handling of multiline doc contents (#19938) 2023-11-23 13:38:56 +02:00
Turiiya
980912dc96
doc: update linebreak logic, handle "highlight-comments" (#19967) 2023-11-22 15:27:31 +02:00
Swastik Baranwal
4458e49652
vdoc: fix syntax highlighting for symbols before ! and between ( and , (#19888) 2023-11-16 20:14:28 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Delyan Angelov
999328a136
tools: support v doc -run-examples math, to ensure that all // Example: code doc comments are working (#19852) 2023-11-13 12:53:42 +02:00
Turiiya
9051ac8921
all: fix typos (#19634) 2023-10-23 21:21:15 +03:00
Turiiya
e78e468d5f
vdoc: include the project root folder, when searching for readme of src/ (#19000) 2023-07-30 00:00:18 +03:00
Delyan Angelov
1c2b4e76dc
tests: fix diff.color_compare_strings parameter order in test files, to make analysing the results easier 2023-07-29 16:42:40 +03:00
Delyan Angelov
822acd78cb
tools: add test for VDOC_SORT=false ./v doc file.v 2023-03-30 16:53:12 +03:00
yuyi
51f4d99399
all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
yuyi
41dbd12bc4
tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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
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
25bf68e2f1
ci: os.chdir() fixes for windows jobs 2021-08-28 16:21:46 +03:00
Leo Developer
7bffabbce2
vdoc: add -comments and new comment merger (#11221) 2021-08-19 10:20:43 +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