Skip to content

Commit

Permalink
chore: pin to older sphinx (#40)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/e93a3b66-0b9d-4731-8049-5d33389af1dc/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@cd522c3
  • Loading branch information
yoshi-automation authored Jun 25, 2020
1 parent d07d55c commit 29a7e16
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-monitoring/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# autodoc/autosummary flags
autoclass_content = "both"
autodoc_default_flags = ["members"]
autodoc_default_options = {"members": True}
autosummary_generate = True


Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/google-cloud-monitoring/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def docs(session):
"""Build the docs for this library."""

session.install("-e", ".")
session.install("sphinx<3.0", "alabaster", "recommonmark")
session.install("sphinx<3.0.0", "alabaster", "recommonmark")

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-monitoring/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-monitoring.git",
"sha": "4f8096b746b56dbd5fe627a8171c6ea559c92a26"
"sha": "e45865745551f720d46e4f15e3da4e293c99f130"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "4e1d2cb79b02d7496b1452f91c518630c207145e"
"sha": "cd522c3b4dde821766d95c80ae5aeb43d7a41170"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-monitoring/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
s.move(templated_files)

# TODO(busunkim): Use latest sphinx after microgenerator transition
s.replace("noxfile.py", '"sphinx"', '"sphinx<3.0.0"')
s.replace("noxfile.py", """['"]sphinx['"]""", '"sphinx<3.0.0"')


s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit 29a7e16

Please sign in to comment.