Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
964ab956
Unverified
Commit
964ab956
authored
Jul 10, 2020
by
Yannick Jadoul
Committed by
GitHub
Jul 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DeprecationWarning about 'invalid escape sequence' in tools/docs Python scripts (#2281)
parent
f980d76d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docs/conf.py
+1
-1
tools/mkdoc.py
+2
-2
No files found.
docs/conf.py
View file @
964ab956
...
...
@@ -238,7 +238,7 @@ latex_elements = {
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
'preamble'
:
'
\
DeclareUnicodeCharacter{00A0}{}'
,
'preamble'
:
r
'\DeclareUnicodeCharacter{00A0}{}'
,
# Latex figure (float) alignment
#'figure_align': 'htbp',
...
...
tools/mkdoc.py
View file @
964ab956
...
...
@@ -106,8 +106,8 @@ def process_comment(comment):
result
=
result2
# Doxygen tags
cpp_group
=
'([
\
w:]+)'
param_group
=
'([
\
[
\
w:
\
]]+)'
cpp_group
=
r
'([\w:]+)'
param_group
=
r
'([\[\w:\]]+)'
s
=
result
s
=
re
.
sub
(
r'\\c\s+
%
s'
%
cpp_group
,
r'``\1``'
,
s
)
...
...
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