File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ _TARGET_COMPATIBLE_WITH = select({
3636    "@platforms//os:linux" : [],
3737    "@platforms//os:macos" : [],
3838    "//conditions:default" : ["@platforms//:incompatible" ],
39- }) if  IS_BAZEL_7_OR_HIGHER  else  ["@platforms//:incompatible" ]
39+ }) if  BZLMOD_ENABLED  else  ["@platforms//:incompatible" ]
4040
4141# See README.md for instructions. Short version: 
4242# * `bazel run //docs:docs.serve` in a separate terminal 
Original file line number Diff line number Diff line change 1- load ("//python/private:util .bzl" , "IS_BAZEL_7_OR_HIGHER " )  # buildifier: disable=bzl-visibility 
1+ load ("//python/private:bzlmod_enabled .bzl" , "BZLMOD_ENABLED " )  # buildifier: disable=bzl-visibility 
22load ("//sphinxdocs:sphinx_docs_library.bzl" , "sphinx_docs_library" )
33load ("//sphinxdocs:sphinx_stardoc.bzl" , "sphinx_stardocs" )
44
@@ -14,7 +14,7 @@ _TARGET_COMPATIBLE_WITH = select({
1414    "@platforms//os:linux" : [],
1515    "@platforms//os:macos" : [],
1616    "//conditions:default" : ["@platforms//:incompatible" ],
17- }) if  IS_BAZEL_7_OR_HIGHER  else  ["@platforms//:incompatible" ]
17+ }) if  BZLMOD_ENABLED  else  ["@platforms//:incompatible" ]
1818
1919sphinx_docs_library (
2020    name  =  "docs_lib" ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments