chuongmep / chuongmep/CadPythonShell

__vars__ in documentation

未關閉
#7 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
C#
星號
122
分支
24
PR 合併指標
30 天內沒有已合併 PR

描述

### Search for existing feature requests

- [X] I have searched the issue tracker and confirmed that I was unable to find existing issues for the feature I am requesting.

### The feature request

Please provide some pointers in the documentation and/or the config variables page about how variables can be used in code.

### Proposed solution

```python
print(__vars__['var_name'])
```

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

先從現有文件以及 issue 中提到的設定變數頁面開始,然後檢查目前如何將變數公開給 Python 程式碼。記錄如何使用提議的 __vars__['var_name'] 形式存取變數,並在使用者能夠在相關文件中找到清楚的使用說明時,視為工作完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。