@:dox(hide) works only if applied to every platform
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- documentation
Research direction
Start by tracing how dox handles the @:dox(hide) metadata and platform-specific compilation conditions. Compare the current all-platform behavior with the proposed "Available for all platforms" and "Available on cpp,neko" examples. Done means the documentation generator can represent the intended logical availability without requiring metadata on every platform.
Written by the indexing model from the issue text.
Description
Currently, using the @:dox(hide) field works only if every platform is compiled with this meta-data.
It would be great if @:dox(hide) or another meta-field allowed support for logically flagging a field as unavailable.
For example, the following would compile as "Available for all platforms":
public static function encode( s : String ) : String {
throw "Not implemented";
}
The goal is to be able to support something such as:
#if (!cpp && !neko) @:dox(hide) #end
public static function encode( s : String ) : String {
throw "Not implemented";
}
To get "Available on cpp,neko"
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/dox
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#312 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/dox#309 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
HaxeFoundation/dox#308 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#299 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
HaxeFoundation/dox#294 · 3 comments · 1 reaction ·
All issues in HaxeFoundation/dox
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vetro-protocol/vetro-monorepo#1262 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Snow blower help text: the 2-minute head report, and Ignore stays silentMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Groundskeeper-robot/groundskeeper#167 ·
Maintainers usually reply within 1 day