Commit d0315d9
authored
fix: Temporary custom docfx build (#509)
* test: action.yml - Update workflow to build and install DocFX from fork
Switch workflow to use VaclavElias/docfx temp-fix branch for DocFX. Add steps to restore npm dependencies, build site templates, add nightly NuGet source, and build/install DocFX 2.9-stride locally. Retain previous DocFX install steps as comments for reference.
* fix: action.yml - Set shell to pwsh for npm and NuGet steps in workflow
Added shell: pwsh to npm install, npm build, and NuGet source steps to ensure these actions run with PowerShell in the workflow. This improves consistency and compatibility across the build process.
* test: action.yml - Add MSBuild SDK resolver step to GitHub Actions workflow
Introduced a PowerShell step after .NET SDK setup to set DOTNET_ROOT and MSBuildSDKsPath environment variables. The step outputs their values and ensures MSBuildSDKsPath exists, improving environment configuration for subsequent workflow steps.
* test: Set MSBuildEnableWorkloadResolver in action.yml
- Add MSBuildEnableWorkloadResolver=false to GitHub Actions env
- Output the variable to logs for visibility
- Disables MSBuild workload resolver during workflow execution
* docs: docfx.json - Enable C# preview features for docs
- Added "LangVersion": "preview" to Stride.BepuPhysics and Stride.Physics project configurations
- Allows use of C# preview language features in documentation generation
* test: Some projects removed
* fix: Comma removed
* docs: docfx.json - Add more projects to metadata config
- Add multiple Stride engine and core projects to the files array
- Add asset and physics projects with net10.0-windows7.0 target
- Update metadata structure for improved documentation coverage
* feat: action.yml - Add Prebuild Stride step to workflow
- Add "Prebuild Stride" step to run dotnet build on build\Stride.sln
- Set configuration to Release and working directory to stride
- Use PowerShell as the shell for the build step
* docs: docfx.json - Update target framework and noRestore
- Set noRestore to true to disable package restore
* docs: docfx.json - Allow compilation errors in build
- Set allowCompilationErrors to true in docfx.json
- Enables documentation build even if code samples have errors
- Useful for illustrative or incomplete code snippets
* test: Add step Install MSVC ARM64/ARM64EC build tools
* feat: Add stride-branch input and update action versions
- Add stride-branch input to action.yml and stride-docs-test-build.yml
- Use stride-branch input in checkout step instead of hardcoded master
- Update step names in action.yml for clarity (- Temporary)
- Upgrade upload-artifact to v7 in stride-docs-staging-azure.yml
- Upgrade download-artifact to v8 in stride-docs-staging-azure.yml
- Pass stride-branch input to setup-stride in stride-docs-test-build.yml
* docs: Improve CI workflows and add composite setup action
- Add NuGet dependency caching in action.yml for faster builds
- Comment out MSBuild SDK resolver and MSVC ARM64 tool steps in action.yml
- Update stride-docs-test-build.yml to use windows-2025-vs2026 runner
- Introduce action-backup.yml composite action for unified setup
- Centralize .NET, repo checkout, and DocFX install steps
- Add options to skip PDF or API building in the new action
* docs: Update DocFX workflow, add release-candidate action
- Comment out custom DocFX build/install in action.yml
- Revert to installing DocFX 2.78.5 via dotnet tool update
- Add action-release-candidate.yml composite action
- New action sets up .NET, checks out Stride/DocFX, builds DocFX
- Supports skipping PDF/API build, adds dependency caching and template build
* feat: action.yml - Enable custom DocFX build workflow
- Uncomment steps to checkout, build, and install DocFX from source
- Use a specific branch of the DocFX repository for builds
- Restore npm dependencies and build site templates
- Add nightly NuGet source for dependencies
- Comment out installation of prebuilt DocFX version 2.78.5
- Ensure workflow uses custom-built DocFX instead of release
* chore: stride-docs-test-build.yml - Add permissions block
- Add permissions block with contents: read to workflow file
- No other changes to build job or configuration
* feat: stride-docs-github.yml - Add stride-branch input, update runner
- Add stride-branch input to allow branch selection (default 'master')
- Change build runner to windows-2025-vs2026
- Pass stride-branch to setup-stride action
- Update upload-pages-artifact to v5
* ci: Update workflows for new setup and config options
- Add workflow_dispatch inputs for PDF/API skipping and branch selection
- Switch build environment to windows-2025-vs2026
- Consolidate setup/checkout into custom setup-stride action
- Remove legacy steps and manual DocFX install
- Update artifact handling to upload built site directory
- Improve CI configurability and maintainability
* refactor: Remove Setup Stride composite action steps
- Remove inputs and runs sections from action-backup.yml
- Remove inputs and runs sections from action-release-candidate.yml
- Eliminate reusable Setup Stride composite action and all related steps
* docfx.json - Enforce restore and compilation checks
- Set noRestore to false to enable package restore
- Set allowCompilationErrors to false to require successful compilation
* chore: docfx.json - Remove LangVersion: preview properties
- Remove "LangVersion": "preview" from Stride.BepuPhysics and Stride.Physics project properties
- Projects will no longer use C# preview features for docs generation1 parent 2504f67 commit d0315d9
5 files changed
Lines changed: 180 additions & 178 deletions
File tree
- .github
- actions/setup-stride
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
26 | 49 | | |
27 | 50 | | |
28 | 51 | | |
| |||
38 | 61 | | |
39 | 62 | | |
40 | 63 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
65 | 95 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
69 | 129 | | |
70 | | - | |
71 | 130 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
77 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
78 | 148 | | |
79 | 149 | | |
80 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | | - | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | | - | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
23 | 42 | | |
24 | 43 | | |
25 | 44 | | |
26 | 45 | | |
27 | 46 | | |
28 | | - | |
| 47 | + | |
29 | 48 | | |
30 | 49 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
109 | 65 | | |
110 | 66 | | |
111 | | - | |
| 67 | + | |
112 | 68 | | |
113 | 69 | | |
114 | | - | |
| 70 | + | |
115 | 71 | | |
116 | 72 | | |
117 | 73 | | |
118 | | - | |
| 74 | + | |
119 | 75 | | |
120 | 76 | | |
121 | 77 | | |
| |||
124 | 80 | | |
125 | 81 | | |
126 | 82 | | |
127 | | - | |
| 83 | + | |
128 | 84 | | |
129 | 85 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 86 | + | |
136 | 87 | | |
137 | 88 | | |
138 | 89 | | |
| |||
141 | 92 | | |
142 | 93 | | |
143 | 94 | | |
144 | | - | |
| 95 | + | |
0 commit comments