Unable to build documents
Labels: module: onnx, triaged, module: doc infra

### 📚 The doc issue

i follow the instruction in [contribute.md](https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md#building-documentation)
**some mistake occured during building the document:**

```
❯ make html --debug
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
File 'html' does not exist.
File 'figures' does not exist.
Must remake target 'figures'.
Successfully remade target file 'figures'.
File 'onnx' does not exist.
Must remake target 'onnx'.
Traceback (most recent call last):
File "/docs/source/scripts/onnx/build_onnx_diagnostics_rules_md.py", line 37, in <module>
main()
File "/docs/source/scripts/onnx/build_onnx_diagnostics_rules_md.py", line 33, in main
gen_docs(args.out_dir)
File "/docs/source/scripts/onnx/build_onnx_diagnostics_rules_md.py", line 16, in gen_docs
full_description_markdown = rule.full_description_markdown
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Rule' object has no attribute 'full_description_markdown'
make: *** [Makefile:22: onnx] Error 1
```
**system infomation are as follow:**
```
❯ uname -a
Linux DY-Debian 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 GNU/Linux
```

```
❯ python -V
Python 3.11.2
```

```
❯ pip freeze
absl-py==1.4.0
alabaster==0.7.13
anyio==3.7.1
appdirs==1.4.4
asgiref==3.6.0
asttokens==2.2.1
astunparse==1.6.3
attrs==22.2.0
av==10.0.0
Babel==2.10.3
backcall==0.2.0
bcrypt==3.2.2
beautifulsoup4==4.11.2
beniget==0.4.1
blinker==1.5
Bottleneck==1.3.5
Brlapi==0.8.4
Brotli==1.0.9
bytecode==0.14.0
cachetools==5.3.1
capstone==4.0.2
certifi==2022.9.24
chardet==5.1.0
charset-normalizer==3.0.1
click==8.1.3
colorama==0.4.6
colored-traceback==0.3.0
contourpy==1.0.7
coverage==6.5.0
cryptography==38.0.4
cupshelpers==1.0
cycler==0.11.0
dbus-python==1.3.2
debugpy==1.6.3+git20221103.a2a3328
decorator==5.1.1
defusedxml==0.7.1
distro==1.8.0
dnspython==2.4.0
docutils==0.18.1
entrypoints==0.4
et-xmlfile==1.0.1
executing==1.2.0
Flask==2.2.2
fonttools==4.38.0
fs==2.4.16
fuse-python==1.0.5
future==0.18.2
gast==0.5.2
google-auth==2.22.0
google-auth-oauthlib==0.4.6
gpg==1.18.0
grpcio==1.56.0
h11==0.14.0
html5lib==1.1
httpcore==0.17.3
httplib2==0.20.4
hypothesis==6.67.1
idna==3.3
imagesize==1.4.1
iniconfig==1.1.1
intervaltree==3.0.2
invoke==2.0.0
ipykernel==6.17.0
ipython==8.5.0
itsdangerous==2.1.2
jdcal==1.0
jedi==0.18.2
Jinja2==3.1.2
jupyter_client==7.4.9
jupyter_core==4.12.0
kiwisolver==1.4.4
lazr.restfulclient==0.14.5
lazr.uri==1.0.6
llvmlite==0.39.1
louis==3.24.0
lxml==4.9.2
lz4==4.0.2+dfsg
Mako==1.2.4.dev0
Markdown==3.4.3
markdown-it-py==2.2.0
MarkupSafe==2.1.2
matplotlib==3.6.0
matplotlib-inline==0.1.6
mdit-py-plugins==0.3.5
mdurl==0.1.2
more-itertools==8.10.0
mpmath==0.0.0
myst-parser==0.18.1
nest-asyncio==1.5.4
numba==0.56.4
numexpr==2.8.4
numpy==1.24.2
oauthlib==3.2.2
odfpy==1.4.2
olefile==0.46
openpyxl==3.0.9
packaging==23.0
pandas==1.5.3
paramiko==2.12.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.4.0
pluggy==1.0.0+repack
plumbum==0.0.0
ply==3.11
prompt-toolkit==3.0.36
protobuf==3.19.6
psutil==5.9.4
ptyprocess==0.7.0
pure-eval==0.0.0
pwntools==4.12.0.dev0
py==1.11.0
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycairo==1.20.1
pycups==2.0.1
pycurl==7.45.2
pydevd==2.9.5
pyelftools==0.29
Pygments==2.14.0
PyGObject==3.42.2
pyinotify==0.9.6
PyJWT==2.6.0
pylibacl==0.7.0
PyNaCl==1.5.0
pyOpenSSL==23.0.0
pyparsing==3.0.9
PyQt5==5.15.9
PyQt5-sip==12.11.1
pyserial==3.5
PySimpleSOAP==1.16.2
pysmbc==1.0.23
PySocks==1.7.1
pytest==7.2.1
python-apt==2.6.0
python-dateutil==2.8.2
python-debian==0.1.49
python-debianbts==4.0.1
python-dotenv==0.21.0
python-etcd==0.4.5
pythran==0.11.0
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@32a6550fcfd59b7f5d9bae4f2181dc5c715de691#egg=pytorch_sphinx_theme
pytz==2022.7.1
pyxattr==0.8.1
pyxdg==0.28
PyYAML==6.0
pyzmq==24.0.1
ranger-fm==1.9.3
reportbug==12.0.0
requests==2.28.1
requests-oauthlib==1.3.1
ROPGadget==7.2
rpyc==5.3.0
rsa==4.9
scapy==2.5.0
scipy==1.10.1
simplejson==3.18.3
six==1.16.0
sniffio==1.3.0
snowballstemmer==2.2.0
sortedcontainers==2.4.0
soupsieve==2.3.2
Sphinx==5.0.0
sphinx-copybutton==0.5.0
sphinx-panels==0.4.1
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-katex==0.8.6
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
stack-data==0.6.2
sympy==1.11.1
tables==3.7.0
tensorboard==2.10.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
torch==1.13.0a0+gitunknown
torchaudio==0.13.1
torchvision==0.14.1a0
tornado==6.2
tqdm==4.64.1
traitlets==5.5.0
typing_extensions==4.4.0
ufoLib2==0.14.0
unicorn==2.0.1.post1
urllib3==1.26.12
wadllib==1.3.6
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==2.2.2
xdg==5
```

```
❯ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
(use "git add <file>..." to include in what will be committed)
.venv/

nothing added to commit but untracked files present (use "git add" to track)
```

```
❯ git rev-parse HEAD
a8f568e99b1e59a97c70ae0a351cdd19716ef085
```
- katex installed by apt,already in $PATH
- pip requirement already satisfied 
- system is Debian12 with KDE plasma


### Suggest a potential alternative/fix

_No response_

cc @ezyang @zou3519 @holly1238 @svekars