Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
43b2910f
Commit
43b2910f
authored
9 years ago
by
Nathaniel Manista
Browse files
Options
Downloads
Plain Diff
Merge pull request #3315 from soltanmm/release
Fix Python docgen.
parents
83631772
38fc0bb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/python/grpcio/commands.py
+1
-1
1 addition, 1 deletion
src/python/grpcio/commands.py
tools/distrib/python/docgen.py
+1
-1
1 addition, 1 deletion
tools/distrib/python/docgen.py
with
2 additions
and
2 deletions
src/python/grpcio/commands.py
+
1
−
1
View file @
43b2910f
...
@@ -64,7 +64,7 @@ class SphinxDocumentation(setuptools.Command):
...
@@ -64,7 +64,7 @@ class SphinxDocumentation(setuptools.Command):
import
sphinx.apidoc
import
sphinx.apidoc
metadata
=
self
.
distribution
.
metadata
metadata
=
self
.
distribution
.
metadata
src_dir
=
os
.
path
.
join
(
src_dir
=
os
.
path
.
join
(
os
.
getcwd
(),
self
.
distribution
.
package_dir
[
'
grpc
'
]
)
os
.
getcwd
(),
self
.
distribution
.
package_dir
[
''
],
'
grpc
'
)
sys
.
path
.
append
(
src_dir
)
sys
.
path
.
append
(
src_dir
)
sphinx
.
apidoc
.
main
([
sphinx
.
apidoc
.
main
([
''
,
'
--force
'
,
'
--full
'
,
'
-H
'
,
metadata
.
name
,
'
-A
'
,
metadata
.
author
,
''
,
'
--force
'
,
'
--full
'
,
'
-H
'
,
metadata
.
name
,
'
-A
'
,
metadata
.
author
,
...
...
This diff is collapsed.
Click to expand it.
tools/distrib/python/docgen.py
+
1
−
1
View file @
43b2910f
...
@@ -81,7 +81,7 @@ if args.submit:
...
@@ -81,7 +81,7 @@ if args.submit:
assert
args
.
doc_branch
assert
args
.
doc_branch
github_user
=
args
.
gh_user
github_user
=
args
.
gh_user
github_repository_owner
=
(
github_repository_owner
=
(
args
.
gh_repo_owner
if
args
.
gh_repo_owner
else
gh_user
)
args
.
gh_repo_owner
if
args
.
gh_repo_owner
else
args
.
gh_user
)
# Create a temporary directory out of tree, checkout gh-pages from the
# Create a temporary directory out of tree, checkout gh-pages from the
# specified repository, edit it, and push it. It's up to the user to then go
# specified repository, edit it, and push it. It's up to the user to then go
# onto GitHub and make a PR against grpc/grpc:gh-pages.
# onto GitHub and make a PR against grpc/grpc:gh-pages.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment