AnswerDotAI / AnswerDotAI/nbdev

Can't document static / constant variables?

未关闭
#1,355 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Jupyter Notebook
星标
5.3k
派生
514
平均合并
2 天 30 分钟
30 天内合并 PR
8

描述

```python
from nbdev import show_doc

# this gets ignored
MY_CONST = 'hello' # this gets ignored

# this shows hello not MY_CONST
showdoc(MY_CONST)
```

贡献指南

打开贡献指南

调研方向

使用 nbdev.show_doc 和 MY_CONST 赋值重现 notebook 示例,然后检查 show_doc 入口点及其对常量值的处理。完成的标准是:常量会连同其名称和预期值一起被记录,而不是被忽略或仅显示为 hello。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter-notebook, python
领域
documentation
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。