@@ -159,13 +159,13 @@ def cover(session):
159
159
session .run ("coverage" , "erase" )
160
160
161
161
162
- @nox .session (python = "3.7 " )
162
+ @nox .session (python = "3.8 " )
163
163
def docs (session ):
164
164
"""Build the docs for this library."""
165
165
166
166
session .install ("." , "grpcio >= 1.8.2" , "grpcio-gcp >= 0.2.2" )
167
167
session .install ("-e" , "." )
168
- session .install ("sphinx < 3.0 " , "alabaster" , "recommonmark" )
168
+ session .install ("sphinx==4.0.1 " , "alabaster" , "recommonmark" )
169
169
170
170
shutil .rmtree (os .path .join ("docs" , "_build" ), ignore_errors = True )
171
171
session .run (
@@ -182,14 +182,14 @@ def docs(session):
182
182
)
183
183
184
184
185
- @nox .session (python = "3.7 " )
185
+ @nox .session (python = "3.8 " )
186
186
def docfx (session ):
187
187
"""Build the docfx yaml files for this library."""
188
188
189
189
session .install ("-e" , "." )
190
- # sphinx-docfx-yaml supports up to sphinx version 1.5.5.
191
- # https://github.com/docascode/ sphinx-docfx-yaml/issues/97
192
- session . install ( "sphinx==1.5.5" , "alabaster" , "recommonmark" , "sphinx-docfx-yaml" )
190
+ session . install (
191
+ "sphinx==4.0.1" , "alabaster" , "recommonmark" , "gcp- sphinx-docfx-yaml"
192
+ )
193
193
194
194
shutil .rmtree (os .path .join ("docs" , "_build" ), ignore_errors = True )
195
195
session .run (
0 commit comments