3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-27 06:27:57 +00:00

Docs: Fix warnings

Changes a bunch of :doc:`/cmd/*` to :cmd:ref:`*` with the intention of changing it later to something that replicates the previous effect of displaying the commands `short_help`.
This commit is contained in:
Krystine Sherwin 2025-07-21 10:34:32 +12:00
parent 6f0ee43152
commit 7647d2c741
No known key found for this signature in database
15 changed files with 90 additions and 89 deletions

View file

@ -305,7 +305,10 @@ class YosysCmdDocumenter(YosysCmdGroupDocumenter):
return False
def get_sourcename(self) -> str:
return self.object.source_file
try:
return self.object.source_file
except AttributeError:
return super().get_sourcename()
def format_name(self) -> str:
return self.object.name