v/cmd/tools/vdoc/testdata/readme_in_project_root
Delyan Angelov 5a4dbf19d0
Some checks are pending
vlib modules CI / build-module-docs (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
Workflow Lint / lint-yml-workflows (push) Waiting to run
tools: fix return"" in vdoc html output (fix #24979)
2025-07-31 10:33:35 +03:00
..
src tools: fix return"" in vdoc html output (fix #24979) 2025-07-31 10:33:35 +03:00
README.md tools: fix return"" in vdoc html output (fix #24979) 2025-07-31 10:33:35 +03:00
v.mod

hello from readme

Example:

fn is_odd(x int) bool {
	if x % 2 == 0 {
		return false
	}
	return true
}

Another example:

fn answer() string {
	return '42'
}