You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Iblis Lin (Jira)" <ji...@apache.org> on 2019/10/02 14:00:00 UTC
[jira] [Updated] (MXNET-1432) Hide private function in API
Reference of Julia doc
[ https://issues.apache.org/jira/browse/MXNET-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Iblis Lin updated MXNET-1432:
-----------------------------
Description:
The {{@autodoc}} macro will output all the stuffs from the module.
Considering build a filter for hiding all private functions that the name starts with `_`.
Ref: [https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@autodocs-block-1]
{code:java}
Filter = x -> !startswith("MXNet.mx._", string(x))
{code}
was:
The {{@autodoc}} macro will output all the stuffs from the module.
Considering build a filter for hiding all private functions that the name starts with `_`.
Ref: [https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@autodocs-block-1]
{code:java}
Filter = x -> !startswith("_", string(x))
{code}
> Hide private function in API Reference of Julia doc
> ---------------------------------------------------
>
> Key: MXNET-1432
> URL: https://issues.apache.org/jira/browse/MXNET-1432
> Project: Apache MXNet
> Issue Type: Story
> Components: Apache MXNet Julia API
> Reporter: Iblis Lin
> Assignee: Iblis Lin
> Priority: Major
>
> The {{@autodoc}} macro will output all the stuffs from the module.
> Considering build a filter for hiding all private functions that the name starts with `_`.
> Ref: [https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@autodocs-block-1]
> {code:java}
> Filter = x -> !startswith("MXNet.mx._", string(x))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org