Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
7a64b8ad
Unverified
Commit
7a64b8ad
authored
Jul 12, 2021
by
Henry Schreiner
Committed by
GitHub
Jul 12, 2021
Browse files
docs: fix script issues for changelog compilation (#3100)
[skip ci]
parent
0f4761b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tools/make_changelog.py
tools/make_changelog.py
+5
-2
No files found.
tools/make_changelog.py
View file @
7a64b8ad
...
@@ -27,7 +27,10 @@ print()
...
@@ -27,7 +27,10 @@ print()
api
=
ghapi
.
all
.
GhApi
(
owner
=
"pybind"
,
repo
=
"pybind11"
)
api
=
ghapi
.
all
.
GhApi
(
owner
=
"pybind"
,
repo
=
"pybind11"
)
issues
=
api
.
issues
.
list_for_repo
(
labels
=
"needs changelog"
,
state
=
"closed"
)
issues_pages
=
ghapi
.
page
.
paged
(
api
.
issues
.
list_for_repo
,
labels
=
"needs changelog"
,
state
=
"closed"
)
issues
=
(
issue
for
page
in
issues_pages
for
issue
in
page
)
missing
=
[]
missing
=
[]
for
issue
in
issues
:
for
issue
in
issues
:
...
@@ -41,7 +44,7 @@ for issue in issues:
...
@@ -41,7 +44,7 @@ for issue in issues:
msg
+=
f
"
\n
`#
{
issue
.
number
}
<
{
issue
.
html_url
}
>`_"
msg
+=
f
"
\n
`#
{
issue
.
number
}
<
{
issue
.
html_url
}
>`_"
print
(
Syntax
(
msg
,
"rst"
,
theme
=
"ansi_light"
))
print
(
Syntax
(
msg
,
"rst"
,
theme
=
"ansi_light"
,
word_wrap
=
True
))
print
()
print
()
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment