Skip to content

Commit c8f9de1

Browse files
authored
Fix warning from sphinxDocs about missing _static directory. (#3283)
I was seeing in the release: ``` > Task :sphinxDocs 2025-03-28T19:10:22.0800951Z Running Sphinx v8.1.3 2025-03-28T19:10:22.0802497Z loading translations [en]... done 2025-03-28T19:10:22.0812351Z WARNING: html_static_path entry '_static' does not exist ``` I tried running: ``` ./gradlew clean documentationSite -PreleaseBuild=true --warning-mode=all ``` locally after this change, and it did not appear to have that warning, but it did when run without this change.
1 parent b2a2c0e commit c8f9de1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gradle/sphinx.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ task sphinxDocs(type: Exec) {
111111
dependsOn sphinxEnv
112112
dependsOn generateRailroadDiagrams
113113
dependsOn createSphinxApiPlaceholders
114+
mkdir "${sphinxRoot}/source/_static"
114115
commandLine "${venvDir}/bin/sphinx-build", '-M', 'html', "${sphinxRoot}/source", sphinxBuildDir
115116
}
116117

0 commit comments

Comments
 (0)