mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Document library crates only in mach doc (#32429)
* Document library crates only in mach doc * Fix typo --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
dd2de1836b
commit
2ca6c4b52b
1 changed files with 3 additions and 0 deletions
|
@ -246,6 +246,9 @@ class PostBuildCommands(CommandBase):
|
|||
if not path.exists(docs):
|
||||
os.makedirs(docs)
|
||||
|
||||
# Document library crates to avoid package name conflict between severoshell
|
||||
# and libservo. Besides, main.rs in servoshell is just a stub.
|
||||
params.insert(0, "--lib")
|
||||
# Documentation build errors shouldn't cause the entire build to fail. This
|
||||
# prevents issues with dependencies from breaking our documentation build,
|
||||
# with the downside that it hides documentation issues.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue