Skip to content

CHANGE: docs tools update - #2460

Open
ritamerkl wants to merge 22 commits into
developfrom
update-docs-tooling
Open

CHANGE: docs tools update#2460
ritamerkl wants to merge 22 commits into
developfrom
update-docs-tooling

Conversation

@ritamerkl

@ritamerkl ritamerkl commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Description

Upgrading docs package tools. DocFX is no longer part of the package and needs to be installed separately.
Also the .csproj file creation is not handled by the docs package anymore, so I included a command that creates the project files via the rider package.

Additionally I added a small format fix in ‎Packages/com.unity.inputsystem/Documentation~/built-in-interactions.md‎.

Testing status & QA

None.

Overall Product Risks

  • Complexity: Low
  • Halo Effect: Low

Comments to reviewers

Checklist

Before review:

  • Changelog entry added.
    • Explains the change in Changed, Fixed, Added sections.
    • For API change contains an example snippet and/or migration example.
    • JIRA ticket linked, example (case %%). If it is a private issue, just add the case ID without a link.
    • Jira port for the next release set as "Resolved".
  • Tests added/changed, if applicable.
    • Functional tests Area_CanDoX, Area_CanDoX_EvenIfYIsTheCase, Area_WhenIDoX_AndYHappens_ThisIsTheResult.
    • Performance tests.
    • Integration tests.
  • Docs for new/changed API's.
    • Xmldoc cross references are set correctly.
    • Added explanation how the API works.
    • Usage code examples added.
    • The manual is updated, if needed.

During merge:

  • Commit message for squash-merge is prefixed with one of the list:
    • NEW: ___.
    • FIX: ___.
    • DOCS: ___.
    • CHANGE: ___.
    • RELEASE: 1.1.0-preview.3.

@u-pr u-pr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Harness Review

Needs changes

The recipe source update is directionally fine, but the checked-in Yamato configuration has not been regenerated, so the CI jobs this repository actually runs still use the old docs tooling.

P1

The recipe changes here do not take effect until the generated .yamato/input-system-*.yml files are refreshed and committed. The checked-in job definitions that Yamato consumes still contain the old commands (git clone --branch "2.3.0-preview" ... everywhere, plus %GSUDO% choco install netfx-4.7.1-devpack ... on Windows; see .yamato/input-system-editor-functional-tests.yml / .yamato/input-system-standalone-functional-tests.yml), and .yamato/triggers.yml points at those generated files directly. As committed, this PR will merge without actually switching CI to PMDT 3.14 or installing DocFX 2.70 anywhere. Please regenerate the job YAML and include the updated .yamato/input-system-*.yml outputs in the PR.

Reviewed commit 7efc128

🤖 Helpful? 👍/👎

@codecov-github-com

codecov-github-com Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff             @@
##           develop    #2460      +/-   ##
===========================================
- Coverage    78.95%   78.95%   -0.01%     
===========================================
  Files          767      767              
  Lines       140780   140811      +31     
===========================================
+ Hits        111153   111175      +22     
- Misses       29627    29636       +9     
Flag Coverage Δ
inputsystem_MacOS_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.0_project 77.49% <0.00%> (-0.01%) ⬇️
inputsystem_MacOS_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.3_project 77.48% <0.00%> (-0.01%) ⬇️
inputsystem_MacOS_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.5_project 77.54% <0.00%> (-0.01%) ⬇️
inputsystem_MacOS_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.6_project 77.55% <0.00%> (-0.01%) ⬇️
inputsystem_MacOS_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.7_project 77.54% <0.00%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.0_project 77.40% <0.00%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.3_project 77.39% <0.00%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.5_project 77.45% <0.00%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.6_project 77.45% <0.00%> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_Ubuntu_6000.7_project 77.45% <0.00%> (-0.01%) ⬇️
inputsystem_Windows_6000.0 5.31% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.0_project 77.61% <100.00%> (+0.04%) ⬆️
inputsystem_Windows_6000.3 5.31% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.3_project 77.61% <100.00%> (+0.04%) ⬆️
inputsystem_Windows_6000.5 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.5_project 77.67% <100.00%> (+0.04%) ⬆️
inputsystem_Windows_6000.6 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.6_project 77.67% <100.00%> (+0.04%) ⬆️
inputsystem_Windows_6000.7 5.30% <ø> (-0.01%) ⬇️
inputsystem_Windows_6000.7_project 77.67% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...putSystem/DocumentationBasedAPIVerficationTests.cs 50.21% <100.00%> (-1.79%) ⬇️
...y.inputsystem/InputSystem/Runtime/InputSettings.cs 81.39% <ø> (ø)
...ity.inputsystem/InputSystem/Runtime/InputSystem.cs 82.14% <ø> (ø)
...putSystem/Runtime/Plugins/Steam/SteamController.cs 100.00% <ø> (ø)

... and 2 files with indirect coverage changes

ℹ️ Need help interpreting these results?

@jfreire-unity jfreire-unity left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks like it upgrades the PMDT but CI still fails, so we should circle back to the docs engineering team and let us know it's not fixing the problem.

Also, have you tried locally if this change generates the documentation?

Comment thread Tools/CI/Settings/InputSystemSettings.cs Outdated
@ritamerkl
ritamerkl requested a review from jfreire-unity August 4, 2026 11:19
Comment thread Assets/Tests/InputSystem/DocumentationBasedAPIVerficationTests.cs Outdated
@jfreire-unity

Copy link
Copy Markdown
Collaborator

/review

@u-pr u-pr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Harness Review

LGTM

The generated test recipes are now synchronized with the updated tooling commands, but the Wrench package registration introduces a broken package-pack target.

P2

Registering com.unity.package-manager-doctools as a Wrench package also generates package_pack_-_package-manager-doctools, whose only pack command targets Packages/com.unity.package-manager-doctools. That directory is not present in this checkout—the test recipes create it only in their own CI jobs via git clone—so invoking this newly published Yamato package-pack job fails immediately on a nonexistent path. Either omit the transient doctools clone from Wrench's package list or add a clone/setup command to the generated pack job.

Reviewed commit cd2618c

🤖 Helpful? 👍/👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants