Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引数名がクラス名と同名であると、引数の説明でクラスへのリンクになる #5

Open
ykominami opened this issue May 25, 2018 · 0 comments

Comments

@ykominami
Copy link
Contributor

引数名がクラス名と同名(大文字小文字区別なし)であると、引数の説明でクラスへのリンクになる。

ソース
mruby-on-ev3rt+tecs/index.rstでtoctreeにおいてgyroとしている。
mruby-on-ev3rt+tecs/balancer.rstの引数の説明で仮引数をgyroとしている。

html出力
_build/html/mruby-on-ev3rt+tecs/gyro.htmlにおいて仮引数のつもりのgyroがgyro.htmlへのリンクになっている。

大文字小文字に違いは無視される。
rstファイルのファイル名を変更しても同じ結果になる。
mruby-on-ev3rt+tecs/gyro.rstのファイルの先頭ではGyroとなっている。

現在は、仮引数名を同名にならないように変更して、報告したことが発生しないようにしている。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant