Skip to content

Commit 8e6f011

Browse files
authored
build: fix docs build for google-apps-script-type (googleapis#11971)
Fixes googleapis#11917 🦕
1 parent 0f19497 commit 8e6f011

4 files changed

Lines changed: 80 additions & 2 deletions

File tree

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
1+
.. include:: README.rst
2+
3+
.. include:: multiprocessing.rst
4+
15
API Reference
26
-------------
37
.. toctree::
48
:maxdepth: 2
59

6-
type/services
7-
type/types
10+
calendar/services_
11+
calendar/types_
12+
docs/services_
13+
docs/types_
14+
drive/services_
15+
drive/types_
16+
gmail/services_
17+
gmail/types_
18+
sheets/services_
19+
sheets/types_
20+
slides/services_
21+
slides/types_
22+
type/services_
23+
type/types_
24+
25+
26+
Changelog
27+
---------
28+
29+
For a list of all ``google-apps-script-type`` releases:
30+
31+
.. toctree::
32+
:maxdepth: 2
33+
34+
CHANGELOG

packages/google-apps-script-type/noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929

3030
BLACK_VERSION = "black[jupyter]==23.7.0"
3131
ISORT_VERSION = "isort==5.11.0"
32+
3233
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3334

35+
3436
DEFAULT_PYTHON_VERSION = "3.9"
3537

3638
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
@@ -89,6 +91,7 @@ def lint(session):
8991
"--check",
9092
*LINT_PATHS,
9193
)
94+
9295
session.run("flake8", "google", "tests")
9396

9497

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml

scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,50 @@ replacements:
8282
8383
CHANGELOG
8484
count: 1
85+
- paths: [
86+
packages/google-apps-script-type/docs/index.rst
87+
]
88+
before: |
89+
API Reference
90+
-------------
91+
.. toctree::
92+
:maxdepth: 2
93+
94+
type/services
95+
type/types
96+
after: |
97+
.. include:: README.rst
98+
99+
.. include:: multiprocessing.rst
100+
101+
API Reference
102+
-------------
103+
.. toctree::
104+
:maxdepth: 2
105+
106+
calendar/services_
107+
calendar/types_
108+
docs/services_
109+
docs/types_
110+
drive/services_
111+
drive/types_
112+
gmail/services_
113+
gmail/types_
114+
sheets/services_
115+
sheets/types_
116+
slides/services_
117+
slides/types_
118+
type/services_
119+
type/types_
120+
121+
122+
Changelog
123+
---------
124+
125+
For a list of all ``google-apps-script-type`` releases:
126+
127+
.. toctree::
128+
:maxdepth: 2
129+
130+
CHANGELOG
131+
count: 1

0 commit comments

Comments
 (0)