Incorrect code block for doc comment

Open
#243 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Start with the generated ChildProcessEvent documentation page linked in the issue and compare its rendering with the pasted Haxe doc comment and code block. Trace how this comment is parsed and displayed, then confirm that the resulting code block matches the source formatting without the incorrect rendering shown in the screenshot.

Written by the indexing model from the issue text.

Description

bug

http://haxefoundation.github.io/hxnodejs/js/node/child_process/ChildProcessEvent.html

The source doesn't look too crazy, no mixed indentation or anything like that, so this should probably work ok?

	/**
		Emitted when:
			1. The process could not be spawned, or
			2. The process could not be killed, or
			3. Sending a message to the child process failed for whatever reason.

		Note that the exit-event may or may not fire after an error has occured.
		If you are listening on both events to fire a function, remember to guard against calling your function twice.

		See also `ChildProcess.kill` and `ChildProcess.send`.
	**/
	var Error : ChildProcessEvent<js.Error->Void> = "error";
Dominant language
Haxe
Stars
158
Forks
38
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HaxeFoundation/dox

All issues in HaxeFoundation/dox

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.