CI: Generate code docs and publish for main
This commit is contained in:
parent
8de0b42d9d
commit
3b08851cce
2 changed files with 55 additions and 2 deletions
|
|
@ -56,3 +56,15 @@ copy_binary = custom_target(
|
|||
'@OUTPUT@',
|
||||
],
|
||||
)
|
||||
|
||||
cargo_doc = custom_target(
|
||||
'cargo-doc',
|
||||
build_by_default: false,
|
||||
build_always_stale: true,
|
||||
output: 'doc',
|
||||
console: true,
|
||||
command: [
|
||||
cargo, 'doc',
|
||||
cargo_options + ['--no-deps', '--document-private-items'],
|
||||
],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue