mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-14 06:45:26 +00:00
Add and use ENABLE_HELP_SOURCE
Conditionally include help source tracking to preserve ABI. Docs builds can (and should) use `ENABLE_HELP_SOURCE` so that the generated sphinx docs can perform default grouping and link to source files. Regular user-builds don't need the source tracking.
This commit is contained in:
parent
7fe4ae45fd
commit
891a907a30
4 changed files with 26 additions and 14 deletions
|
@ -276,3 +276,9 @@ From the root of the repository, run `make docs`. This will build/rebuild yosys
|
|||
as necessary before generating the website documentation from the yosys help
|
||||
commands. To build for pdf instead of html, call
|
||||
`make docs DOC_TARGET=latexpdf`.
|
||||
|
||||
It is recommended to use the `ENABLE_HELP_SOURCE` make option for Yosys builds
|
||||
that will be used to build the documentation. This option enables source
|
||||
location tracking for passes and improves the command reference through grouping
|
||||
related commands and allowing for the documentation to link to the corresponding
|
||||
source files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue